{"id":"MAL-2026-18372","revision":"7adf86e43da945f18cebb04abda0d3b1","records":[{"revision":"7adf86e43da945f18cebb04abda0d3b1","observedAt":"2026-10-29T15:12:22.973+00:00","statement":{"source":"osv","id":"MAL-2026-18372","aliases":[],"title":"Malicious code in @zmtcdn/components (npm)","description":"@zmtcdn/components@9999.0.0 is a dependency-confusion package with an empty `index.js` and a description of \"Security research PoC\". Its postinstall script runs `node postinstall.js` on npm install, which POSTs the hostname, username, platform, working directory and the names of all environment variables to `https://webhook.site/f52af355-4783-4acb-9de1-5e44b5963025`. It was published by the npm account kill_shs, which also published @zmtcdn/ui with the same script.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4941e85e4ee958b955e6eea78ee49fa9fada8bea694bf63927c8ccaf892ecfe2)\nThe package name suggests a scoped @zmtcdn component library but the version 9999.0.0 is a dependency-confusion-shaped pin. On npm install, postinstall.js runs automatically and collects os.hostname(), os.platform(), os.userInfo().username, process.cwd(), the full list of process.env key names via Object.keys(process.env), and a timestamp, then POSTs the JSON payload via https.request to the hardcoded anonymous collector https://webhook.site/f52af355-4783-4acb-9de1-5e44b5963025. Enumerating environment variable names leaks the identity of CI/secret variables present on the installer host (e.g., AWS_*, NPM_TOKEN, GITHUB_TOKEN), which is reconnaissance against the installer and typically precedes a follow-on credential-theft stage. The destination is a third-party request-logging service, not infrastructure of the apparent @zmtcdn scope.\n","state":0,"publishedAt":"2026-10-28T09:59:37+00:00","modifiedAt":"2026-10-29T14:30:31.403221+00:00","affected":[{"ecosystem":"npm","name":"@zmtcdn/components","ranges":[],"versions":["9999.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@zmtcdn/components","https://www.npmjs.com/package/@zmtcdn/components/v/9999.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-18372","license":"OSV · upstream source license applies","key":"osv:MAL-2026-18372","identifiers":["MAL-2026-18372"]},"retained":false,"historicalAffected":[]}],"coverage":[]}