pypi · Malicious package advisory
Malwarepuan4
GHSA-4w4p-q2mc-5pq2
Malicious code in puan4 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.3` ## Source: kam193 (6be2e7028440f68ad3621664d195d72288e6a1d8658f16a421f3ec52d63d6f7a) During import, package automatically starts a connection to a C2 server, exfiltrates information about the host and data like sensitive files and browsers' data. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-05-puan3 Reasons (based on the campaign): - exfiltration-generic - exfiltration-browser-data - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine. - rat - exfiltration-credentials --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/puan4/MAL-2026-3244.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/puan4 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/puan4/MAL-2026-3244.json - https://github.com/advisories/GHSA-4w4p-q2mc-5pq2
Compromised versions (1)
- = 1.0.3
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.