pypi · Malicious package advisory
Malwaremalware-test-pack-new
GHSA-qf8x-w895-7jc5
Malicious code in malware-test-pack-new (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.0.4` ## Source: kam193 (d42920cb02fcba93dae29713be0c3e00b0b63c4d6b54a0370d069cb7c246e957) 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/malware-test-pack-new/MAL-2024-11629.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/malware-test-pack-new - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/malware-test-pack-new/MAL-2024-11629.json - https://github.com/advisories/GHSA-qf8x-w895-7jc5
Compromised versions (1)
- = 0.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.