mal-2025-963
Vulnerability from ossf_malicious_packages
Published
2024-12-12 21:48
Modified
2025-12-11 09:27
Summary
Malicious code in python-bitget-wrapper (PyPI)
Details
-= Per source details. Do not edit below this line.=-
Source: kam193 (769187e87797e69e9ebfc00eb97274a91fea1c86b1472b4ef6436441f737c8b9)
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.
Credits
ReversingLabs
www.reversinglabs.com
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "python-bitget-wrapper",
"purl": "pkg:pypi/python-bitget-wrapper"
},
"versions": [
"0.3.5",
"0.3.7"
]
}
],
"credits": [
{
"contact": [
"https://github.com/kam193",
"https://bad-packages.kam193.eu/"
],
"name": "Kamil Ma\u0144kowski (kam193)"
},
{
"contact": [
"https://github.com/kam193",
"https://bad-packages.kam193.eu/"
],
"name": "Kamil Ma\u0144kowski (kam193)",
"type": "REPORTER"
},
{
"contact": [
"https://www.reversinglabs.com"
],
"name": "ReversingLabs",
"type": "FINDER"
}
],
"database_specific": {
"iocs": {
"urls": [
"https://dl.dropboxusercontent.com/scl/fi/bkhek6zqbo0cqgboteegj/1.txt?rlkey=yn18m53jayba4e3m5bdi02czm\u0026st=eh1edmf0\u0026dl=0",
"https://dl.dropboxusercontent.com/scl/fi/6hg0a8fg9m36eahv88rwo/template?rlkey=0vkaw44mh3gak6y82l4ht39zg\u0026st=ygbc7qgh\u0026dl=0"
]
},
"malicious-packages-origins": [
{
"id": "RLMA-2025-00504",
"import_time": "2025-02-03T18:38:08.244071808Z",
"modified_time": "2025-02-03T17:07:43Z",
"sha256": "aa332d641a6e2a9b5b8302f5cac6ecc7bc2ec01546c9faaac150d06b7e3ed3ac",
"source": "reversing-labs",
"versions": [
"0.3.5",
"0.3.7"
]
},
{
"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",
"source": "kam193"
},
{
"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"
},
{
"id": "pypi/2024-12-python-bitget-api/python-bitget-wrapper",
"import_time": "2025-12-10T21:38:57.736070798Z",
"modified_time": "2024-12-12T21:48:47Z",
"sha256": "afc6eaf23ff6003cf95ac50498b63bb46ea8abba8f347edb8d8ce7cc4a2ae355",
"source": "kam193",
"versions": [
"0.3.5",
"0.3.7"
]
}
]
},
"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",
"id": "MAL-2025-963",
"modified": "2025-12-11T09:27:53Z",
"published": "2024-12-12T21:48:47Z",
"references": [
{
"type": "EVIDENCE",
"url": "https://www.virustotal.com/gui/file/a3b25b30a607645efefa26180baf183695c97c58b06aa6a67af1332cd3fe582e/"
},
{
"type": "WEB",
"url": "https://bad-packages.kam193.eu/pypi/package/python-bitget-wrapper"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in python-bitget-wrapper (PyPI)"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…