# GHSA-QVR6-FH5R-Q4RJ: Malicious code in playwright-config (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-18
- Modified: 2026-11-18

## Affected versions

- playwright-config (npm): 20.20.20

## Description

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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/750998ca1156ba3ee4d2ce4d9f312738ae69d8b3/osv/malicious/npm/playwright-config/MAL-2026-20111.json))

## References

- https://github.com/ossf/malicious-packages/blob/750998ca1156ba3ee4d2ce4d9f312738ae69d8b3/osv/malicious/npm/playwright-config/MAL-2026-20111.json
- https://wormsign.io/portfolio/playwright-config
- https://github.com/advisories/GHSA-qvr6-fh5r-q4rj

Page: https://cve.now/GHSA-QVR6-FH5R-Q4RJ

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
