mal-2025-961
Vulnerability from ossf_malicious_packages
Published
2024-12-12 21:48
Modified
2025-12-11 09:27
Summary
Malicious code in python-bitget-connect (PyPI)
Details
-= Per source details. Do not edit below this line.=-
Source: kam193 (1797b7fdf9859888b5495817784ead0bdc01e6acad5ae410af1e1df89acbded6)
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-connect",
"purl": "pkg:pypi/python-bitget-connect"
},
"versions": [
"0.3.9"
]
}
],
"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-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"
},
{
"id": "pypi/2024-12-python-bitget-api/python-bitget-connect",
"import_time": "2025-12-02T23:07:18.513665753Z",
"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-10T21:38:57.725120327Z",
"modified_time": "2024-12-12T21:48:47Z",
"sha256": "7a012e54aba8c610d9e40e9a50c454f98125e42ebbec3d391c859abf2863e5d3",
"source": "kam193",
"versions": [
"0.3.9"
]
}
]
},
"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",
"id": "MAL-2025-961",
"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-connect"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in python-bitget-connect (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…