MAL-2026-21152: Malicious code in ramap (PyPI)
--- -= Per source details. Do not edit below this line.=-
Source: kam193 (c43dad858a038de731837baa0be25a37e5907aaf45b2edad18971e1a69c3af9c) During installation, the package downloads and executes an executable being an infostealer.
---
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2026-12-ramap
Reasons (based on the campaign):
- The package overrides the install command in setup.py to execute malicious code during installation.
- infostealer
- exfiltration-browser-data
- persistence
- rat
- The package contains code to detect if it is running in a sandbox environment.
- Downloads and executes a remote executable.
Affected Software
Event History
Frequently Asked Questions
When does the malicious behavior run?
The package overrides the install command in setup.py, so malicious code executes during installation. It then downloads and executes a remote executable.
What capabilities does the downloaded payload appear to have?
The campaign is identified as an infostealer and includes browser-data exfiltration, persistence, and remote-access-trojan functionality. The package also contains sandbox-environment detection code.
Who is exposed to this threat?
Users or build environments that install the ramap package through pip are exposed, because execution is triggered as part of installation.