VYPR

pypi · Malicious package advisory

Malware

pyfernet

GHSA-479h-ff6v-79vq

Malicious code in pyfernet (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.0.1`

## Source: kam193 (5a2f90c0e3c6e46456cd3e319aaaf4a7b53475a554a997a964fdda898e85fcd0)
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/pyfernet/MAL-2025-5123.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/pyfernet
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pyfernet/MAL-2025-5123.json
- https://github.com/advisories/GHSA-479h-ff6v-79vq

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.