pypi · Malicious package advisory
Malwarefernets
GHSA-cq9p-r8p8-v3fj
Malicious code in fernets (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.0.1` ## Source: kam193 (95fc75ed8a4cfcccc988b2241772effbc15eb3700a6a96f3183981a1b4c7fba7) If imported, the module starts a multi-stage infostealer, exfiltrating browser data as well as crypto wallets, and also attempts to monitor clipboard looking for crypto wallets addresses --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-05-fernets Reasons (based on the campaign): - infostealer - clipboard-stealing - exfiltration-generic - obfuscation - exfiltration-browser-data - exfiltration-crypto - typosquatting --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/fernets/MAL-2025-191728.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/fernets - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/fernets/MAL-2025-191728.json - https://github.com/advisories/GHSA-cq9p-r8p8-v3fj
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.