puan31 (PyPI) · Malicious Code
Affects puan31Source GCVE Database
Malicious package : remove puan31 and rotate any secrets on hosts that installed it.
Data as of 27 Oct 2026, 01:05 UTC
Malicious package
Published to PyPI · OSV MAL-2026-3251
What to do
Remove puan31 from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIpuan31 | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The puan31 package on PyPI versions 0.1.0 and 0.1.1 contains malicious code that, upon import, connects to a command-and-control server. It exfiltrates sensitive information such as browser history and files from the host and can execute remote commands. This behavior classifies it as malware with infostealing and remote access capabilities.