mal-2025-191752
Vulnerability from ossf_malicious_packages
Published
2025-04-30 16:30
Modified
2025-12-11 09:27
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


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "helmet-fastapi"
      },
      "versions": [
        "1.2",
        "1.3",
        "1.3.1",
        "1.3.2",
        "1.3.3"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)"
    },
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "pypi/2025-04-helmet-fastapi/helmet-fastapi",
        "import_time": "2025-12-02T22:30:55.241295959Z",
        "modified_time": "2025-04-30T16:30:07Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "cde4ad41115adb4e499fc7867383ebf986e62fcfc2492dbf3ca4937e16178ed9",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-04-helmet-fastapi/helmet-fastapi",
        "import_time": "2025-12-02T23:07:18.264257026Z",
        "modified_time": "2025-04-30T16:30:07Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "c1f805932ecbcd95197e98c6e2336eb773252abf5615fe135076d1848cb90395",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-04-helmet-fastapi/helmet-fastapi",
        "import_time": "2025-12-10T21:38:57.526531323Z",
        "modified_time": "2025-04-30T16:30:07Z",
        "sha256": "4621e284dc1fd619aaafc15169540550f8e6e4405c01a66d44e1dec597cb4deb",
        "source": "kam193",
        "versions": [
          "1.2",
          "1.3",
          "1.3.1",
          "1.3.2",
          "1.3.3"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (c1f805932ecbcd95197e98c6e2336eb773252abf5615fe135076d1848cb90395)\nPackage 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.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-04-helmet-fastapi\n\n\nReasons (based on the campaign):\n\n\n - backdoor\n\n\n - obfuscation\n",
  "id": "MAL-2025-191752",
  "modified": "2025-12-11T09:27:53Z",
  "published": "2025-04-30T16:30:07Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/helmet-fastapi"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in helmet-fastapi (PyPI)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…