cvelo
P2 · HighMalware

Malicious code in ramap (PyPI)

  • GHSA-vrx9-prcg-2jmf

Summary

The PyPI package ramap is a malicious package flagged by OpenSSF in campaign 2026-12-ramap. Its setup.py overrides the install command so that code runs during installation, which downloads and executes a remote executable described as an infostealer. The reported behaviour includes exfiltration of browser data, persistence, remote access trojan functionality, and a check for sandbox environments. The record is classified as malicious rather than a vulnerability, has no CVSS score, and is not listed in the CISA known exploited vulnerabilities catalog. Engineers should treat any installation of ramap as a potential compromise of the host and remove it.

AI summary · verify against the vendor advisory

Description

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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/27681ab49e701a49f004c6a45aaa5d8308cc3020/osv/malicious/pypi/ramap/MAL-2026-21152.json))

Text from the GitHub Advisory record.

Recommendation

Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.

Affected

  • ramapPyPI

    No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.