MAL-2025-191813

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/peptest2/MAL-2025-191813.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-191813
Published
2025-11-20T14:01:54Z
Modified
2026-03-19T12:55:19.338932Z
Summary
Malicious code in peptest2 (PyPI)
Details

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

Source: kam193 (60249233a6c88847f2043da362196e4b2652bd7dddb8dbfe92cc3e7b2b2676a9)

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.2.3",
                "1.2.2"
            ],
            "id": "pypi/GENERIC-standard-pypi-install-pentest/peptest2",
            "modified_time": "2025-11-20T14:01:54.195692Z",
            "import_time": "2025-12-02T22:30:56.293155185Z",
            "sha256": "d8efde2f9d8f24878f597969201158e0ffbef22f240f8abe8cf14b0f1bbdb347",
            "source": "kam193"
        },
        {
            "versions": [
                "1.2.3",
                "1.2.2"
            ],
            "id": "pypi/GENERIC-standard-pypi-install-pentest/peptest2",
            "modified_time": "2025-11-20T14:01:54.195692Z",
            "import_time": "2025-12-02T23:07:19.480743061Z",
            "sha256": "60249233a6c88847f2043da362196e4b2652bd7dddb8dbfe92cc3e7b2b2676a9",
            "source": "kam193"
        },
        {
            "versions": [
                "1.2.2",
                "1.2.3"
            ],
            "id": "RLMA-2025-06579",
            "modified_time": "2025-12-23T08:39:15Z",
            "import_time": "2025-12-24T10:07:30.932201212Z",
            "sha256": "06f37f4da9e84ef37d43dfb4909ff9992c3a6f0e9bc8f2fe8fba3cc6f7a44b41",
            "source": "reversing-labs"
        },
        {
            "versions": [
                "1.2.2",
                "1.2.3"
            ],
            "id": "pypi/GENERIC-standard-pypi-install-pentest/peptest2",
            "modified_time": "2025-11-20T14:01:54.195692Z",
            "import_time": "2025-12-30T22:39:04.327545931Z",
            "sha256": "9f7f49eeeb3645a4d00478512c472ff90f5119d8f7a73756a814f948bf65612b",
            "source": "kam193"
        },
        {
            "id": "RLUA-2026-00587",
            "modified_time": "2026-03-18T12:16:52Z",
            "import_time": "2026-03-19T12:20:11.746138978Z",
            "sha256": "c9ee09ca1a226f8fc054119ff303adb9ce669a77a35b6d724c75bf78a3c6e648",
            "source": "reversing-labs"
        }
    ]
}
References
Credits

Affected packages

PyPI / peptest2

Package

Affected ranges

Affected versions

1.*
1.2.2
1.2.3

Database specific

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