MAL-2025-191752 Malicious code in helmet-fastapi (PyPI)

Malicious package Published
Package
helmet-fastapi
Registry
PyPI

What is MAL-2025-191752?

MAL-2025-191752 is a malicious package in helmet-fastapi, published on 30 Apr 2025.

Official description

Package contains hidden code adding a backdoor - a WebSocket path handler which will execute commands sent by an attacker knowing the path. In addition, it adds a log handler to remove related access logs.


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

Campaign: 2025-04-helmet-fastapi

Reasons (based on the campaign):

  • backdoor

  • obfuscation

What should I do about MAL-2025-191752?

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

Sources

Is MAL-2025-191752 in your software?

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

Check your SBOMs for free