{"id":"MAL-2024-12326","summary":"Malicious code in pitest117 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (43f26cba5babf757388adacc9a7c7affeb182356ccf10416c13e9826e6eaf9a4)\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":"2025-12-31T02:56:07.265516Z","published":"2024-08-23T22:55:41Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-simple-tests/pitest117","import_time":"2025-12-02T22:30:56.300871566Z","modified_time":"2024-08-23T22:55:41Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"c3bf9319a2e230bc6fa4d1aaa812a56ad10b5edf7e920d497f6d6ad10c2de256","source":"kam193"},{"sha256":"43f26cba5babf757388adacc9a7c7affeb182356ccf10416c13e9826e6eaf9a4","source":"kam193","id":"pypi/GENERIC-simple-tests/pitest117","import_time":"2025-12-02T23:07:19.489197151Z","modified_time":"2024-08-23T22:55:41Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"id":"pypi/GENERIC-simple-tests/pitest117","import_time":"2025-12-10T21:38:58.604912551Z","modified_time":"2024-08-23T22:55:41Z","sha256":"76a9f39bd8a14389b4e9842a4d338e4528db058c52636750daab15fe6853642f","source":"kam193","versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.5","1.0.4","1.0.6","1.0.7","1.0.9","1.0.8","1.1.1","1.1.2"]},{"sha256":"cac4a1a98fc7a1e15789421f2ef9465d579ad5311120c79189e733a0dc767e3d","source":"kam193","versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.1","1.1.2"],"id":"pypi/GENERIC-simple-tests/pitest117","import_time":"2025-12-30T22:39:04.329720696Z","modified_time":"2024-08-23T22:55:41Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/pitest117"}],"affected":[{"package":{"name":"pitest117","ecosystem":"PyPI","purl":"pkg:pypi/pitest117"},"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.5","1.0.4","1.0.6","1.0.7","1.0.9","1.0.8","1.1.1","1.1.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pitest117/MAL-2024-12326.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"}]}