Malicious Code Detected in cryptowallethash Package - Exfiltration Vulnerability
Summary
MAL-2026-846: Malicious code in cryptowallethash (PyPI). Affects cryptowallethash versions 0.0.6 – 0.0.8. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The cryptowallethash package, available on PyPI, is designed to calculate hash values for cryptocurrency applications. It is intended to provide users with secure hashing functionalities. However, the package has been found to contain malicious code that compromises its intended use, leading to potential data theft.
Vulnerability Detail
The vulnerability originates from a malicious implementation in the cryptowallethash package, specifically in versions 0.0.6, 0.0.7, and 0.0.8. This code exfiltrates plain values before returning the calculated hash, posing a significant risk to users who rely on this package for secure cryptocurrency operations. The malicious intent is clear, as it aims to steal sensitive information related to cryptocurrency transactions.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall cryptowallethash
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary workaround, users should avoid using the affected versions of the cryptowallethash package (0.0.6, 0.0.7, 0.0.8) and consider using alternative libraries for hashing until a secure version is confirmed.
Conclusion
The cryptowallethash package has been identified as containing malicious code that exfiltrates sensitive data. Users are strongly advised to update to a secure version or seek alternatives to mitigate the risk of data theft. Utilizing tools like Vulert can help in monitoring and identifying vulnerabilities in open-source packages.
See every vulnerability recorded for cryptowallethash →
FAQ
The vulnerability involves malicious code that exfiltrates sensitive data before returning hash values, compromising user security.
You can use Vulert's playground at Vulert Scanner to monitor and check for vulnerabilities in your application without needing to sign up.
You should immediately update to a secure version of the package using 'pip install --upgrade cryptowallethash' or switch to an alternative library.
Yes, continuing to use the affected package poses a significant risk of data theft, as the malicious code is designed to exfiltrate sensitive information.
You can visit Vulert at https://vulert.com, which monitors and alerts for open-source vulnerabilities in real-time.