MAL-2025-2952 Malicious code in ctf-aio-tool (PyPI)
- Package
- ctf-aio-tool
- Registry
- PyPI
What is MAL-2025-2952?
MAL-2025-2952 is a malicious package in ctf-aio-tool, published on 2 Mar 2025.
Official description
Installing the package starts a reverse shell. The remote server is, however, set as a local IP, so it's most probably testing
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-03-marinff
Reasons (based on the campaign):
The package overrides the install command in setup.py to execute malicious code during installation.
obfuscation
The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.
What should I do about MAL-2025-2952?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.