pypi · Malicious package advisory
Malwareweb3yrpcs
GHSA-vcwx-xcpv-x4f9
Malicious code in web3yrpcs (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.1.2` ## Source: kam193 (171ec4f4bbfb34688348ecdda292249487574c8fb28caf8467c0bbafb1563cb7) 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/web3yrpcs/MAL-2025-4272.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/web3yrpcs - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/web3yrpcs/MAL-2025-4272.json - https://github.com/taikoyaki/MegaEth-Auto-Bot/blob/772b4591daaa0b200d1bd1fd3be3d48b8433f084/cap/cap.py#L49 - https://github.com/advisories/GHSA-vcwx-xcpv-x4f9
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.