mal-2024-12282
Vulnerability from ossf_malicious_packages
Published
2024-12-24 17:49
Modified
2025-12-11 09:27
Summary
Malicious code in handyfiles (PyPI)
Details

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

Source: kam193 (381cd796d4e5fce8fb62c337374b5303e0b2466d67467efc95cbc4d7d8248dd4)

During the installation, the package iterates its files and attempts to import a hidden module - which is embedded as ZIP archive in the image file


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

Campaign: 2024-12-handyfiles

Reasons (based on the campaign):

  • The package overrides the install command in setup.py to execute malicious code during installation.

  • obfuscation


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "handyfiles"
      },
      "versions": [
        "0.0.1"
      ]
    }
  ],
  "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/2024-12-handyfiles/handyfiles",
        "import_time": "2025-12-02T22:30:55.235301379Z",
        "modified_time": "2024-12-24T17:49:23Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "ff07706cf12a9e367be39e539835ae8ee32652676ab1837588447db7871e60bb",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-12-handyfiles/handyfiles",
        "import_time": "2025-12-02T23:07:18.257293387Z",
        "modified_time": "2024-12-24T17:49:23Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "381cd796d4e5fce8fb62c337374b5303e0b2466d67467efc95cbc4d7d8248dd4",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-12-handyfiles/handyfiles",
        "import_time": "2025-12-10T21:38:57.520858731Z",
        "modified_time": "2024-12-24T17:49:23Z",
        "sha256": "7efccb64b4cdd8fb7874c44d3a4fc5d80cfcb38076c5bf26250310dddef5d4ee",
        "source": "kam193",
        "versions": [
          "0.0.1"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (381cd796d4e5fce8fb62c337374b5303e0b2466d67467efc95cbc4d7d8248dd4)\nDuring the installation, the package iterates its files and attempts to import a hidden module - which is embedded as ZIP archive in the image file\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-12-handyfiles\n\n\nReasons (based on the campaign):\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - obfuscation\n",
  "id": "MAL-2024-12282",
  "modified": "2025-12-11T09:27:53Z",
  "published": "2024-12-24T17:49:23Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/handyfiles"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in handyfiles (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…