pypi · Malicious package advisory
Malwarezero123
GHSA-hxjg-gq8r-x2x3
Malicious code in zero123 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 9.6` ## Source: kam193 (af7d2c3f3831618ff17940011336fa3910db4cc1a28c37a7a8892fbfd8aac854) A campaign of probably pentest packages flooding PYPI. Installing the package or importing the module triggers reporting basic info like hostname, path and the username to the package author. There is no other purpose of the package. --- 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-11-byted-dast Reasons (based on the campaign): - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk. - typosquatting - dependency-confusion --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/zero123/MAL-2024-11752.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/zero123 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/zero123/MAL-2024-11752.json - https://github.com/advisories/GHSA-hxjg-gq8r-x2x3
Compromised versions (1)
- = 9.6
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.