pypi · Malicious package advisory
Malwarecoffin-codes-net2
GHSA-vp29-5qqf-6239
Malicious code in coffin-codes-net2 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 7.0` ## Source: kam193 (694b0573155beac08991f19b534c13e193d82c520d5d0fd8c6733daf1de774ce) So far, it looks like a legit tunneling software, but in tcp.py there is an attempt to send a strange email using gmail. Update: Identified as malicious by socket.dev team --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2024-08-old-coffins-tunnel Reasons (based on the campaign): - crypto-related --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/coffin-codes-net2/MAL-2024-12242.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/coffin-codes-net2 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/coffin-codes-net2/MAL-2024-12242.json - https://socket.dev/blog/using-trusted-protocols-against-you-gmail-as-a-c2-mechanism - https://github.com/advisories/GHSA-vp29-5qqf-6239
Compromised versions (1)
- = 7.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.