{"id":"MAL-2025-192685","summary":"Malicious code in hooktest-fin (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (87e6fba5c0ac4b5359cb360a5dbf68404d0b8559bd94a9f4c33fdad09559b241)\nDuring installation, a script to execute remote commands through a Discord bot is installed, ensuring its persistence over reboots\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","modified":"2025-12-21T15:11:12.749268Z","published":"2025-12-21T14:09:21Z","database_specific":{"malicious-packages-origins":[{"versions":["0.1.1"],"id":"pypi/2025-11-hooktest1/hooktest-fin","import_time":"2025-12-21T14:37:49.460199745Z","modified_time":"2025-12-21T14:09:21.67196Z","sha256":"87e6fba5c0ac4b5359cb360a5dbf68404d0b8559bd94a9f4c33fdad09559b241","source":"kam193"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/hooktest-fin"}],"affected":[{"package":{"name":"hooktest-fin","ecosystem":"PyPI","purl":"pkg:pypi/hooktest-fin"},"versions":["0.1.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/hooktest-fin/MAL-2025-192685.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}