pypi · Malicious package advisory
Malwaretest-py-conn
GHSA-jwrx-q3r5-57cv
Malicious code in test-py-conn (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.0.1` ## Source: kam193 (7e39e3b24f15db8e5eff412ba6cb217986b6f80b6923712abd1efee4cf79a7ed) The code automatically starts a worker designed to survive the exit of the main process. The worker load code from a PYC file which then connects to pre-defined C2 server and awaits commands to execute. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-05-test-py-conn Reasons (based on the campaign): - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine. - rat --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/test-py-conn/MAL-2026-3356.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/test-py-conn - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/test-py-conn/MAL-2026-3356.json - https://github.com/advisories/GHSA-jwrx-q3r5-57cv
Compromised versions (1)
- = 0.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.