{"id":"MAL-2024-12237","summary":"Malicious code in cobo-custdoy (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (1bb6da528665b6d869e583cb594f1f0cc7e7ccaf8cc5a7a859c0db9e7fa80c19)\nIt appears to be a forgotten pentest checking typosquatting against cobo-custody package, but may also have malicious purposes. During installation, if a machine is Mac, an obfuscated code attempts to download and execute a shell script. Currently, the server does not respond.\n\n\n---\n\nCategory: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.\n\n\nCampaign: 2024-08-old-cobo-sectest\n\n\nReasons (based on the campaign):\n\n\n - Downloads and executes a remote executable.\n\n\n - clones-real-package\n\n\n - crypto-related\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - obfuscation\n\n\n - typosquatting\n","modified":"2025-12-12T20:33:44.065608Z","published":"2024-09-07T21:45:29Z","database_specific":{"malicious-packages-origins":[{"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"import_time":"2025-12-02T22:30:55.949243982Z","modified_time":"2024-09-07T21:45:29Z","id":"pypi/2024-08-old-cobo-sectest/cobo-custdoy","source":"kam193","sha256":"98dab70ba7fa041c334d8111fdca72c44082587ae31c06aea908b24a8c34d238"},{"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"import_time":"2025-12-02T23:07:19.139385522Z","modified_time":"2024-09-07T21:45:29Z","id":"pypi/2024-08-old-cobo-sectest/cobo-custdoy","source":"kam193","sha256":"1bb6da528665b6d869e583cb594f1f0cc7e7ccaf8cc5a7a859c0db9e7fa80c19"},{"sha256":"6595e9aeeff235159a58718b78afd8b8616fa995d9b16f572a256930099fa19d","import_time":"2025-12-10T21:38:58.277344934Z","versions":["0.1"],"modified_time":"2024-09-07T21:45:29Z","id":"pypi/2024-08-old-cobo-sectest/cobo-custdoy","source":"kam193"}],"iocs":{"urls":["http://114.132.245.217:40081"]}},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/cobo-custdoy"}],"affected":[{"package":{"name":"cobo-custdoy","ecosystem":"PyPI","purl":"pkg:pypi/cobo-custdoy"},"versions":["0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/cobo-custdoy/MAL-2024-12237.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":"ANALYST"}]}