{"id":"MAL-2024-12265","summary":"Malicious code in evil-pkk (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (08a7017f27a32357776a4c781a0f5d29d48569562b97c03f91811af7aaaac2ca)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: 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.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n","modified":"2025-12-12T20:37:29.246513Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"import_time":"2025-12-02T22:30:56.014556166Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"source":"kam193","sha256":"5e2d308305e53de55e643bd962e72eec29e184ce4c768c9d499eda9fed70c9fa","modified_time":"2024-07-26T16:53:30Z","id":"pypi/GENERIC-standard-pypi-install-pentest/evil-pkk"},{"import_time":"2025-12-02T23:07:19.213449717Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"source":"kam193","sha256":"08a7017f27a32357776a4c781a0f5d29d48569562b97c03f91811af7aaaac2ca","modified_time":"2024-07-26T16:53:30Z","id":"pypi/GENERIC-standard-pypi-install-pentest/evil-pkk"},{"import_time":"2025-12-10T21:38:58.351709795Z","versions":["0.4","0.5"],"source":"kam193","sha256":"fb255de615cbbe3d9338fc7bf1b376fdb1b14834ad960822d0b97027b137e7f6","modified_time":"2024-07-26T16:53:30Z","id":"pypi/GENERIC-standard-pypi-install-pentest/evil-pkk"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/evil-pkk"}],"affected":[{"package":{"name":"evil-pkk","ecosystem":"PyPI","purl":"pkg:pypi/evil-pkk"},"versions":["0.4","0.5"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/evil-pkk/MAL-2024-12265.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"ANALYST"}]}