pypi · Malicious package advisory
Malwaremcp-pdftool-plus
GHSA-fh2f-vcxw-gm22
Malicious code in mcp-pdftool-plus (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1.3` ## Source: kam193 (2e92dea8be02288f271dacad2cd77f1bdd54596da1691cb738c4a7b7b4f77d21) When using the library, the hidden code starts a reverse shell --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-01-mcp-pdftool-plus Reasons (based on the campaign): - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine. - action-hidden-in-lib-usage --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mcp-pdftool-plus/MAL-2026-603.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/mcp-pdftool-plus - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mcp-pdftool-plus/MAL-2026-603.json - https://github.com/advisories/GHSA-fh2f-vcxw-gm22
Compromised versions (1)
- = 0.1.3
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.