pypi · Malicious package advisory
Malwarexmrig-miner
GHSA-c7w6-2836-j839
Malicious code in xmrig-miner (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## Source: kam193 (c3d760afc863697f46cbb6716644c1e7b7e937044ee10ce72b3bce7b549cdcc8) Importing the module starts a silent cryptocurrency mining in the background for a hardcoded wallet. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-03-pyutils-helper Reasons (based on the campaign): - cryptominer --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/xmrig-miner/MAL-2026-1282.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/xmrig-miner - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/xmrig-miner/MAL-2026-1282.json - https://github.com/advisories/GHSA-c7w6-2836-j839
Compromised versions (1)
- = 1.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.