{"id":"MAL-2026-17510","summary":"Malicious code in internallib_v275 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (80c1c6d383b3defb01da235e39e08ce56276d887e63d900aea2ee689836f71b4)\nindex.js exports a `command` function that invokes `/bin/bash -c` to curl a reverse-shell payload from reverse-shell.sh targeting the hardcoded host 10.0.49.106:443 and pipes the response to `sh`, yielding interactive remote shell access on the installer host whenever the exported API is called. The fetch-and-execute path has no pinning, no hash verification, and runs over an unauthenticated network retrieval. package.json also declares a self-referential dependency on `internallib_v275@^1.0.0`, a dependency-confusion shape consistent with a package targeting an internal registry namespace so that resolution against the public registry pulls this backdoor into internal builds.\n","modified":"2026-10-04T23:45:18.003850044Z","published":"2026-10-04T23:27:48Z","database_specific":{"malicious-packages-origins":[{"sha256":"80c1c6d383b3defb01da235e39e08ce56276d887e63d900aea2ee689836f71b4","source":"amazon-inspector","versions":["1.0.3"],"id":"IN-MAL-2026-020969","import_time":"2026-10-04T23:40:46.945774819Z","modified_time":"2026-10-04T23:27:48Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/internallib_v275/v/1.0.3"}],"affected":[{"package":{"name":"internallib_v275","ecosystem":"npm","purl":"pkg:npm/internallib_v275"},"versions":["1.0.3"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/internallib_v275/MAL-2026-17510.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"359d2ba4641af6b23fa4f22d18bb06217eb0eb9edaff667bd55b0b72887f2a56","tlsh":"c3d022aa06a010bdab4021e0de02f0a6a8178ca026b880f0d5484387008295e325f8ee"},{"tlsh":"eed05e3059625db351c5136a2cb98457b2a18e2f4456bc0857cb592c41cf6f7a8fd39c","path":"package.json","sha256":"3567efa24db20b2392139a22ebf45e9cd276ba806fc24c6d9bf3121bea769ae9"}],"package_integrity":[{"filename":"internallib_v275-1.0.3.tgz","hashes":{"sha1":"13a87a1beebc125d1c95ef4d50b6e35031b7c348","sha512_sri":"sha512-8Y0dwhVAxi+jxajFknlNViZ317Fabtt8u3l96Cr9kZ+540IbxUpjoVbVl4DcF1rce6OfVhViEl0qG0feASNRqw=="}}]}}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}