{"id":"MAL-2026-10212","summary":"Malicious code in vuln-package (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a8bd105bf3b12062f312b41f2a1eead5e8481f8d3749fc78bc79ed8675c11394)\nOn npm install, the package's preinstall script triggers a DNS lookup to a unique subdomain of oast.fun (fabekzbnjtufpffkzzmvjvi5eafhny3ok.oast.fun), an out-of-band interaction service, confirming code execution on the installer's machine to a third-party collector. A sibling file indexCopy.js collects host identifiers (os.userInfo().username, os.hostname(), process.cwd(), and process.env references) and issues an https.request POST to a hardcoded webhook.site endpoint (https://webhook.site/cde465c1-3853-40ea-880c-fdca6fe508cc). The combination of an OOB DNS beacon at install time and a staged HTTPS exfiltration payload targeting installer host identifiers is characteristic of a supply-chain reconnaissance/exfiltration attack rather than any legitimate package behavior.\n","modified":"2026-07-12T21:31:53.178295953Z","published":"2026-07-12T20:57:24Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-009772","import_time":"2026-07-12T21:20:01.801031441Z","modified_time":"2026-07-12T20:57:51Z","sha256":"06af9ab71bf0ad37fd3f56b2f80f4eb81eed1cac671e59e63d2c2c09570d6df7","source":"amazon-inspector","versions":["99.9.11"]},{"source":"amazon-inspector","versions":["99.9.14"],"id":"IN-MAL-2026-009770","import_time":"2026-07-12T21:20:01.700223715Z","modified_time":"2026-07-12T20:57:33Z","sha256":"a8bd105bf3b12062f312b41f2a1eead5e8481f8d3749fc78bc79ed8675c11394"},{"modified_time":"2026-07-12T20:57:24Z","sha256":"cebe00f077147fe571b1fcee6ec9b2b057bcf609686e92a14ad060145b2fce3d","source":"amazon-inspector","versions":["99.9.9"],"id":"IN-MAL-2026-009769","import_time":"2026-07-12T21:20:01.667107277Z"},{"sha256":"23c4656f79e1b726cb17dfec791f278af6b9aa41b5c6215c8a0e8c8d8179feb7","source":"amazon-inspector","versions":["99.9.10"],"id":"IN-MAL-2026-009771","import_time":"2026-07-12T21:20:01.72985435Z","modified_time":"2026-07-12T20:57:44Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/vuln-package/v/99.9.11"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/vuln-package/v/99.9.14"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/vuln-package/v/99.9.9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/vuln-package/v/99.9.10"}],"affected":[{"package":{"name":"vuln-package","ecosystem":"npm","purl":"pkg:npm/vuln-package"},"versions":["99.9.11","99.9.14","99.9.9","99.9.10"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"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":"23638de3097bf73777e2fc31a25427c6ac7535ad01ba52634a0659aa96acddc2","tlsh":"04f0d3f085b246604ff961d0a448ec0e2363e101b84f5850e5d8436d5fc5be41cf3dd5"}],"package_integrity":[{"filename":"vuln-package-99.9.11.tgz","hashes":{"sha512_sri":"sha512-UX0zjGKLhnBTAv0EoZwq763/D0SMcIvBHGSgtdxp2+iOZfSZ1oK7Cz7tvMg2HugCW0+G1syAvmzqJMTiOG+3wA==","sha1":"d57fbd47febfd257ba3ca2151889a00d2482223b"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/vuln-package/MAL-2026-10212.json"}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}