Skip to content
OpenAdvisories
Malicious MAL-2025-191752

helmet-fastapi

PyPI package · versions 1.2, 1.3, 1.3.1, 1.3.2, 1.3.3

Reported Apr 30, 2025 · Updated Dec 12, 2025

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: kam193 (c1f805932ecbcd95197e98c6e2336eb773252abf5615fe135076d1848cb90395)
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