MAL-2024-12265

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/evil-pkk/MAL-2024-12265.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2024-12265
Published
2024-07-26T16:53:30Z
Modified
2025-12-12T20:37:29.246513Z
Summary
Malicious code in evil-pkk (PyPI)
Details

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

Source: kam193 (08a7017f27a32357776a4c781a0f5d29d48569562b97c03f91811af7aaaac2ca)

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": [
        {
            "id": "pypi/GENERIC-standard-pypi-install-pentest/evil-pkk",
            "modified_time": "2024-07-26T16:53:30Z",
            "import_time": "2025-12-02T22:30:56.014556166Z",
            "source": "kam193",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "sha256": "5e2d308305e53de55e643bd962e72eec29e184ce4c768c9d499eda9fed70c9fa"
        },
        {
            "id": "pypi/GENERIC-standard-pypi-install-pentest/evil-pkk",
            "modified_time": "2024-07-26T16:53:30Z",
            "import_time": "2025-12-02T23:07:19.213449717Z",
            "source": "kam193",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "sha256": "08a7017f27a32357776a4c781a0f5d29d48569562b97c03f91811af7aaaac2ca"
        },
        {
            "id": "pypi/GENERIC-standard-pypi-install-pentest/evil-pkk",
            "modified_time": "2024-07-26T16:53:30Z",
            "versions": [
                "0.4",
                "0.5"
            ],
            "source": "kam193",
            "import_time": "2025-12-10T21:38:58.351709795Z",
            "sha256": "fb255de615cbbe3d9338fc7bf1b376fdb1b14834ad960822d0b97027b137e7f6"
        }
    ]
}
References
Credits

Affected packages

PyPI / evil-pkk

Package

Affected ranges

Affected versions

0.*
0.4
0.5

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/evil-pkk/MAL-2024-12265.json"