pypi · Malicious package advisory
Malwareethrpc-accounts
GHSA-c997-j4wv-gmpj
Malicious code in ethrpc-accounts (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.9.1` ## Source: kam193 (6372ce82342ae30022a83501fc348d1c63ec3cb27b19dba0678430efdfeeb077) This package is a clone of legitimate eth-accounts. The malicious code is hidden in the dependency, ethrpc-keys, which exfiltrates private keys. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-02-old-ethrpc-keys Reasons (based on the campaign): - clones-real-package - exfiltration-crypto - crypto-related - action-hidden-in-lib-usage - The malicious code is intentionally included in a dependency of the package --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/ethrpc-accounts/MAL-2026-948.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/ethrpc-accounts - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/ethrpc-accounts/MAL-2026-948.json - https://github.com/advisories/GHSA-c997-j4wv-gmpj
Compromised versions (1)
- = 0.9.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.