pypi · Malicious package advisory
Malwarepython-rootpath
GHSA-pmfw-ppmg-v67j
Malicious code in python-rootpath (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1.9` ## Source: kam193 (bb867560d676e7b79ce110b230906a9630feb223cbcb6072bff5a2636c60a3c7) Hidden code downloads, saves and import a remote script. The package itself is a clone of a legitimate "rootpath". At the time of analysis, the remote script did not do any harmful action --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-11-python-rootpath Reasons (based on the campaign): - Downloads and executes a remote malicious script. - clones-real-package --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-rootpath/MAL-2025-191841.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/python-rootpath - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-rootpath/MAL-2025-191841.json - https://github.com/advisories/GHSA-pmfw-ppmg-v67j
Compromised versions (1)
- = 0.1.9
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.