{"id":"MAL-2024-12333","summary":"Malicious code in python-bitget-api (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (cac6988c3746b27c0cc34a156657431c2a0c0c36de45c6b88a00130d30dfd66e)\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":"2025-12-12T20:41:32.549676Z","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":[{"modified_time":"2024-12-12T21:48:47Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"a5fe8ca96d7c776e6075d499136bb772e611074714fe83f965c747eb653b6abc","source":"kam193","id":"pypi/2024-12-python-bitget-api/python-bitget-api","import_time":"2025-12-02T22:30:55.487507567Z"},{"id":"pypi/2024-12-python-bitget-api/python-bitget-api","import_time":"2025-12-02T23:07:18.512786121Z","modified_time":"2024-12-12T21:48:47Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"sha256":"cac6988c3746b27c0cc34a156657431c2a0c0c36de45c6b88a00130d30dfd66e","source":"kam193"},{"import_time":"2025-12-10T21:38:57.724026949Z","modified_time":"2024-12-12T21:48:47Z","sha256":"29ef7b696db534499045bf5afb8add3b248725e4dd618427f691ace7e0a88929","source":"kam193","versions":["3.1.5","3.3.5"],"id":"pypi/2024-12-python-bitget-api/python-bitget-api"}]},"references":[{"type":"EVIDENCE","url":"https://www.virustotal.com/gui/file/a3b25b30a607645efefa26180baf183695c97c58b06aa6a67af1332cd3fe582e/"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/python-bitget-api"}],"affected":[{"package":{"name":"python-bitget-api","ecosystem":"PyPI","purl":"pkg:pypi/python-bitget-api"},"versions":["3.1.5","3.3.5"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/python-bitget-api/MAL-2024-12333.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"}]}