{"id":"MAL-2025-961","summary":"Malicious code in python-bitget-connect (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (1797b7fdf9859888b5495817784ead0bdc01e6acad5ae410af1e1df89acbded6)\nImporting the module starts an obfuscated PowerShell code, which downloads and executes a remote script. On Windows, the script appears to just start the calculator. On MacOS, the file is identified as a Spark RAT by multiple vendors. Package impersonate the legitimate  \"python-bitget\".\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-12-python-bitget-api\n\n\nReasons (based on the campaign):\n\n\n - typosquatting\n\n\n - obfuscation\n\n\n - clones-real-package\n\n\n - dependency-confusion\n\n\n - crypto-related\n\n\n - impersonation\n\n\n - Downloads and executes a remote malicious script.\n","modified":"2026-03-19T12:56:05.397635Z","published":"2024-12-12T21:48:47Z","database_specific":{"iocs":{"urls":["https://dl.dropboxusercontent.com/scl/fi/bkhek6zqbo0cqgboteegj/1.txt?rlkey=yn18m53jayba4e3m5bdi02czm&st=eh1edmf0&dl=0","https://dl.dropboxusercontent.com/scl/fi/6hg0a8fg9m36eahv88rwo/template?rlkey=0vkaw44mh3gak6y82l4ht39zg&st=ygbc7qgh&dl=0"]},"malicious-packages-origins":[{"id":"RLMA-2025-00502","import_time":"2025-02-03T18:38:08.097841016Z","modified_time":"2025-02-03T17:07:42Z","sha256":"1c2a19d0fe7a2ac013b9ce0b76bd2facb91b7a7b305be7767645e72286f55894","source":"reversing-labs","versions":["0.3.9"]},{"id":"pypi/2024-12-python-bitget-api/python-bitget-connect","import_time":"2025-12-02T22:30:55.488457372Z","modified_time":"2024-12-12T21:48:47Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"aa12b88321b56f82aa423aee52c57fab95d744803b0fd744df340210f8f6e85c","source":"kam193"},{"modified_time":"2024-12-12T21:48:47Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"1797b7fdf9859888b5495817784ead0bdc01e6acad5ae410af1e1df89acbded6","source":"kam193","id":"pypi/2024-12-python-bitget-api/python-bitget-connect","import_time":"2025-12-02T23:07:18.513665753Z"},{"import_time":"2025-12-10T21:38:57.725120327Z","modified_time":"2024-12-12T21:48:47Z","sha256":"7a012e54aba8c610d9e40e9a50c454f98125e42ebbec3d391c859abf2863e5d3","source":"kam193","versions":["0.3.9"],"id":"pypi/2024-12-python-bitget-api/python-bitget-connect"},{"id":"RLUA-2026-00653","import_time":"2026-03-19T12:20:17.442964361Z","modified_time":"2026-03-18T12:17:41Z","sha256":"89bb36508379d918bcf29f652ce05951a9ef5c67a82b0d56912b5fb5f33472e4","source":"reversing-labs"}]},"references":[{"type":"EVIDENCE","url":"https://www.virustotal.com/gui/file/a3b25b30a607645efefa26180baf183695c97c58b06aa6a67af1332cd3fe582e/"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/python-bitget-connect"}],"affected":[{"package":{"name":"python-bitget-connect","ecosystem":"PyPI","purl":"pkg:pypi/python-bitget-connect"},"versions":["0.3.9"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/python-bitget-connect/MAL-2025-961.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":"REPORTER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}