{"id":"MAL-2025-2961","summary":"Malicious code in evil-pkg2 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (d1e1a7a65c4f1287f792371642eb66734028aa9dc7ffc50adde9b551e082bdb1)\nPackages that might be part of testing for pentesting / malicious activity / joy, with suspicious activity that does not present any real harm.\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-simple-tests\n\n\nReasons (based on the campaign):\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n","modified":"2026-03-19T12:52:52.333237Z","published":"2024-08-23T22:55:41Z","database_specific":{"malicious-packages-origins":[{"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":"RLMA-2025-01959"},{"source":"kam193","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"},{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"d1e1a7a65c4f1287f792371642eb66734028aa9dc7ffc50adde9b551e082bdb1","source":"kam193","id":"pypi/GENERIC-simple-tests/evil-pkg2","import_time":"2025-12-02T23:07:19.212546351Z","modified_time":"2024-08-23T22:55:41Z"},{"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":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/evil-pkg2"}],"affected":[{"package":{"name":"evil-pkg2","ecosystem":"PyPI","purl":"pkg:pypi/evil-pkg2"},"versions":["0.2","0.3"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/evil-pkg2/MAL-2025-2961.json"}}],"schema_version":"1.7.5","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"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}