Skip to main content
MalwarePublished

playwrightr (PyPI) · Malicious Code

Affects playwrightrSource GCVE Database

0

Malicious package : remove playwrightr and rotate any secrets on hosts that installed it.

Data as of 10 Jul 2026, 10:07 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-10020

What to do

Remove playwrightr from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
PyPIplaywrightrAffected
  • =1.0.0
  • =1.0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The 'playwrightr' PyPI package is a malicious package impersonating the legitimate 'playwright' package with a one-character difference in its name. On Windows, its setup.py overrides the install command to download and execute a remote binary from a suspicious domain, bypassing security features like Mark-of-the-Web and SmartScreen. The downloaded executable runs hidden and has been observed to download additional executables and start cryptocurrency mining. The package's only legitimate-looking functionality is a stub unrelated to its name, confirming its sole purpose is malicious. Versions 1.0.0 and 1.0.1 are affected.

References

Community reviews

Loading reviews…