fast-hashes (PyPI) · Malicious Code
Affects fast-hashesSource GCVE Database
Malicious package : remove fast-hashes and rotate any secrets on hosts that installed it.
Data as of 7 Aug 2026, 15:41 UTC
Malicious package
Published to PyPI · OSV MAL-2026-13490
What to do
Remove fast-hashes from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIfast-hashes | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The fast-hashes package version 0.1.0 on PyPI contains malicious code that executes during installation. The setup.py file overrides the install command to decode and execute a base64-encoded payload, which downloads and runs an unverified binary from a third-party GitHub repository. This behavior enables arbitrary code execution on the installer's host. The package is a typosquatting attempt mimicking a popular library and is designed to exfiltrate cryptocurrency wallet data and potentially other sensitive information.
References
- virustotal.com/gui/file/425f5336182e359211b5d751786d2ce1d31a673ea9c82107358a888803742649/detection (opens in a new tab)
- tria.ge/260807-fkycrazzg1/behavioral1 (opens in a new tab)
- bad-packages.kam193.eu/pypi/package/fast-hashes (opens in a new tab)
- pypi.org/project/fast-hashes/0.1.0/ (opens in a new tab)