pypi · Malicious package advisory
Malwarepython-files-mod
GHSA-5842-58ph-2c29
Malicious code in python-files-mod (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## Source: kam193 (3f9a5cad398dbfcea1ea0ed1a7b20c678a67941581a4562aa92703ac86ee421a) Disguised as file system manipulation library, the package hides an obfuscated code to communicate with a Telegram channel. Though the usage is not known at the moment, the package is clearly created for data exfiltration --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-02-pathfiles Reasons (based on the campaign): - obfuscation - 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/python-files-mod/MAL-2026-851.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/python-files-mod - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-files-mod/MAL-2026-851.json - https://github.com/advisories/GHSA-5842-58ph-2c29
Compromised versions (1)
- = 1.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.