MAL-2025-2973 Malicious code in marinff-test (PyPI)

Malicious package Published
Package
marinff-test
Registry
PyPI

What is MAL-2025-2973?

MAL-2025-2973 is a malicious package in marinff-test, 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-2973?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2025-2973 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free