VYPR

pypi · Malicious package advisory

Malware

coffin2022

GHSA-92g9-jrgh-3frq

Malicious code in coffin2022 (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 7.0`

## Source: kam193 (2f875ec44c758a726a21474b433c8f43af3d2ee96a3bdcca60f75288316b95ae)
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/coffin2022/MAL-2024-12245.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/coffin2022
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/coffin2022/MAL-2024-12245.json
- https://socket.dev/blog/using-trusted-protocols-against-you-gmail-as-a-c2-mechanism
- https://github.com/advisories/GHSA-92g9-jrgh-3frq

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.