MAL-2026-21152: Malicious code in ramap (PyPI)

Published Dec 4, 2026
·
Updated

--- -= 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

1 affected component
pip/ramap=1.0.0

Event History

Dec 4, 2026
Advisory Published
via OSV·10:23 PM
Data Sourced
via OSV·10:23 PM
DescriptionAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203