{"schema_version":"1.7.5","id":"MAL-2025-191760","published":"2025-11-23T16:26:36Z","modified":"2026-03-19T12:53:30.243077Z","summary":"Malicious code in hooktest1 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (b3e91d71ab21e3575f1354593a314d50bc188b0db7b3851040e522426a765417)\nDuring installation, the package starts a code to retrieve and execute commands from Discord\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-11-hooktest1\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\n\n - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.\n\n\n - rat\n","affected":[{"package":{"name":"hooktest1","ecosystem":"PyPI","purl":"pkg:pypi/hooktest1"},"versions":["0.1.1","0.1.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/hooktest1/MAL-2025-191760.json"}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/hooktest1"}],"database_specific":{"malicious-packages-origins":[{"id":"pypi/2025-11-hooktest1/hooktest1","import_time":"2025-12-02T22:30:55.252708367Z","modified_time":"2025-11-23T16:26:36.483924Z","sha256":"a5b3c9015ababfab03306c83c75f2f7b31c76874e7e591ffaf6b12b0e3b0f543","source":"kam193","versions":["0.1.1","0.1.0"]},{"id":"pypi/2025-11-hooktest1/hooktest1","import_time":"2025-12-02T23:07:18.275168109Z","modified_time":"2025-11-23T16:26:36.483924Z","sha256":"b3e91d71ab21e3575f1354593a314d50bc188b0db7b3851040e522426a765417","source":"kam193","versions":["0.1.1","0.1.0"]},{"id":"RLMA-2025-06569","import_time":"2025-12-24T10:07:30.641525728Z","modified_time":"2025-12-23T08:38:42Z","sha256":"b74fc5669380714b07015d75eada0da20479d05867676f16bd3a507eef910c0f","source":"reversing-labs","versions":["0.1.0","0.1.1"]},{"id":"pypi/2025-11-hooktest1/hooktest1","import_time":"2025-12-30T22:39:04.100274571Z","modified_time":"2025-11-23T16:26:36.483924Z","sha256":"299b7470e3d470e294ff376356681640cb4f6adf3dbfabfdbdad1fc47cb9b7b2","source":"kam193","versions":["0.1.0","0.1.1"]},{"id":"RLUA-2026-00394","import_time":"2026-03-19T12:19:52.273008201Z","modified_time":"2026-03-18T12:14:42Z","sha256":"ebd6b381b33c1b8aecf0255b45a7c845de271c39fa9fb82f8109d5f87c69442c","source":"reversing-labs"}]},"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":"REPORTER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}