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