{"id":"MAL-2024-12278","summary":"Malicious code in gltest (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (538a0e3540a764042a57930b8729d61b05747d057875504da316d6ee14bf91fd)\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:43.736506Z","published":"2024-08-23T22:55:41Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-simple-tests/gltest","import_time":"2025-12-02T22:30:56.061213267Z","modified_time":"2024-08-23T22:55:41Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"953fa9f478f5d4ee25d85fefe83ab76bc24bc378127c56fee2486e89ef1b4248","source":"kam193"},{"ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"538a0e3540a764042a57930b8729d61b05747d057875504da316d6ee14bf91fd","source":"kam193","id":"pypi/GENERIC-simple-tests/gltest","import_time":"2025-12-02T23:07:19.252002987Z","modified_time":"2024-08-23T22:55:41Z"},{"source":"kam193","versions":["2.0"],"id":"pypi/GENERIC-simple-tests/gltest","import_time":"2025-12-10T21:38:58.394328285Z","modified_time":"2024-08-23T22:55:41Z","sha256":"c2449c1b04e3cd301e2d2df4d2862ee66ed14b77e459eb1b31c73b1688ca68aa"},{"sha256":"7d3ef862309a888264d720acde53792700ab5b4c6c8f0690e69a502d8e833ad5","source":"kam193","versions":["2.0"],"id":"pypi/GENERIC-simple-tests/gltest","import_time":"2026-02-08T21:42:53.530543802Z","modified_time":"2026-02-08T21:26:46.491651Z"},{"id":"pypi/GENERIC-simple-tests/gltest","import_time":"2026-03-17T22:46:38.480723754Z","modified_time":"2026-02-08T21:26:46.491651Z","sha256":"7c587be8bc908391a1dbccc0a63e24eabe2314692dcf06ffb705ee1d1714d358","source":"kam193","versions":["2.0"]}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/gltest"}],"affected":[{"package":{"name":"gltest","ecosystem":"PyPI","purl":"pkg:pypi/gltest"},"versions":["2.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/gltest/MAL-2024-12278.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"}]}