{"id":"MAL-2024-12276","summary":"Malicious code in get-root (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (1cb448108b11968d4fb13e0d12a3c089afa7eaeb7b288d6bc8e022ff1f4dd34a)\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-17T23:01:39.898335Z","published":"2024-08-23T22:55:41Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-simple-tests/get-root","import_time":"2025-12-02T22:30:56.056536317Z","modified_time":"2024-08-23T22:55:41Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"1ae3d0a4d42fff7539a990cfcae4c4d8d49adfeb290220ba2854d3f1cc15b018","source":"kam193"},{"modified_time":"2024-08-23T22:55:41Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"1cb448108b11968d4fb13e0d12a3c089afa7eaeb7b288d6bc8e022ff1f4dd34a","source":"kam193","id":"pypi/GENERIC-simple-tests/get-root","import_time":"2025-12-02T23:07:19.246959134Z"},{"source":"kam193","versions":["0.1"],"id":"pypi/GENERIC-simple-tests/get-root","import_time":"2025-12-10T21:38:58.388647309Z","modified_time":"2024-08-23T22:55:41Z","sha256":"c4d65ced84b12790984e252ae98dc0ad313697196f779fe21ec96a163602ebe8"},{"sha256":"95a851cc504dc7f9ebd9830a6af19c2beb690e967634c9dee8ad1660d660ba75","source":"kam193","versions":["0.1"],"id":"pypi/GENERIC-simple-tests/get-root","import_time":"2026-03-17T22:46:38.47977025Z","modified_time":"2024-08-23T22:55:41Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/get-root"}],"affected":[{"package":{"name":"get-root","ecosystem":"PyPI","purl":"pkg:pypi/get-root"},"versions":["0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/get-root/MAL-2024-12276.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":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}