pypi · Malicious package advisory
Malwarepy-publish-test-0126
GHSA-xxcq-v3j6-2x28
Malicious code in py-publish-test-0126 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.1.0` ## Source: kam193 (993085ca23a6a729d332eade4d58778a42c1d19b18237ab4b3c3a6bacf9fd126) Dependency confusion demonstration package with reporting through a decorator function --- 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: 2025-12-sec-lab-it Reasons (based on the campaign): - dependency-confusion - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk. - typosquatting --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/py-publish-test-0126/MAL-2026-98.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/py-publish-test-0126 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/py-publish-test-0126/MAL-2026-98.json - https://github.com/advisories/GHSA-xxcq-v3j6-2x28
Compromised versions (1)
- = 0.1.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.