VYPR

pypi · Malicious package advisory

Malware

crypto-hash-utils

GHSA-mrgv-5mx2-rm2j

Malicious code in crypto-hash-utils (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.189.129`

## Source: kam193 (9807f28fe2b1260f19dfda8b33a6091967c5e18c41dc86365f06b6ad3ceb4eab)
During installation, package exfiltrates some basic info to a GitHub issue comment, and then attempt to set up a persistent infostealer focused on exfiltrating crypto wallets and browsers data. Likely continuation of 2026-05-py-requests


---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.


Campaign: 2025-06-alembic-util


Reasons (based on the campaign):


 - infostealer


 - The package overrides the install command in setup.py to execute malicious code during installation.


 - crypto-related


 - Downloads and executes a remote malicious script.


 - exfiltration-browser-data


 - exfiltration-crypto


 - persistence


 - typosquatting

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/crypto-hash-utils/MAL-2026-3703.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/crypto-hash-utils
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/crypto-hash-utils/MAL-2026-3703.json
- https://github.com/advisories/GHSA-mrgv-5mx2-rm2j

Compromised versions (1)

  • = 0.189.129

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.