pdf-converter-pro (PyPI) · Malicious Code
Affects pdf-converter-proSource GCVE Database
Malicious package : remove pdf-converter-pro and rotate any secrets on hosts that installed it.
Data as of 29 Jun 2026, 22:35 UTC
Malicious package
Published to PyPI · OSV MAL-2026-6541
What to do
Remove pdf-converter-pro 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 |
|---|---|---|
| PyPIpdf-converter-pro | 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 PyPI package 'pdf-converter-pro' version 1.0.0 is a malicious package that masquerades as a PDF conversion utility but contains no actual PDF generation code. Instead, it exfiltrates Python source code files from the user's home directory, current directory, and filesystem roots by sending them to an attacker-controlled Telegram chat using a hardcoded bot token. The package tracks already exfiltrated files locally to avoid duplicates and does not provide the advertised functionality. This behavior is triggered when the package's main method is called with specific literal arguments.