mal-2025-191895
Vulnerability from ossf_malicious_packages
Published
2025-11-06 08:41
Modified
2025-12-31 02:45
Summary
Malicious code in testpurpleteaming (PyPI)
Details

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

Source: kam193 (e4cc49d59c07354a2817163d4e569b1f6d2e6cf17c5c7fb0135bc5feebdfea4e)

Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.


Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.

Campaign: GENERIC-standard-pypi-install-pentest

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.

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


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "testpurpleteaming"
      },
      "versions": [
        "1.26.14",
        "1.26.13",
        "1.26.10"
      ]
    }
  ],
  "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"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "pypi/GENERIC-standard-pypi-install-pentest/testpurpleteaming",
        "import_time": "2025-12-02T22:30:56.447511825Z",
        "modified_time": "2025-11-06T08:41:26.339581Z",
        "sha256": "0fe53e58a334a93d294bcc842d0e8dffeb641d4d3e47697f14d5efb68f57646e",
        "source": "kam193",
        "versions": [
          "1.26.14",
          "1.26.13",
          "1.26.10"
        ]
      },
      {
        "id": "pypi/GENERIC-standard-pypi-install-pentest/testpurpleteaming",
        "import_time": "2025-12-02T23:07:19.631895235Z",
        "modified_time": "2025-11-06T08:41:26.339581Z",
        "sha256": "e4cc49d59c07354a2817163d4e569b1f6d2e6cf17c5c7fb0135bc5feebdfea4e",
        "source": "kam193",
        "versions": [
          "1.26.14",
          "1.26.13",
          "1.26.10"
        ]
      },
      {
        "id": "pypi/GENERIC-standard-pypi-install-pentest/testpurpleteaming",
        "import_time": "2025-12-30T22:39:04.356294869Z",
        "modified_time": "2025-11-06T08:41:26.339581Z",
        "sha256": "5040fc8eba3b27b847e26a52320a16c5ba1cda610bb8fce4bec8df244c20e3a6",
        "source": "kam193",
        "versions": [
          "1.26.10",
          "1.26.13",
          "1.26.14"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (e4cc49d59c07354a2817163d4e569b1f6d2e6cf17c5c7fb0135bc5feebdfea4e)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research \u0026 co, with clearly low-harm possibilities.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\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\n - The package overrides the install command in setup.py to execute malicious code during installation.\n",
  "id": "MAL-2025-191895",
  "modified": "2025-12-31T02:45:16Z",
  "published": "2025-11-06T08:41:26Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/testpurpleteaming"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in testpurpleteaming (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…