MAL-2025-2961

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/evil-pkg2/MAL-2025-2961.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-2961
Published
2024-08-23T22:55:41Z
Modified
2026-03-19T12:52:52Z
Summary
Malicious code in evil-pkg2 (PyPI)
Details

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

Source: kam193 (d1e1a7a65c4f1287f792371642eb66734028aa9dc7ffc50adde9b551e082bdb1)

Packages that might be part of testing for pentesting / malicious activity / joy, with suspicious activity that does not present any real harm.


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-simple-tests

Reasons (based on the campaign):

  • The package overrides the install command in setup.py to execute malicious code during installation.
Database specific
{
    "malicious-packages-origins": [
        {
            "id": "RLMA-2025-01959",
            "import_time": "2025-03-31T07:07:05.516676221Z",
            "modified_time": "2025-03-28T13:05:38Z",
            "sha256": "374453a4f6e085b592f8b244146b4f1f6f3ff6be667d4cb49f4cc89a72756c66",
            "source": "reversing-labs",
            "versions": [
                "0.2",
                "0.3"
            ]
        },
        {
            "id": "pypi/GENERIC-simple-tests/evil-pkg2",
            "import_time": "2025-12-02T22:30:56.013957458Z",
            "modified_time": "2024-08-23T22:55:41Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "0bc093a5b181fc098ac0340b3842eec0235c04ee470746759f25fb89ee30ec88",
            "source": "kam193"
        },
        {
            "id": "pypi/GENERIC-simple-tests/evil-pkg2",
            "import_time": "2025-12-02T23:07:19.212546351Z",
            "modified_time": "2024-08-23T22:55:41Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "d1e1a7a65c4f1287f792371642eb66734028aa9dc7ffc50adde9b551e082bdb1",
            "source": "kam193"
        },
        {
            "id": "pypi/GENERIC-simple-tests/evil-pkg2",
            "import_time": "2025-12-10T21:38:58.350964767Z",
            "modified_time": "2024-08-23T22:55:41Z",
            "sha256": "76b237419286403d49ace6522d44ed518ec79d29ea6adea604b1869f42c2467d",
            "source": "kam193",
            "versions": [
                "0.2",
                "0.3"
            ]
        },
        {
            "id": "RLUA-2026-00304",
            "import_time": "2026-03-19T12:19:43.635411403Z",
            "modified_time": "2026-03-18T12:13:38Z",
            "sha256": "57ba871f57ec4f18112c590a5f2faed65e221e8ce6ff237c1645b58141cc5ef8",
            "source": "reversing-labs"
        }
    ]
}
References
Credits

Affected packages

PyPI / evil-pkg2

Package

Affected ranges

Affected versions

0.*
0.2
0.3

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/evil-pkg2/MAL-2025-2961.json"