pypi · Malicious package advisory
Malwareelectrum-bch
GHSA-qpp2-5jv2-c3j4
Malicious code in electrum-bch (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.3.6` ## Source: kam193 (8e4c3bb0f735a352c6f4d18865f3a145912c31f6b9da22c48e731e7fe750b1dd) The modification of https://github.com/spesmilo/electrum (not clear which version or fork) that during usage will exfiltrate files from the current directory, presumably wanting to collect sensitive data. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-08-electrum-bch Reasons (based on the campaign): - crypto-related - action-hidden-in-lib-usage - exfiltration-crypto - exfiltration-generic - clones-real-package --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/electrum-bch/MAL-2025-47762.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/electrum-bch - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/electrum-bch/MAL-2025-47762.json - https://github.com/advisories/GHSA-qpp2-5jv2-c3j4
Compromised versions (1)
- = 0.3.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.