{"id":"MAL-2026-16482","summary":"Malicious code in internallib_v657 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d61ffc921e9432c8176cc16265daf6add48cf90a4f99ec6bbec173e5109673b1)\nindex.js exports a `command()` function that invokes `/bin/bash -c` to curl a reverse-shell payload from reverse-shell.sh targeted at the hardcoded IP 10.0.73.186:443 and pipes it to sh. Any consumer that requires this package and calls the exported function receives a full interactive remote shell to that address, giving the remote party arbitrary command execution on the installer's host. The package has generic naming, empty metadata, and a cover string, and provides no legitimate functionality alongside the backdoor.\n","modified":"2026-09-23T19:00:44.175322303Z","published":"2026-09-23T18:30:45Z","database_specific":{"malicious-packages-origins":[{"sha256":"d61ffc921e9432c8176cc16265daf6add48cf90a4f99ec6bbec173e5109673b1","source":"amazon-inspector","versions":["1.0.1"],"id":"IN-MAL-2026-020497","import_time":"2026-09-23T18:44:13.501332821Z","modified_time":"2026-09-23T18:30:45Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/internallib_v657/v/1.0.1"}],"affected":[{"package":{"name":"internallib_v657","ecosystem":"npm","purl":"pkg:npm/internallib_v657"},"versions":["1.0.1"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"package_integrity":[{"filename":"internallib_v657-1.0.1.tgz","hashes":{"sha1":"6fa4dbfaaf146e570ea0b904c58fe349f77ec310","sha512_sri":"sha512-azfz0tvDIf9o4TaLL4lWKpddSJEnblNAWba3kPKS4UMW8Qc6KXdfU0lXQpstlNHvXNyZSGpqPMUOoDDkmVGezA=="}}],"evidence_files":[{"path":"index.js","sha256":"3babdf5501a4c8405ece5d9ba33257e5458f9e6f58fc2b33a9ed6c7281209f34","tlsh":"a4d022fb16fe1529b70431d0e88af07678234c20223800b091505482258254d22e31ef"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/internallib_v657/MAL-2026-16482.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}