VYPR

pypi · Malicious package advisory

Malware

pyximport

GHSA-6wg4-24ph-2738

Malicious code in pyximport (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.0.1`

## Source: kam193 (4495a2909bdab391f460c6671937fa60d164f745657520e43700b229f56faf0a)
While described as telemetry, importing the package attempts to send out some basic info as well as quite sensitive environmental variables.


---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.


Campaign: 2025-06-stubsout


Reasons (based on the campaign):


 - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.


 - exfiltration-env-variables

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pyximport/MAL-2025-191848.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/pyximport
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pyximport/MAL-2025-191848.json
- https://github.com/advisories/GHSA-6wg4-24ph-2738

Compromised versions (1)

  • = 0.0.1

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.