pafer (PyPI) · Malicious Code
Affects paferSource GCVE Database
Malicious package : remove pafer and rotate any secrets on hosts that installed it.
Data as of 20 Oct 2026, 16:05 UTC
Malicious package
Published to PyPI · OSV MAL-2026-17756
What to do
Remove pafer 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 |
|---|---|---|
| PyPIpafer | 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 pafer package on PyPI contains malicious code that loads and executes a disguised pickle file, leading to automatic execution of embedded malicious code. This code establishes persistence on the victim's system via a PTH file, downloads additional payloads, and functions as a remote access trojan (RAT) enabling remote code execution and data exfiltration. The malicious behavior is intentionally embedded in a dependency of the main package webreader.