pypi · Malicious package advisory
Malwaretransaction-analysis
GHSA-r33x-6mc5-cgfm
Malicious code in transaction-analysis (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.2` ## Source: kam193 (49ab525dda997f7abc07f4ef30a62443e40a0f01e218b74d6db9b378fe51f2a4) Package contains obfuscated code that exfiltrate basic data and awaits for commands from the remote server to execute them. This is a malicious copy of legitimate https://pypi.org/project/coinanalyse/ package. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-02-coinanalyze Reasons (based on the campaign): - backdoor - typosquatting - obfuscation - clones-real-package - crypto-related - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/transaction-analysis/MAL-2025-3010.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/transaction-analysis - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/transaction-analysis/MAL-2025-3010.json - https://github.com/advisories/GHSA-r33x-6mc5-cgfm
Compromised versions (1)
- = 1.0.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.