pypi · Malicious package advisory
Malwaredo-not-install-this-package-001
GHSA-r27c-hjhq-94fp
Malicious code in do-not-install-this-package-001 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1.3` ## Source: kam193 (27c17335ba5378258efc5d22274e8104e45a493eec51d60d0adbeb9c4f627714) Generic campaign for all (likely) research / pentests, where the amount or art of collected data raises questions about the privacy, security and ethical side. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: GENERIC-questionable-pentest Reasons (based on the campaign): - exfiltration-env-variables - exfiltration-generic - The package overrides the install command in setup.py to execute malicious code during installation. - typosquatting ## Source: ossf-package-analysis (399ba544f533d013d73525a2e22fbc83c2f4f00ce44c27c15cff9ca8ccaf11de) The OpenSSF Package Analysis project identified 'do-not-install-this-package-001' @ 0.1.3 (pypi) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity. - The package executes one or more commands associated with malicious behavior. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/do-not-install-this-package-001/MAL-2025-192387.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/do-not-install-this-package-001 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/do-not-install-this-package-001/MAL-2025-192387.json - https://github.com/advisories/GHSA-r27c-hjhq-94fp
Compromised versions (1)
- = 0.1.3
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.