Malicious code in fast-hashes (PyPI)
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.
AI Analysis
Technical Summary
The fast-hashes PyPI package version 0.1.0 includes a malicious setup.py script that overrides the installation process. It decodes a base64 payload that downloads an opaque binary from an unrelated GitHub account, saves it to /tmp, sets executable permissions, and launches it detached from the install process. The package itself only wraps hashlib functionality and has no legitimate need for native binaries, indicating the download-and-execute behavior is malicious. This results in arbitrary code execution under the installer's user context and data exfiltration, including cryptocurrency wallet information. The package is a typosquatting campaign designed to trick users into installing it.
Potential Impact
Installation of fast-hashes version 0.1.0 results in arbitrary code execution on the host system with the privileges of the installing user. The malicious payload downloads and executes an unverified binary from a third-party GitHub repository, which exfiltrates cryptocurrency wallet data and possibly other sensitive information. This compromises the confidentiality and integrity of the affected system and user data.
Mitigation Recommendations
Avoid installing the fast-hashes package version 0.1.0 from PyPI. Since this is a malicious typosquatting package, users should verify package names carefully before installation. There is no official patch or fix because this is a malicious package, not a legitimate software vulnerability. Remove any installations of this package and scan affected systems for indicators of compromise. Use trusted sources and verify package authenticity before installation.
Malicious code in fast-hashes (PyPI)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The fast-hashes PyPI package version 0.1.0 includes a malicious setup.py script that overrides the installation process. It decodes a base64 payload that downloads an opaque binary from an unrelated GitHub account, saves it to /tmp, sets executable permissions, and launches it detached from the install process. The package itself only wraps hashlib functionality and has no legitimate need for native binaries, indicating the download-and-execute behavior is malicious. This results in arbitrary code execution under the installer's user context and data exfiltration, including cryptocurrency wallet information. The package is a typosquatting campaign designed to trick users into installing it.
Potential Impact
Installation of fast-hashes version 0.1.0 results in arbitrary code execution on the host system with the privileges of the installing user. The malicious payload downloads and executes an unverified binary from a third-party GitHub repository, which exfiltrates cryptocurrency wallet data and possibly other sensitive information. This compromises the confidentiality and integrity of the affected system and user data.
Mitigation Recommendations
Avoid installing the fast-hashes package version 0.1.0 from PyPI. Since this is a malicious typosquatting package, users should verify package names carefully before installation. There is no official patch or fix because this is a malicious package, not a legitimate software vulnerability. Remove any installations of this package and scan affected systems for indicators of compromise. Use trusted sources and verify package authenticity before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13490
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a75f711bf8831d53984fb4a
Added to database: 08/07/2026, 15:17:37 UTC
Last enriched: 08/07/2026, 15:41:11 UTC
Last updated: 08/08/2026, 03:40:59 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.