playwright-config
Affected
- Versions:
20.20.20
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in playwright-config (npm)
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.
Not rated by the source.
20.20.20None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0