mal-2024-1624
Vulnerability from ossf_malicious_packages
Published
2024-06-17 12:41
Modified
2025-12-11 09:27
Summary
Malicious code in importlib-metadate (PyPI)
Details

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

Source: kam193 (b6db8994d6a78a5d0d95df2d0add2257ee6188f8c5419cbd7e2813426739d15d)


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

Campaign: baidu-readver

Reasons (based on the campaign):

  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

Source: ossf-package-analysis (540e9c9d054904f5342d684bd5cabf212fdbe7e4d20bac7407c937a6b8264cab)

The OpenSSF Package Analysis project identified 'importlib-metadate' @ 99.99 (pypi) as malicious.

It is considered malicious because:

  • The package executes one or more commands associated with malicious behavior.



{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "importlib-metadate"
      },
      "versions": [
        "99.9",
        "99.99"
      ]
    }
  ],
  "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": "ANALYST"
    },
    {
      "contact": [
        "https://github.com/ossf/package-analysis",
        "https://openssf.slack.com/channels/package_analysis"
      ],
      "name": "OpenSSF: Package Analysis",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "import_time": "2024-06-18T01:30:46.804002774Z",
        "modified_time": "2024-06-17T12:41:40Z",
        "sha256": "53bd3e80b1638e34adc48ddfa9c544d1abe457f834b99802aec80f9de97a1609",
        "source": "ossf-package-analysis",
        "versions": [
          "99.9"
        ]
      },
      {
        "import_time": "2024-06-18T01:30:46.906571571Z",
        "modified_time": "2024-06-17T13:08:24Z",
        "sha256": "540e9c9d054904f5342d684bd5cabf212fdbe7e4d20bac7407c937a6b8264cab",
        "source": "ossf-package-analysis",
        "versions": [
          "99.99"
        ]
      },
      {
        "id": "pypi/baidu-readver/importlib-metadate",
        "import_time": "2025-12-02T22:30:55.271158177Z",
        "modified_time": "2024-06-28T20:25:32Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "c3a970a330e8642d80689a8e79c8ca4a5df45f4c7c570b09a432d75914f22baf",
        "source": "kam193"
      },
      {
        "id": "pypi/baidu-readver/importlib-metadate",
        "import_time": "2025-12-02T23:07:18.295440484Z",
        "modified_time": "2024-06-28T20:25:32Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "b6db8994d6a78a5d0d95df2d0add2257ee6188f8c5419cbd7e2813426739d15d",
        "source": "kam193"
      },
      {
        "id": "pypi/baidu-readver/importlib-metadate",
        "import_time": "2025-12-10T21:38:57.542747603Z",
        "modified_time": "2024-06-28T20:25:32Z",
        "sha256": "fa2b68b5159c5a57f42a3cc0b11555eccc9a75c75d1920f9511e5d35964500ad",
        "source": "kam193",
        "versions": [
          "99.9",
          "99.99"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (b6db8994d6a78a5d0d95df2d0add2257ee6188f8c5419cbd7e2813426739d15d)\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: baidu-readver\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n## Source: ossf-package-analysis (540e9c9d054904f5342d684bd5cabf212fdbe7e4d20bac7407c937a6b8264cab)\nThe OpenSSF Package Analysis project identified \u0027importlib-metadate\u0027 @ 99.99 (pypi) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n",
  "id": "MAL-2024-1624",
  "modified": "2025-12-11T09:27:53Z",
  "published": "2024-06-17T12:41:40Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/importlib-metadate"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in importlib-metadate (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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…