MAL-2025-191731 Malicious code in flask-auth-system (PyPI)

Malicious package Published
Package
flask-auth-system
Registry
PyPI

What is MAL-2025-191731?

MAL-2025-191731 is a malicious package in flask-auth-system, published on 2 Apr 2025.

Official description

On importing the module, the code attempts to span a reverse shell. In the current version, the remote domain does not exist


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2025-04-flask-auth-sys

Reasons (based on the campaign):

  • dependency-confusion

  • The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.

  • obfuscation

What should I do about MAL-2025-191731?

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

Sources

Is MAL-2025-191731 in your software?

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

Check your SBOMs for free