Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in fast-hashes (PyPI)

0
Critical
Published: 08/07/2026 (08/07/2026, 09:25:16 UTC)
Source: GCVE Database
Product: fast-hashes

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

PyPIghsa
fast-hashes
Affected versions
=0.1.0

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

AILast updated: 08/07/2026, 15:41:11 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses