2026-12-ramap campaign: ramap (PyPI) — malicious setup.py installs infostealer/RAT during pip install
Severity: critical · Patch status: no-fix-needed · Since 2026-12-05
The PyPI package 'ramap' version 1.0.0 contains malicious code that executes during installation. Its setup.py overrides the install command to download and run a remote executable identified as an infostealer, which exfiltrates browser data, establishes persistence, and includes RAT capabilities plus sandbox-detection to evade analysis. Anyone who pip-installs ramap 1.0.0 is compromised. There is no patched version; the package is malware and should not be used. The advisory was published 2026-12-05 by GitHub with credit to OpenSSF's malicious-packages database and kam193's bad-packages analysis.
What to do
- Check environments and CI for any installation of 'ramap' and remove it immediately
- Treat any machine where ramap 1.0.0 was installed as compromised: rotate credentials, invalidate browser sessions, and reimage if possible
- Review pip install logs and lockfiles for the package and pin trusted dependencies
- Block the package name in internal PyPI mirrors/proxies and enable malicious-package scanning
- Harden build pipelines to run pip installs with --no-build-isolation disabled and avoid arbitrary setup.py execution from untrusted packages
Sources
All live incidents on Threat Watch