pypi · Malicious package advisory
Malwaremnemoniclib
GHSA-jxrr-g6w9-p7q6
Malicious code in mnemoniclib (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.20.1` ## Source: kam193 (c88fa4e30e2437fef5f03db434adb0f34ee48d8bec2d3361d123b10086b28772) Clone of a legitimate library with added malicious code that runs during generating a new mnemonic. The malicious code collects data related to cryptocurrency wallets and selected other files, and exfiltrate them to a hardcoded location. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-03-mnemoniclib Reasons (based on the campaign): - clones-real-package - action-hidden-in-lib-usage - crypto-related - exfiltration-crypto - files-exfiltration --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mnemoniclib/MAL-2026-2299.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/mnemoniclib - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mnemoniclib/MAL-2026-2299.json - https://github.com/advisories/GHSA-jxrr-g6w9-p7q6
Compromised versions (1)
- = 0.20.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.