---
id: "MAL-2026-18435"
kind: "package"
aliases: ["MAL-2026-18435"]
title: "Malicious code in privacypass-py (PyPI)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "privacypass-py", "fixed": [], "affected": "= 0.1.101", "ecosystem": "pypi"}]
ecosystems: ["pypi"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-11-01T08:01:23+00:00"
first_seen_at: "2026-11-01T09:19:42+00:00"
updated_at: "2026-11-01T09:27:37+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-18435", "first_seen_at": "2026-11-01T09:19:42+00:00"}]
---

# Malicious code in privacypass-py (PyPI)

## Affected

- pypi:privacypass-py affected = 0.1.101 fixed ?

## Timeline

- 2026-11-01T09:19:42+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-18435

## From the sources

---
_-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (0ca6e88317dac5ec524d2dc6ec4b2af7934e2213569ed7c8a757e59edb45b0c3)
The package presents itself as 'Privacy Pass client primitives' but ships no cryptographic functionality. Its only runtime effect is a data-exfiltration beacon. setup.py invokes a `_report()` routine during build/install that collects hostname, username, current working directory, argv, the parent process command line read from /proc/<ppid>/cmdline, and environment variable names and values matching credential-related prefixes (AWS_, GITHUB_, PIP_, and others), then POSTs the JSON payload to the hardcoded bare-IP endpoint http://85.190.112.236:8881/b/<nonce> over plain HTTP. privacypass_py/__init__.py repeats the same beacon at module top level, calling `_report('import')` on every `import privacypass_py` with an expanded prefix list (CLOUDFLARE_, SUPERTOKENS, HOME, USER, PATH) and an additional `secretish_names` list filtered by substrings KEY/SECRET/TOKEN/PASS/CRED/PRIVATE/SEED/MNEMONIC/SIGNATURE/COOKIE/SESSION/AUTH, sent to http://85.190.112.236:8881/f/<nonce>. The import-time path fires outside pip build isolation. The name and description function as cover for a package whose only shipped code is the beacon.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
