{"id":"MAL-2026-20110","summary":"Malicious code in canvas_webgl_minimal (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.809301874Z","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/canvas_webgl_minimal/"}],"affected":[{"package":{"name":"canvas_webgl_minimal","ecosystem":"npm","purl":"pkg:npm/canvas_webgl_minimal"},"versions":["11.11.13"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/canvas_webgl_minimal/MAL-2026-20110.json"}}],"schema_version":"1.9.2","credits":[{"name":"wormsign","contact":["https://x.com/w0rmsign"],"type":"FINDER"}]}