privacypass-py (PyPI) · Malicious Code
Affects privacypass-pySource GCVE Database
Malicious package : remove privacypass-py and rotate any secrets on hosts that installed it.
Data as of 1 Nov 2026, 10:21 UTC
Malicious package
Published to PyPI · OSV MAL-2026-18435
What to do
Remove privacypass-py 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 |
|---|---|---|
| PyPIprivacypass-py | 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 privacypass-py package on PyPI masquerades as a Privacy Pass client library but contains no cryptographic functionality. Instead, it performs data exfiltration by collecting sensitive environment variables, system information, and process details, then sending this data to a hardcoded external IP address over unencrypted HTTP. This malicious behavior occurs both during package installation and on module import, bypassing typical build isolation protections.