{"id":"MAL-2024-11732","summary":"Malicious code in torhc (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (385cb451ed567a10096fce231790d6a9bce59bb47c8d7bdfff5a8f4aaa0854ed)\nDuring installation, a cryptominer is secretly installed and started.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-09-bondonioanderas-cryptominer\n\n\nReasons (based on the campaign):\n\n\n - cryptominer\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - obfuscation\n","modified":"2026-03-19T12:57:39.105801Z","published":"2024-09-20T11:29:31Z","database_specific":{"malicious-packages-origins":[{"id":"RLMA-2024-11191","import_time":"2024-12-09T14:38:50.176875276Z","modified_time":"2024-12-09T06:51:21Z","sha256":"74161e8d53afa30730dffd346c40d6b02d650788784740bcf64ef24d323db50f","source":"reversing-labs","versions":["0.1"]},{"id":"pypi/2024-09-bondonioanderas-cryptominer/torhc","import_time":"2025-12-02T22:30:55.655154023Z","modified_time":"2024-09-20T11:29:31Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"b6df01c26a3d1c7009b1370ea05efc0fbf98317f5d36e7c4e7b35877d78cb82e","source":"kam193"},{"id":"pypi/2024-09-bondonioanderas-cryptominer/torhc","import_time":"2025-12-02T23:07:18.697975207Z","modified_time":"2024-09-20T11:29:31Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"sha256":"385cb451ed567a10096fce231790d6a9bce59bb47c8d7bdfff5a8f4aaa0854ed","source":"kam193"},{"modified_time":"2024-09-20T11:29:31Z","sha256":"d9e1ae340dabc14900487ed60c98e5f8bbc124fd011d0e630e31e428ce2cdb8c","source":"kam193","versions":["0.1"],"id":"pypi/2024-09-bondonioanderas-cryptominer/torhc","import_time":"2025-12-10T21:38:57.883559834Z"},{"modified_time":"2026-03-18T12:19:36Z","sha256":"302519140a93ac6b4dc296985eb16cf8b53236d750af695a71d11fa1978ab769","source":"reversing-labs","id":"RLUA-2026-00832","import_time":"2026-03-19T12:20:34.846469342Z"}],"iocs":{"urls":["https://raw.githubusercontent.com/MoneroOcean/xmrig_setup/master/setup_moneroocean_miner.sh"]}},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/torhc"}],"affected":[{"package":{"name":"torhc","ecosystem":"PyPI","purl":"pkg:pypi/torhc"},"versions":["0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/torhc/MAL-2024-11732.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":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}