VYPR

pypi · Malicious package advisory

Malware

coffin-codes-2022

GHSA-vj5c-c886-7fq2

Malicious code in coffin-codes-2022 (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 7.2`

## Source: kam193 (6c58561bbec76769fed6ea31b26a57f72ff7242de59c7c6f297a14b56f9b547e)
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-2022/MAL-2024-12240.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/coffin-codes-2022
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/coffin-codes-2022/MAL-2024-12240.json
- https://socket.dev/blog/using-trusted-protocols-against-you-gmail-as-a-c2-mechanism
- https://github.com/advisories/GHSA-vj5c-c886-7fq2

Compromised versions (1)

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