pypi · Malicious package advisory
Malwaremarinff-test
MAL-2025-2973
Malicious code in marinff-test (PyPI)
Details
--- _-= Per source details. Do not edit below this line.=-_ ## Source: kam193 (c25b081dd711bcb5076c5fbd0ea034850b8e428fed345d93e60036e0e91c9f66) 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.
Compromised versions (8)
- 0.2
- 0.3
- 0.4
- 0.5
- 0.6
- 0.7
- 0.8
- 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.