mal-2024-12322
Vulnerability from ossf_malicious_packages
Published
2024-12-19 21:59
Modified
2025-12-11 09:27
Summary
Malicious code in piepunk (PyPI)
Details

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

Source: kam193 (40c9660a52e99412daf32818f5263ad562bf43281984b9676aa93874912132be)

This is a clone of "pymunk" package. In the space.py file there is a code that attempts to exfiltrate data from the Discord client during initialization. L101:129


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

Campaign: 2024-12-piepunk

Reasons (based on the campaign):

  • exfiltration-generic

  • infostealer

  • clones-real-package

  • action-hidden-in-lib-usage


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "piepunk"
      },
      "versions": [
        "6.9.0",
        "6.9.1",
        "6.9.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/2024-12-piepunk/piepunk",
        "import_time": "2025-12-02T22:30:55.428770954Z",
        "modified_time": "2024-12-19T21:59:33Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "2150fce5d17537377c902711664078bdb143099946e2105018a4a43fedd84d87",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-12-piepunk/piepunk",
        "import_time": "2025-12-02T23:07:18.454048771Z",
        "modified_time": "2024-12-19T21:59:33Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "40c9660a52e99412daf32818f5263ad562bf43281984b9676aa93874912132be",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-12-piepunk/piepunk",
        "import_time": "2025-12-10T21:38:57.669292263Z",
        "modified_time": "2024-12-19T21:59:33Z",
        "sha256": "9c4476825aac01ea124ed0d6dede2b4183df8485af01036d7c35e19e4b3982a9",
        "source": "kam193",
        "versions": [
          "6.9.0",
          "6.9.1",
          "6.9.3"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (40c9660a52e99412daf32818f5263ad562bf43281984b9676aa93874912132be)\nThis is a clone of \"pymunk\" package. In the space.py file there is a code that attempts to exfiltrate data from the Discord client during initialization. L101:129\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-12-piepunk\n\n\nReasons (based on the campaign):\n\n\n - exfiltration-generic\n\n\n - infostealer\n\n\n - clones-real-package\n\n\n - action-hidden-in-lib-usage\n",
  "id": "MAL-2024-12322",
  "modified": "2025-12-11T09:27:53Z",
  "published": "2024-12-19T21:59:33Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/piepunk"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in piepunk (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…