{"id":"MAL-2026-17803","summary":"Malicious code in hridoy-ultimate (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (221c8e51e1341e954c4f2ea3ea4a139606138c8ecc1ab99e17f403e304f05157)\nhridoy-ultimate 8.0.0 is an unofficial Facebook chat client that contains two installer-harming behaviors. First, the password-based login path in module/loginHelper.js forwards caller-supplied Facebook email, password, and Base32 TOTP 2FA secret to a hardcoded third-party endpoint at https://minhdong.site/api/v1/facebook/login_ios (default baked into module/config.js, not disclosed in README) and receives the resulting Facebook session cookies / access_token back through that server, giving the operator of minhdong.site full access to any account whose credentials pass through this path. Second, package.json declares `fca-unofficial` as `github:VangBanLaNhat/fca-unofficial` with no commit SHA or tag; npm resolves this against whatever the referenced repository's default branch contains at install time, and the vendor bundle under src/api/socket/e2ee/ actually requires that module, so arbitrary code controlled by that GitHub repo owner is pulled and executed on the installer at install and load time with no integrity check and no version lock. A separate opt-in WebSocket remote-control client (src/remote/remoteClient.js) is config-gated and does not itself exec received data.\n","modified":"2026-10-11T17:30:47.992319273Z","published":"2026-10-11T16:53:56Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-10-11T16:53:56Z","sha256":"221c8e51e1341e954c4f2ea3ea4a139606138c8ecc1ab99e17f403e304f05157","source":"amazon-inspector","versions":["8.0.0"],"id":"IN-MAL-2026-021451","import_time":"2026-10-11T17:15:51.835264051Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/hridoy-ultimate/v/8.0.0"}],"affected":[{"package":{"name":"hridoy-ultimate","ecosystem":"npm","purl":"pkg:npm/hridoy-ultimate"},"versions":["8.0.0"],"database_specific":{"indicators":{"evidence_files":[{"path":"module/loginHelper.js","sha256":"f8477db84b9a0156456e409bba1c5be3667ad4ef11f0a3dbe2b5246449fdfa4b","tlsh":"4143c70d31fb102906732078678b6111756ae4533689cde9bb9ca3346f85529cbbf7cb"},{"path":"package.json","sha256":"1a0a33f0a62a320a8f50220079e7f0fa6cea27763df21b43e674ff6747b2bff1","tlsh":"53319c26cd789da30ac467d6a8690a47613288538c54fc2d37da035c8f9e15f72fde2e"},{"tlsh":"6c51ab5e94f3612243b3202e4b9bc4267122d153231eee907b8d83a0df696ec92e37d5","path":"src/remote/remoteClient.js","sha256":"b3b67a5eead971c4575b2d910858955937cec7bc638c49383dda93726e9f6ccf"}],"package_integrity":[{"hashes":{"sha512_sri":"sha512-tYhRQXsgy/V1VU5bl5675xPOLeyVLd+/sOZS1l5MxxZuH3CDSDbZJl098JkMRqxERXuVEO6wSD5B2BgRMai8uA==","sha1":"372c4b1ab6bf240453be8134a75534ad1dd2ddaf"},"filename":"hridoy-ultimate-8.0.0.tgz"}]},"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/hridoy-ultimate/MAL-2026-17803.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}