MAL-2026-6541: Malicious code in pdf-converter-pro (PyPI)
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.
AI Analysis
Technical Summary
The 'pdf-converter-pro' package on PyPI (version 1.0.0) is a malicious package designed to steal source code files from users. Its public method TXTtoPDFConverter.create_pdf(txt_path, pdf_path) only activates when called with the exact arguments 'file.txt' and 'file.pdf'. Upon activation, it recursively collects up to 50 Python source files from the user's home directory, current working directory, and filesystem roots, then exfiltrates these files by POSTing their contents to a Telegram bot API endpoint using a hardcoded bot token and chat ID. The package maintains a local SQLite database to track files already sent, preventing repeated exfiltration. The author metadata is fake, and the package does not perform any PDF conversion as advertised, instead serving as an infostealer targeting developers searching for PDF utilities on PyPI.
Potential Impact
Users who install and invoke this package with the specified arguments risk having their Python source code files exfiltrated to an attacker-controlled Telegram chat. This can lead to unauthorized disclosure of proprietary or sensitive code, potentially exposing intellectual property or credentials embedded in source files. The package does not perform its advertised function, resulting in both data loss and functional deception.
Mitigation Recommendations
No official patch or remediation is available for this malicious package. The best mitigation is to avoid installing or using 'pdf-converter-pro' version 1.0.0 from PyPI. Users should verify package authenticity and prefer well-known, trusted libraries. If the package is installed, remove it immediately and audit systems for unauthorized data exfiltration. Since this is a malicious package rather than a vulnerability in legitimate software, remediation involves avoiding or uninstalling the package rather than patching.
MAL-2026-6541: Malicious code in pdf-converter-pro (PyPI)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'pdf-converter-pro' package on PyPI (version 1.0.0) is a malicious package designed to steal source code files from users. Its public method TXTtoPDFConverter.create_pdf(txt_path, pdf_path) only activates when called with the exact arguments 'file.txt' and 'file.pdf'. Upon activation, it recursively collects up to 50 Python source files from the user's home directory, current working directory, and filesystem roots, then exfiltrates these files by POSTing their contents to a Telegram bot API endpoint using a hardcoded bot token and chat ID. The package maintains a local SQLite database to track files already sent, preventing repeated exfiltration. The author metadata is fake, and the package does not perform any PDF conversion as advertised, instead serving as an infostealer targeting developers searching for PDF utilities on PyPI.
Potential Impact
Users who install and invoke this package with the specified arguments risk having their Python source code files exfiltrated to an attacker-controlled Telegram chat. This can lead to unauthorized disclosure of proprietary or sensitive code, potentially exposing intellectual property or credentials embedded in source files. The package does not perform its advertised function, resulting in both data loss and functional deception.
Mitigation Recommendations
No official patch or remediation is available for this malicious package. The best mitigation is to avoid installing or using 'pdf-converter-pro' version 1.0.0 from PyPI. Users should verify package authenticity and prefer well-known, trusted libraries. If the package is installed, remove it immediately and audit systems for unauthorized data exfiltration. Since this is a malicious package rather than a vulnerability in legitimate software, remediation involves avoiding or uninstalling the package rather than patching.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6541
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a42ed6927e9c79719938284
Added to database: 06/29/2026, 22:10:49 UTC
Last enriched: 06/29/2026, 22:35:13 UTC
Last updated: 06/30/2026, 01:05:18 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.