pearlrunner cryptominer: malicious PyPI package plants cryptominer via setup.py install hook
Severity: critical · Patch status: no-fix-needed · Since 2026-12-06
The PyPI package pearlrunner version 0.1.0 is confirmed malware, published to the GitHub Advisory Database on 2026-12-06 as part of the 2026-12-pearlrunner campaign. The package overrides the install command in setup.py so that malicious code runs automatically during pip install, downloading and executing a remote script that plants a cryptominer on the victim machine. Anyone who installed pearlrunner 0.1.0 is affected; there is no patched version and the package should be treated as compromised. Detection and removal guidance is tracked by OpenSSF malicious-packages (MAL-2026-21162) and kam193's bad-packages database.
What to do
- Check whether pearlrunner 0.1.0 is installed (pip show pearlrunner / dependency lockfiles) and remove it immediately
- Treat any machine where it was installed as compromised: hunt for the downloaded remote script, cryptominer processes, and persistence mechanisms
- Rebuild affected systems or containers from trusted images rather than cleaning in place
- Rotate credentials and secrets accessible from affected machines
- Block the package in artifact registries/proxy caches and audit CI pipelines for installs of pearlrunner
Sources
All live incidents on Threat Watch