MAL-2026-20111

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/playwright-config/MAL-2026-20111.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20111
Published
2026-11-16T16:20:00Z
Modified
2026-11-18T06:00:15Z
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.

Database specific
{
    "iocs":  {
        "files":  [
            {
                "digests":  {
                    "sha256":  "fb8451975ead2a956d3d8092eb2868d1ba9135fb6ef30e75941b1454958f75ae"
                },
                "paths":  [
                    "index.js"
                ]
            }
        ],
        "urls":  [
            "https://discord.com/api/webhooks/1471187072869073017"
        ]
    }
}
References
Credits

Affected packages

npm / playwright-config

Package

Name
playwright-config
View open source insights on deps.dev
Purl
pkg:npm/playwright-config

Affected ranges

Affected versions

20.*
20.20.20

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/playwright-config/MAL-2026-20111.json"