VYPR

pypi · Malicious package advisory

Malware

web3wallet

GHSA-6q34-hmw5-2r3j

Malicious code in web3wallet (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.1.1`

## Source: kam193 (e85209b2472e1db082515ccc7ca0b38a2e268379adc9547ac41af812aebc6fd7)
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/web3wallet/MAL-2025-4271.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/web3wallet
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/web3wallet/MAL-2025-4271.json
- https://github.com/taikoyaki/MegaEth-Auto-Bot/blob/772b4591daaa0b200d1bd1fd3be3d48b8433f084/cap/cap.py#L49
- https://github.com/advisories/GHSA-6q34-hmw5-2r3j

Compromised versions (1)

  • = 0.1.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.