VYPR

pypi · Malicious package advisory

Malware

fernetpy

GHSA-hjpg-g2g5-q3pv

Malicious code in fernetpy (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.0.1`

## Source: kam193 (ccbbcfd921dcefb2809ba41756181682f7a04f1a9f701adcf0c37c9889d87a98)
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/fernetpy/MAL-2025-5113.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/fernetpy
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/fernetpy/MAL-2025-5113.json
- https://github.com/advisories/GHSA-hjpg-g2g5-q3pv

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.