VYPR

pypi · Malicious package advisory

Malware

piepunk

GHSA-8rhx-mx78-46hg

Malicious code in piepunk (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 6.9.0`

## Source: kam193 (40c9660a52e99412daf32818f5263ad562bf43281984b9676aa93874912132be)
This is a clone of "pymunk" package. In the space.py file there is a code that attempts to exfiltrate data from the Discord client during initialization. L101:129


---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.


Campaign: 2024-12-piepunk


Reasons (based on the campaign):


 - exfiltration-generic


 - infostealer


 - clones-real-package


 - action-hidden-in-lib-usage

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/piepunk/MAL-2024-12322.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/piepunk
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/piepunk/MAL-2024-12322.json
- https://github.com/advisories/GHSA-8rhx-mx78-46hg

Compromised versions (1)

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