Malicious code in speed-hashes (PyPI)
The PyPI package 'speed-hashes' version 0.1.0 is a malicious typosquatting package that executes attacker-controlled code during installation. Its setup.py overrides the install command to decode and execute obfuscated Python code which downloads a remote binary from an untrusted GitHub repository, executes it detached, and exfiltrates cryptocurrency wallet data. This results in remote code execution on the installer's host and potential data theft.
AI Analysis
Technical Summary
The 'speed-hashes' PyPI package version 0.1.0 contains malicious code embedded in its setup.py file. Specifically, it defines a custom install command that, after the normal installation, decodes a base64 payload and executes it. This payload downloads a binary from a non-publisher GitHub account, saves it to /tmp, sets executable permissions, and runs it detached. The malicious executable is reported to exfiltrate cryptocurrency wallet data among other potential information. The package is a typosquatting attempt mimicking a popular library, aiming to trick users into installing it and thereby executing remote code on their systems.
Potential Impact
Installation of this package leads to remote code execution on the host machine due to execution of attacker-controlled code during the install lifecycle. The malicious payload downloads and runs an external binary, which exfiltrates sensitive data such as cryptocurrency wallet information. This compromises the confidentiality and integrity of the affected system and user data.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the 'speed-hashes' package version 0.1.0 from PyPI. Verify package authenticity before installation, especially for packages with names similar to popular libraries. Use trusted sources and consider tools that detect typosquatting or malicious packages. Monitor vendor advisories or PyPI security notices for updates or removal of the malicious package.
Malicious code in speed-hashes (PyPI)
Description
The PyPI package 'speed-hashes' version 0.1.0 is a malicious typosquatting package that executes attacker-controlled code during installation. Its setup.py overrides the install command to decode and execute obfuscated Python code which downloads a remote binary from an untrusted GitHub repository, executes it detached, and exfiltrates cryptocurrency wallet data. This results in remote code execution on the installer's host and potential data theft.
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 'speed-hashes' PyPI package version 0.1.0 contains malicious code embedded in its setup.py file. Specifically, it defines a custom install command that, after the normal installation, decodes a base64 payload and executes it. This payload downloads a binary from a non-publisher GitHub account, saves it to /tmp, sets executable permissions, and runs it detached. The malicious executable is reported to exfiltrate cryptocurrency wallet data among other potential information. The package is a typosquatting attempt mimicking a popular library, aiming to trick users into installing it and thereby executing remote code on their systems.
Potential Impact
Installation of this package leads to remote code execution on the host machine due to execution of attacker-controlled code during the install lifecycle. The malicious payload downloads and runs an external binary, which exfiltrates sensitive data such as cryptocurrency wallet information. This compromises the confidentiality and integrity of the affected system and user data.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the 'speed-hashes' package version 0.1.0 from PyPI. Verify package authenticity before installation, especially for packages with names similar to popular libraries. Use trusted sources and consider tools that detect typosquatting or malicious packages. Monitor vendor advisories or PyPI security notices for updates or removal of the malicious package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13607
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a75f709bf8831d53984ec66
Added to database: 08/07/2026, 15:17:29 UTC
Last enriched: 08/07/2026, 15:20:32 UTC
Last updated: 08/07/2026, 15:20:32 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.