VYPR

pypi · Malicious package advisory

Malware

mnemonic-py

GHSA-fg2v-6353-vj6h

Malicious code in mnemonic-py (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.21`

## Source: kam193 (6599d6208d71e0e809661e86bf5641e6e7b871cd6f01a54abf22215b8a88ef11)
During installation, the package exfiltrates sensitive env variables, browser data, crypto wallets files, ssh keys and other configuration files.


---

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


Campaign: 2026-08-bip39-py


Reasons (based on the campaign):


 - crypto-related


 - The package overrides the install command in setup.py to execute malicious code during installation.


 - exfiltration-crypto


 - exfiltration-browser-data


 - exfiltration-env-variables


 - exfiltration-ssh-keys


 - exfiltration-credentials


 - uses-telegram-bot

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49528970635b29847ebf5e3c46aca2dde1cb4681/osv/malicious/pypi/mnemonic-py/MAL-2026-13362.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/mnemonic-py
- https://github.com/ossf/malicious-packages/blob/49528970635b29847ebf5e3c46aca2dde1cb4681/osv/malicious/pypi/mnemonic-py/MAL-2026-13362.json
- https://github.com/advisories/GHSA-fg2v-6353-vj6h

Compromised versions (1)

  • = 0.21

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