pypi · Malicious package advisory
Malwarepypdf-fork
GHSA-h4q8-55c9-m6jj
Malicious code in pypdf-fork (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 6.10.2` ## Source: kam193 (c3a651b0cc8ca7cc4fcae91ff3160af205a97d0aacacd8e88d76c04ce013bd02) During importing the module, package sends a beacon notification to the owner. The package has no other differences from the original legitimate "pypdf". --- Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities. Campaign: 2026-04-pypdf-fork Reasons (based on the campaign): - clones-real-package --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pypdf-fork/MAL-2026-2999.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/pypdf-fork - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pypdf-fork/MAL-2026-2999.json - https://github.com/advisories/GHSA-h4q8-55c9-m6jj
Compromised versions (1)
- = 6.10.2
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.