{"id":"MAL-2026-12356","summary":"Malicious code in content-publisher-sdks (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c3faac0139a1c2fd25d8b955e9290380bec365a1d3034fb793dfa723cb930463)\npackage.json declares a preinstall hook that runs index.js on npm install. The script collects host reconnaissance (os.hostname(), os.userInfo(), homedir, DNS server list, current working directory, package.json contents) and reads /etc/passwd and /etc/hosts from the installer's filesystem, then POSTs the aggregated JSON over HTTPS to the hardcoded Burp Collaborator subdomain ie02j5ztgjeb6i7tp467ydwnjep8dy1n.oastify.com. The package name mimics a legitimate SDK category but its only behavior on install is this exfiltration beacon.\n","modified":"2026-08-05T13:35:15.066438600Z","published":"2026-08-05T12:59:59Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014841","import_time":"2026-08-05T13:08:50.448393428Z","modified_time":"2026-08-05T12:59:59Z","sha256":"c3faac0139a1c2fd25d8b955e9290380bec365a1d3034fb793dfa723cb930463","source":"amazon-inspector","versions":["1.0.1"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/content-publisher-sdks/v/1.0.1"}],"affected":[{"package":{"name":"content-publisher-sdks","ecosystem":"npm","purl":"pkg:npm/content-publisher-sdks"},"versions":["1.0.1"],"database_specific":{"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":"1b96ba9b515d1e0eb69d3fb28701b2cb05239e190eb1c3f9f95c83c874c5e770","tlsh":"09411395a2d917330de214c06a0c70803359f9767159989076cf42969f869f8b7216f3"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/content-publisher-sdks/MAL-2026-12356.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}