{"id":"MAL-2025-963","summary":"Malicious code in python-bitget-wrapper (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (769187e87797e69e9ebfc00eb97274a91fea1c86b1472b4ef6436441f737c8b9)\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:03.994879Z","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":[{"sha256":"aa332d641a6e2a9b5b8302f5cac6ecc7bc2ec01546c9faaac150d06b7e3ed3ac","source":"reversing-labs","versions":["0.3.5","0.3.7"],"id":"RLMA-2025-00504","import_time":"2025-02-03T18:38:08.244071808Z","modified_time":"2025-02-03T17:07:43Z"},{"source":"kam193","id":"pypi/2024-12-python-bitget-api/python-bitget-wrapper","import_time":"2025-12-02T22:30:55.490332256Z","modified_time":"2024-12-12T21:48:47Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"deb09e9342d4fbbca9607d785388d73ec9aa7d4724ec0d4af06133b9a4e62e49"},{"id":"pypi/2024-12-python-bitget-api/python-bitget-wrapper","import_time":"2025-12-02T23:07:18.515441639Z","modified_time":"2024-12-12T21:48:47Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"769187e87797e69e9ebfc00eb97274a91fea1c86b1472b4ef6436441f737c8b9","source":"kam193"},{"modified_time":"2024-12-12T21:48:47Z","sha256":"afc6eaf23ff6003cf95ac50498b63bb46ea8abba8f347edb8d8ce7cc4a2ae355","source":"kam193","versions":["0.3.5","0.3.7"],"id":"pypi/2024-12-python-bitget-api/python-bitget-wrapper","import_time":"2025-12-10T21:38:57.736070798Z"},{"id":"RLUA-2026-00655","import_time":"2026-03-19T12:20:17.664645699Z","modified_time":"2026-03-18T12:17:42Z","sha256":"3bf94d2e6c778fb9d3de0bb5b0586176649d8cdd55a49f228cb92f64348d7149","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-wrapper"}],"affected":[{"package":{"name":"python-bitget-wrapper","ecosystem":"PyPI","purl":"pkg:pypi/python-bitget-wrapper"},"versions":["0.3.5","0.3.7"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/python-bitget-wrapper/MAL-2025-963.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"}]}