mal-2024-12359
Vulnerability from ossf_malicious_packages
Published
2024-09-06 11:29
Modified
2025-12-11 09:27
Summary
Malicious code in test-packages1 (PyPI)
Details

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

Source: kam193 (5c5608702af52a2ca19f0b384036f76248848f4b4ddbe582631d85b3f5e77dca)

Generic campaign for all (likely) research / pentests, where the amount or art of collected data raises questions about the privacy, security and ethical side.


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

Campaign: GENERIC-questionable-pentest

Reasons (based on the campaign):

  • exfiltration-env-variables

  • exfiltration-generic

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

  • typosquatting


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "test-packages1"
      },
      "versions": [
        "0.1",
        "0.1.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/GENERIC-questionable-pentest/test-packages1",
        "import_time": "2025-12-02T22:30:55.63396683Z",
        "modified_time": "2024-09-06T11:29:16Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "c60c102f9f6ceedd506c000b76c2d9bc8cb9de87dae7007d3888169a1c6a0d98",
        "source": "kam193"
      },
      {
        "id": "pypi/GENERIC-questionable-pentest/test-packages1",
        "import_time": "2025-12-02T23:07:18.675662439Z",
        "modified_time": "2024-09-06T11:29:16Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "5c5608702af52a2ca19f0b384036f76248848f4b4ddbe582631d85b3f5e77dca",
        "source": "kam193"
      },
      {
        "id": "pypi/GENERIC-questionable-pentest/test-packages1",
        "import_time": "2025-12-10T21:38:57.861483179Z",
        "modified_time": "2024-09-06T11:29:16Z",
        "sha256": "066ac6f5ce3ec3b9e427561d028af8136188144ec83d09c97667128e25afb9ea",
        "source": "kam193",
        "versions": [
          "0.1",
          "0.1.1"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (5c5608702af52a2ca19f0b384036f76248848f4b4ddbe582631d85b3f5e77dca)\nGeneric campaign for all (likely) research / pentests, where the amount or art of collected data raises questions about the privacy, security and ethical side.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: GENERIC-questionable-pentest\n\n\nReasons (based on the campaign):\n\n\n - exfiltration-env-variables\n\n\n - exfiltration-generic\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - typosquatting\n",
  "id": "MAL-2024-12359",
  "modified": "2025-12-11T09:27:54Z",
  "published": "2024-09-06T11:29:16Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/test-packages1"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in test-packages1 (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…