VYPR

pypi · Malicious package advisory

Malware

coffin-codes-net

GHSA-8hvf-h285-p98h

Malicious code in coffin-codes-net (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 7.0`

## Source: kam193 (df624a59b2cb5ef5cf295a7e63718bf7938250f59c5cda19bb6f43c40824e99b)
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-net/MAL-2024-12241.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/coffin-codes-net
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/coffin-codes-net/MAL-2024-12241.json
- https://socket.dev/blog/using-trusted-protocols-against-you-gmail-as-a-c2-mechanism
- https://github.com/advisories/GHSA-8hvf-h285-p98h

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.