pypi · Malicious package advisory
Malwaremarinff-test
GHSA-4xg5-64fg-596m
Malicious code in marinff-test (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.2` ## 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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/marinff-test/MAL-2025-2973.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/marinff-test - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/marinff-test/MAL-2025-2973.json - https://github.com/advisories/GHSA-4xg5-64fg-596m
Compromised versions (1)
- = 0.2
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.