MAL-2026-3356 Malicious code in test-py-conn (PyPI)
- Package
- test-py-conn
- Registry
- PyPI
What is MAL-2026-3356?
MAL-2026-3356 is a malicious package in test-py-conn, published on 6 May 2026.
Official description
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
What should I do about MAL-2026-3356?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.