{"id":"MAL-2025-191761","summary":"Malicious code in hooktest3 (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (3d1104ab742749c40acd3c4c989dba15890db64fd22f688dea72727fbc5b9d23)\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","modified":"2025-12-03T00:24:34.132056Z","published":"2025-12-02T08:19:15Z","database_specific":{"malicious-packages-origins":[{"sha256":"03446293baa732834900cda71b588009cb031b9ef180c0c89bf4147191eb530a","source":"kam193","versions":["0.1.1"],"id":"pypi/2025-11-hooktest1/hooktest3","import_time":"2025-12-02T22:30:55.254071274Z","modified_time":"2025-12-02T08:19:15.94106Z"},{"modified_time":"2025-12-02T08:19:15.94106Z","sha256":"3d1104ab742749c40acd3c4c989dba15890db64fd22f688dea72727fbc5b9d23","source":"kam193","versions":["0.1.1"],"id":"pypi/2025-11-hooktest1/hooktest3","import_time":"2025-12-02T23:07:18.276674017Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/hooktest3"}],"affected":[{"package":{"name":"hooktest3","ecosystem":"PyPI","purl":"pkg:pypi/hooktest3"},"versions":["0.1.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/hooktest3/MAL-2025-191761.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":"REPORTER"}]}