pypi · Malicious package advisory
Malwarecryptowallethash
GHSA-2p6p-pqw2-368w
Malicious code in cryptowallethash (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.0.6` ## Source: kam193 (4d493d3c40b5136dd3ffea29264cf1066247cda3a10094201b4f71554ae3e592) The package claims to calculate a hash value for usage in "cryptocurrency", but before returning the hash, it exfiltrates the plain value. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-02-old-cryptowallethash Reasons (based on the campaign): - crypto-related - exfiltration-crypto --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/cryptowallethash/MAL-2026-846.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/cryptowallethash - https://github.com/akioguru/cryptowallethash - https://github.com/akioguru/cryptowallethash/blob/main/cryptowallethash/functions.py#L8 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/cryptowallethash/MAL-2026-846.json - https://github.com/advisories/GHSA-2p6p-pqw2-368w
Compromised versions (1)
- = 0.0.6
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.