MAL-2025-191752

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/helmet-fastapi/MAL-2025-191752.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-191752
Published
2025-04-30T16:30:07Z
Modified
2025-12-12T20:39:59.768368Z
Summary
Malicious code in helmet-fastapi (PyPI)
Details

-= Per source details. Do not edit below this line.=-

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

Database specific
{
    "malicious-packages-origins": [
        {
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "pypi/2025-04-helmet-fastapi/helmet-fastapi",
            "sha256": "cde4ad41115adb4e499fc7867383ebf986e62fcfc2492dbf3ca4937e16178ed9",
            "source": "kam193",
            "modified_time": "2025-04-30T16:30:07Z",
            "import_time": "2025-12-02T22:30:55.241295959Z"
        },
        {
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "pypi/2025-04-helmet-fastapi/helmet-fastapi",
            "sha256": "c1f805932ecbcd95197e98c6e2336eb773252abf5615fe135076d1848cb90395",
            "source": "kam193",
            "modified_time": "2025-04-30T16:30:07Z",
            "import_time": "2025-12-02T23:07:18.264257026Z"
        },
        {
            "id": "pypi/2025-04-helmet-fastapi/helmet-fastapi",
            "sha256": "4621e284dc1fd619aaafc15169540550f8e6e4405c01a66d44e1dec597cb4deb",
            "source": "kam193",
            "versions": [
                "1.2",
                "1.3",
                "1.3.1",
                "1.3.2",
                "1.3.3"
            ],
            "modified_time": "2025-04-30T16:30:07Z",
            "import_time": "2025-12-10T21:38:57.526531323Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / helmet-fastapi

Package

Affected ranges

Affected versions

1.*
1.2
1.3
1.3.1
1.3.2
1.3.3

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/helmet-fastapi/MAL-2025-191752.json"