pypi · Malicious package advisory
Malwareevil-pkg1
GHSA-pq3r-69x2-7h9c
Malicious code in evil-pkg1 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.2` ## Source: kam193 (f3f9795022d3525ac5206d67f60906020987aabf1bf4580b48d7ac7c6429108c) Packages that might be part of testing for pentesting / malicious activity / joy, with suspicious activity that does not present any real harm. --- Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities. Campaign: GENERIC-simple-tests Reasons (based on the campaign): - The package overrides the install command in setup.py to execute malicious code during installation. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/evil-pkg1/MAL-2025-2960.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/evil-pkg1 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/evil-pkg1/MAL-2025-2960.json - https://github.com/advisories/GHSA-pq3r-69x2-7h9c
Compromised versions (1)
- = 0.2
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.