pypi · Malicious package advisory
Malwarepopeye-pip-v3
GHSA-4372-25pq-fqh2
Malicious code in popeye-pip-v3 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.4` ## Source: kam193 (940ada25d3157d4f88092627a5a8eedb98abf86933890ce13193d4878d2698ee) --- 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: 2024-01-moye-moye Reasons (based on the campaign): - exfiltration-ssh-keys - exfiltration-env-variables - 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/popeye-pip-v3/MAL-2024-10105.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/popeye-pip-v3 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/popeye-pip-v3/MAL-2024-10105.json - https://github.com/advisories/GHSA-4372-25pq-fqh2
Compromised versions (1)
- = 1.0.4
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.