pypi · Malicious package advisory
Malwarexenlib
GHSA-wv2w-72hj-699v
Malicious code in xenlib (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1.1` ## Source: kam193 (e53ee4ee9935e6502ce16df23a8110b5cccba018b9c0c14279ebabc163e84265) Package is prepared to exfiltrate sensitive files. Different packages use different places for the malicious code: it runs during importing the module, is placed in a native binary, or in the setup.py script --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-08-xenlib Reasons (based on the campaign): - files-exfiltration --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/xenlib/MAL-2025-191936.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/xenlib - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/xenlib/MAL-2025-191936.json - https://github.com/advisories/GHSA-wv2w-72hj-699v
Compromised versions (1)
- = 0.1.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.