{"id":"MAL-2026-17328","summary":"Malicious code in fca-raihan (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (241006adda5ea773d76d48d874c80a4054215ed18f05de3e392cdd86c0379785)\npackage.json for fca-raihan declares a dependency whose key equals the package's own name (`fca-raihan`) with source `github:raihan9099/fca-raihan`. This is an off-registry dependency source with no ref pin and no integrity check: on `npm install`, npm fetches the current HEAD of that GitHub repository and installs whatever tree it returns, running any lifecycle scripts contained in the fetched code. Whoever controls the repository can change what gets installed at any time, independently of what is published to the npm registry, and the self-named dependency-confusion shape (dependency key equal to the package's own name) causes this source to be resolved during normal installs of fca-raihan. Additional patterns observed in the shipped source include Buffer.from(..., 'base64') decoding in messaging/e2ee modules and `ping` string occurrences in a bundled Facebook e2ee vendor file; these are consistent with the package's advertised messaging/E2EE functionality and are not by themselves indicative of installer harm, but they are not analyzable independently of whatever the mutable GitHub source resolves to at install time.\n","modified":"2026-09-30T05:30:05.337893815Z","published":"2026-09-30T04:51:09Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-09-30T04:51:17Z","sha256":"241006adda5ea773d76d48d874c80a4054215ed18f05de3e392cdd86c0379785","source":"amazon-inspector","versions":["37.2.5"],"id":"IN-MAL-2026-020813","import_time":"2026-09-30T05:19:46.160939416Z"},{"sha256":"494cb4219cc1710e95b58ab6210611d8206bb269d57d34c9bf0883d2e64c4a1d","source":"amazon-inspector","versions":["37.2.6"],"id":"IN-MAL-2026-020812","import_time":"2026-09-30T05:19:46.062940061Z","modified_time":"2026-09-30T04:51:09Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/fca-raihan/v/37.2.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/fca-raihan/v/37.2.6"}],"affected":[{"package":{"name":"fca-raihan","ecosystem":"npm","purl":"pkg:npm/fca-raihan"},"versions":["37.2.5","37.2.6"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/fca-raihan/MAL-2026-17328.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"5eccfe921d8d8492000941a2358046175ce6988937e4b8db966fd8d1bb99d5fd","tlsh":"ca514527ce689da30bb4a6d6e8380786f2225b1f41518c1f71ba531c4fb25670699f2a"}],"package_integrity":[{"hashes":{"sha512_sri":"sha512-8IGCUfIXobkMDSk/tlEanE5tQtebImQHdJ6aNI8cT4b7wjzqbFH81GrB/wMCBOb4h0onwacveAJxpElHnwfzcA==","sha1":"b97d8a79d015e0e4ef3a41628b5aff1aca645035"},"filename":"fca-raihan-37.2.5.tgz"}]}}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}