VYPR

pypi · Malicious package advisory

Malware

puan31

GHSA-grx6-x84x-5j6w

Malicious code in puan31 (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.1.0`

## Source: kam193 (27d04731b8fc3968b624ec2435d48b09d1afffb46fefb44745c2c8ff31bf4855)
During import, package automatically starts a connection to a C2 server, exfiltrates information about the host and data like the browser's history and sensitive files, and then waits for remote commands to execute.


---

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.


 - exfiltration-credentials


 - rat

---

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

**References:**
- https://bad-packages.kam193.eu/pypi/package/puan31
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/puan31/MAL-2026-3251.json
- https://github.com/advisories/GHSA-grx6-x84x-5j6w

Compromised versions (1)

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