Skip to main content
MalwarePublished

fast-hashes (PyPI) · Malicious Code

Affects fast-hashesSource GCVE Database

0

Malicious package : remove fast-hashes and rotate any secrets on hosts that installed it.

Data as of 7 Aug 2026, 15:41 UTC

Classification

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

ProductAffectedFixed in
PyPIfast-hashesAffected
  • =0.1.0
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

Community reviews

Loading reviews…