Skip to content
OpenAdvisories
Malicious MAL-2024-11657

pdf2doc

PyPI package · versions 0.3.9

Reported Sep 19, 2024 · Updated Mar 19, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: kam193 (ae55659200290f97e3d07c41d49af574eb14ad3dc5913535e8d100cf2c48dd58)
During installation, the code attempts to exfiltrate basic data (username, host name) and send to the attacker. The package looks to be a clone of an existing one

---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2024-09-pdf2doc

Reasons (based on the campaign):

- The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

- typosquatting

- obfuscation

- dependency-confusion

- The package overrides the install command in setup.py to execute malicious code during installation.

- clones-real-package

Indicators of compromise

Shown defanged and not clickable. Search any indicator to find other packages using it.

Domains