NetSight
criticalMalware report

GHSA-33jp-247c-9g35

Malicious code in python-bitget-api (PyPI)

Impact

## Source: kam193 (cac6988c3746b27c0cc34a156657431c2a0c0c36de45c6b88a00130d30dfd66e) Importing 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". --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2024-12-python-bitget-api Reasons (based on the campaign): - typosquatting - obfuscation - clones-real-package - dependency-confusion - crypto-related - impersonation - Downloads and executes a remote malicious script. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/python-bitget-api/MAL-2024-12333.json))

Affected packages

EcosystemPackageAffectedFixed in
pippython-bitget-api= 3.1.5none recorded
pippython-bitget-api= 3.3.5none recorded

Weakness classification

References