mal-2025-962
Vulnerability from ossf_malicious_packages
Published
2024-12-12 21:48
Modified
2025-12-11 09:27
Summary
Malicious code in python-bitget-request (PyPI)
Details
-= Per source details. Do not edit below this line.=-
Source: kam193 (bf787bcce66ad47046d93086a114a0f144b0f538b3d969fea6aea42b2312f58b)
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-request",
"purl": "pkg:pypi/python-bitget-request"
},
"versions": [
"3.9.5",
"4.9.5"
]
}
],
"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-00503",
"import_time": "2025-02-03T18:38:08.191671435Z",
"modified_time": "2025-02-03T17:07:43Z",
"sha256": "12c0558f868db13c2258c4dcff1e3b8b7b7a563e9dc507a0381255dbb48be096",
"source": "reversing-labs",
"versions": [
"3.9.5",
"4.9.5"
]
},
{
"id": "pypi/2024-12-python-bitget-api/python-bitget-request",
"import_time": "2025-12-02T22:30:55.489301941Z",
"modified_time": "2024-12-12T21:48:47Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "869a2b96575d696799f9aafd928391f67ea03b8dc055c567994919d943894c8d",
"source": "kam193"
},
{
"id": "pypi/2024-12-python-bitget-api/python-bitget-request",
"import_time": "2025-12-02T23:07:18.514553691Z",
"modified_time": "2024-12-12T21:48:47Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "bf787bcce66ad47046d93086a114a0f144b0f538b3d969fea6aea42b2312f58b",
"source": "kam193"
},
{
"id": "pypi/2024-12-python-bitget-api/python-bitget-request",
"import_time": "2025-12-10T21:38:57.735046422Z",
"modified_time": "2024-12-12T21:48:47Z",
"sha256": "0639742fe0ca7fa0b75e7e4e382a95881173dfadb96c916d848954084d7ae1b2",
"source": "kam193",
"versions": [
"3.9.5",
"4.9.5"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (bf787bcce66ad47046d93086a114a0f144b0f538b3d969fea6aea42b2312f58b)\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-962",
"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-request"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in python-bitget-request (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…