{"id":"MAL-2026-17190","summary":"Malicious code in cma-self-hosted-sandbox-cf (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d91a7568b717361d5b3727d46e8bf567fc038f95c5fa22c5222a272460bb9f35)\npackage.json declares a preinstall hook that runs index.js on npm install. index.js collects the machine's hostname, current user info, home directory, configured DNS servers, and the contents of /etc/passwd and /etc/hosts, then HTTPS POSTs the JSON payload to the hardcoded Burp Collaborator subdomain 49bl3t5yt786ymbtth24nnlbs2ytmka9.oastify.com. The behavior fires automatically on install with no user interaction, the destination is an attacker-controlled out-of-band interaction host unrelated to any legitimate package function, and the collected data comprises installer-side system identifiers and local account/host files. This is a dependency-confusion/recon exfiltration payload with no other functionality present in the package.\n","modified":"2026-09-26T15:30:06.073405761Z","published":"2026-09-26T15:13:31Z","database_specific":{"malicious-packages-origins":[{"sha256":"d91a7568b717361d5b3727d46e8bf567fc038f95c5fa22c5222a272460bb9f35","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-020562","import_time":"2026-09-26T15:16:15.725067117Z","modified_time":"2026-09-26T15:13:31Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/cma-self-hosted-sandbox-cf/v/1.0.0"}],"affected":[{"package":{"name":"cma-self-hosted-sandbox-cf","ecosystem":"npm","purl":"pkg:npm/cma-self-hosted-sandbox-cf"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cma-self-hosted-sandbox-cf/MAL-2026-17190.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"sha256":"fa43f4bd7d96ea8586808a750372d218b48a3a0bf0943f1310cf296b77e52305","tlsh":"bb41259562c917330de214c0660c70852399f9777259a9d076cf4296af869f8bb316f3","path":"index.js"}],"package_integrity":[{"filename":"cma-self-hosted-sandbox-cf-1.0.0.tgz","hashes":{"sha512_sri":"sha512-qRbU3aMPgajHHxrME++GmSoMK2L8vXsmvNTve0OHPFOLT9dKoIZoNT22w6Q2W/jAJwG5IgCzGO61AxTzXzkaQg==","sha1":"83157fa69aa97b8d23922b3c72d352429c142f10"}}]}}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}