pypi · Malicious package advisory
Malwareweb3automation
GHSA-5833-h8v4-qq89
Malicious code in web3automation (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.1.2` ## Source: kam193 (09a3fb2947bb8eaaf1e65033e8ccee659633669d5de0c0456b4c2e1680317dfb) Package contains just a function to send out data. It (or a package sharing the same IoCs) is used in a malicious GitHub project to exfiltrate crypto currency private keys, e.g. https://github.com/taikoyaki/MegaEth-Auto-Bot/blob/772b4591daaa0b200d1bd1fd3be3d48b8433f084/cap/cap.py#L49 --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-04-alchemyrpcs Reasons (based on the campaign): - crypto-related - The malicious code is intentionally included in a dependency of the package - exfiltration-crypto --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/web3automation/MAL-2025-4270.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/web3automation - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/web3automation/MAL-2025-4270.json - https://github.com/taikoyaki/MegaEth-Auto-Bot/blob/772b4591daaa0b200d1bd1fd3be3d48b8433f084/cap/cap.py#L49 - https://github.com/advisories/GHSA-5833-h8v4-qq89
Compromised versions (1)
- = 1.1.2
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.