pypi · Malicious package advisory
Malwarepyenvprep
GHSA-cwrf-g828-fp4h
Malicious code in pyenvprep (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## Source: kam193 (963727b60e7fa8536050eb0f4691dc8bec6089567630063305d05ddceb4834cd) Package contains code to silently execute a RAT-like agent, allowing the attacker to access the file system and execute arbitrary code. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-05-venv-utils Reasons (based on the campaign): - rat - typosquatting - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine. - obfuscation --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pyenvprep/MAL-2026-3829.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/pyenvprep - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pyenvprep/MAL-2026-3829.json - https://github.com/advisories/GHSA-cwrf-g828-fp4h
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.