VYPR

pypi · Malicious package advisory

Malware

pymnemonic

GHSA-hq9r-q52w-jrxj

Malicious code in pymnemonic (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.1.2`

## Source: kam193 (459bd254a36d9b8c78d96285e0c0aedb285b08f22900e022ea67988f3cb98e92)
Malicious clone of the legitimate python-utils package, disguised as a crypto-related helper. The malicious code modification exfiltrates sensitive env variables to a hardcoded location.


---

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


Campaign: 2026-03-pymnemonic


Reasons (based on the campaign):


 - crypto-related


 - exfiltration-crypto


 - exfiltration-env-variables


 - clones-real-package


 - action-hidden-in-lib-usage

---

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

**References:**
- https://bad-packages.kam193.eu/pypi/package/pymnemonic
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pymnemonic/MAL-2026-1438.json
- https://github.com/advisories/GHSA-hq9r-q52w-jrxj

Compromised versions (1)

  • = 1.1.2

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