{"id":"MAL-2024-12238","summary":"Malicious code in cobo-custdy (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (cd0d754c7d09b395a490411bfdba9006309e5227c634e9946f4612de907de0d0)\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:47.657281Z","published":"2024-09-07T21:45:29Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/2024-08-old-cobo-sectest/cobo-custdy","source":"kam193","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"import_time":"2025-12-02T22:30:55.950276832Z","sha256":"58ed63a140469c371d91c33972db5fc9a754b8557dd979ed32a8ee960d2ad10c","modified_time":"2024-09-07T21:45:29Z"},{"id":"pypi/2024-08-old-cobo-sectest/cobo-custdy","source":"kam193","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"import_time":"2025-12-02T23:07:19.140398925Z","sha256":"cd0d754c7d09b395a490411bfdba9006309e5227c634e9946f4612de907de0d0","modified_time":"2024-09-07T21:45:29Z"},{"id":"pypi/2024-08-old-cobo-sectest/cobo-custdy","source":"kam193","versions":["0.1"],"import_time":"2025-12-10T21:38:58.278520395Z","sha256":"6b9bf08d855d4ff8a72c16a8bd8e55a5e2f20a7f42c514ed484e6c997102630a","modified_time":"2024-09-07T21:45:29Z"}],"iocs":{"urls":["http://114.132.245.217:40081"]}},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/cobo-custdy"}],"affected":[{"package":{"name":"cobo-custdy","ecosystem":"PyPI","purl":"pkg:pypi/cobo-custdy"},"versions":["0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/cobo-custdy/MAL-2024-12238.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"}]}