{"id":"MAL-2025-191759","summary":"Malicious code in hkmat (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (c3c3063747c35c5ae091331ac2c35dbef66c945aca73b06ee32ef1f0ec088009)\nImporting the module starts a telegram bot that connects to a chat and executes provided commands\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-07-talbat\n\n\nReasons (based on the campaign):\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 - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.\n","modified":"2025-12-12T20:40:00.414265Z","published":"2025-07-19T21:59:13Z","database_specific":{"malicious-packages-origins":[{"sha256":"1297cb7ab5254f5324b2bf09802d5e20482d3e6d8bbc02ae514a97d8dd5883ad","source":"kam193","id":"pypi/2025-07-talbat/hkmat","import_time":"2025-12-02T22:30:55.250482197Z","modified_time":"2025-07-19T21:59:13.607718Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"id":"pypi/2025-07-talbat/hkmat","import_time":"2025-12-02T23:07:18.273556733Z","modified_time":"2025-07-19T21:59:13.607718Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"c3c3063747c35c5ae091331ac2c35dbef66c945aca73b06ee32ef1f0ec088009","source":"kam193"},{"import_time":"2025-12-10T21:38:57.528177294Z","modified_time":"2025-07-19T21:59:13.607718Z","sha256":"654aa9ece07b7c88baca510b7929527765db14eb99ef949546543ae64ba6c105","source":"kam193","versions":["1.0.0"],"id":"pypi/2025-07-talbat/hkmat"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/hkmat"}],"affected":[{"package":{"name":"hkmat","ecosystem":"PyPI","purl":"pkg:pypi/hkmat"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/hkmat/MAL-2025-191759.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"}]}