pypi · Malicious package advisory
Malwarepopeye-xyz
GHSA-7246-xhf2-h7j4
Malicious code in popeye-xyz (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.4` ## Source: kam193 (583bf7b6e6437de01c7cb0cf1793e661cb0e344ba8a2235ecebc18a9bfd50a75) --- 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-xyz/MAL-2024-10106.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/popeye-xyz - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/popeye-xyz/MAL-2024-10106.json - https://github.com/advisories/GHSA-7246-xhf2-h7j4
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.