{"id":"MAL-2026-20111","summary":"Malicious code in playwright-config (npm)","details":"Malicious package. A `preinstall` (and `preupdate`) script runs `node index.js`, which reads `/etc/passwd` (and attempts the Windows SAM hive and `C:\\Users`), lists the current working directory, runs `id`/`whoami`, collects the user name, home directory, UID/GID and OS release, and posts it all to a hardcoded Discord webhook (1471187072869073017). The code labels its messages \"Dependency Confusion Executed\" and \"Bug Bounty Execution\", but it runs without consent on any machine that installs it. `index.js` (sha256 fb8451975ead2a956d3d8092eb2868d1ba9135fb6ef30e75941b1454958f75ae) is shared by `canvas_webgl_minimal` and `playwright-config`; the same webhook is used by `google-caja-bower` (MAL-2026-10186). Published 2026-02-23 and unpublished from npm on 2026-02-24.","modified":"2026-11-18T06:00:15.859172663Z","published":"2026-11-16T16:20:00Z","database_specific":{"iocs":{"urls":["https://discord.com/api/webhooks/1471187072869073017"],"files":[{"digests":{"sha256":"fb8451975ead2a956d3d8092eb2868d1ba9135fb6ef30e75941b1454958f75ae"},"paths":["index.js"]}]}},"references":[{"type":"WEB","url":"https://wormsign.io/portfolio/playwright-config/"}],"affected":[{"package":{"name":"playwright-config","ecosystem":"npm","purl":"pkg:npm/playwright-config"},"versions":["20.20.20"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/playwright-config/MAL-2026-20111.json"}}],"schema_version":"1.9.2","credits":[{"name":"wormsign","contact":["https://x.com/w0rmsign"],"type":"FINDER"}]}