MAL-2025-2959

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

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

Source: kam193 (366920f1b216795839a0a8533db122155f0c839032a67fdd6a33544179749a2c)

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-01957",
            "import_time": "2025-03-31T07:07:05.438251677Z",
            "sha256": "5d757f156495cc977a74e261d644d9002e32680ed5279583bbb22b9dd6d4bee8",
            "source": "reversing-labs",
            "modified_time": "2025-03-28T13:05:36Z",
            "versions": [
                "0.1"
            ]
        },
        {
            "id": "pypi/GENERIC-simple-tests/evil-pkg",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T22:30:56.012277829Z",
            "sha256": "1800e8ca65a45d816eafc4d336142aad92472f617ae84018d31dbffece4552c9",
            "source": "kam193",
            "modified_time": "2024-08-23T22:55:41Z"
        },
        {
            "id": "pypi/GENERIC-simple-tests/evil-pkg",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T23:07:19.210887836Z",
            "sha256": "366920f1b216795839a0a8533db122155f0c839032a67fdd6a33544179749a2c",
            "source": "kam193",
            "modified_time": "2024-08-23T22:55:41Z"
        },
        {
            "id": "pypi/GENERIC-simple-tests/evil-pkg",
            "import_time": "2025-12-10T21:38:58.348371253Z",
            "sha256": "153ac9b1dd3236fa2d7fb8a976942256e317f234878c719ff71a07c61eb3e014",
            "source": "kam193",
            "modified_time": "2024-08-23T22:55:41Z",
            "versions": [
                "0.1"
            ]
        },
        {
            "id": "RLUA-2026-00302",
            "import_time": "2026-03-19T12:19:43.44022178Z",
            "sha256": "388c27b2933eca8e4d04f38bb797ad169d93b538ab237d1c711ae39a401c194c",
            "source": "reversing-labs",
            "modified_time": "2026-03-18T12:13:37Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / evil-pkg

Package

Affected ranges

Affected versions

0.*
0.1

Database specific

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