{"id":"MAL-2025-2959","summary":"Malicious code in evil-pkg (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (366920f1b216795839a0a8533db122155f0c839032a67fdd6a33544179749a2c)\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:48.680106Z","published":"2024-08-23T22:55:41Z","database_specific":{"malicious-packages-origins":[{"sha256":"5d757f156495cc977a74e261d644d9002e32680ed5279583bbb22b9dd6d4bee8","import_time":"2025-03-31T07:07:05.438251677Z","modified_time":"2025-03-28T13:05:36Z","versions":["0.1"],"source":"reversing-labs","id":"RLMA-2025-01957"},{"sha256":"1800e8ca65a45d816eafc4d336142aad92472f617ae84018d31dbffece4552c9","import_time":"2025-12-02T22:30:56.012277829Z","modified_time":"2024-08-23T22:55:41Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"source":"kam193","id":"pypi/GENERIC-simple-tests/evil-pkg"},{"sha256":"366920f1b216795839a0a8533db122155f0c839032a67fdd6a33544179749a2c","import_time":"2025-12-02T23:07:19.210887836Z","modified_time":"2024-08-23T22:55:41Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"source":"kam193","id":"pypi/GENERIC-simple-tests/evil-pkg"},{"sha256":"153ac9b1dd3236fa2d7fb8a976942256e317f234878c719ff71a07c61eb3e014","import_time":"2025-12-10T21:38:58.348371253Z","modified_time":"2024-08-23T22:55:41Z","versions":["0.1"],"source":"kam193","id":"pypi/GENERIC-simple-tests/evil-pkg"},{"sha256":"388c27b2933eca8e4d04f38bb797ad169d93b538ab237d1c711ae39a401c194c","import_time":"2026-03-19T12:19:43.44022178Z","modified_time":"2026-03-18T12:13:37Z","source":"reversing-labs","id":"RLUA-2026-00302"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/evil-pkg"}],"affected":[{"package":{"name":"evil-pkg","ecosystem":"PyPI","purl":"pkg:pypi/evil-pkg"},"versions":["0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/evil-pkg/MAL-2025-2959.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"}]}