MAL-2025-191895

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/testpurpleteaming/MAL-2025-191895.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-191895
Published
2025-11-06T08:41:26Z
Modified
2025-12-31T02:55:15.159264Z
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.

Database specific
{
    "malicious-packages-origins": [
        {
            "versions": [
                "1.26.14",
                "1.26.13",
                "1.26.10"
            ],
            "modified_time": "2025-11-06T08:41:26.339581Z",
            "sha256": "0fe53e58a334a93d294bcc842d0e8dffeb641d4d3e47697f14d5efb68f57646e",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/testpurpleteaming",
            "source": "kam193",
            "import_time": "2025-12-02T22:30:56.447511825Z"
        },
        {
            "versions": [
                "1.26.14",
                "1.26.13",
                "1.26.10"
            ],
            "modified_time": "2025-11-06T08:41:26.339581Z",
            "sha256": "e4cc49d59c07354a2817163d4e569b1f6d2e6cf17c5c7fb0135bc5feebdfea4e",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/testpurpleteaming",
            "source": "kam193",
            "import_time": "2025-12-02T23:07:19.631895235Z"
        },
        {
            "versions": [
                "1.26.10",
                "1.26.13",
                "1.26.14"
            ],
            "modified_time": "2025-11-06T08:41:26.339581Z",
            "sha256": "5040fc8eba3b27b847e26a52320a16c5ba1cda610bb8fce4bec8df244c20e3a6",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/testpurpleteaming",
            "source": "kam193",
            "import_time": "2025-12-30T22:39:04.356294869Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / testpurpleteaming

Package

Name
testpurpleteaming
View open source insights on deps.dev
Purl
pkg:pypi/testpurpleteaming

Affected ranges

Affected versions

1.*
1.26.10
1.26.13
1.26.14

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/testpurpleteaming/MAL-2025-191895.json"