mal-2025-934
Vulnerability from ossf_malicious_packages
Published
2024-12-04 06:28
Modified
2025-12-11 09:27
Summary
Malicious code in huggingleg2 (PyPI)
Details
-= Per source details. Do not edit below this line.=-
Source: kam193 (19ba00b8fab08e8016af3bfb4ba9fbb18510b2aa823dfb82a46a5b3ecd477655)
Installing the package starts a revshell
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2024-12-huggingleg2
Reasons (based on the campaign):
-
The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.
-
The package overrides the install command in setup.py to execute malicious code during installation.
Credits
ReversingLabs
www.reversinglabs.com
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "huggingleg2",
"purl": "pkg:pypi/huggingleg2"
},
"versions": [
"0.1"
]
}
],
"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": "ANALYST"
},
{
"contact": [
"https://www.reversinglabs.com"
],
"name": "ReversingLabs",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "RLMA-2025-00474",
"import_time": "2025-02-03T18:38:06.804154563Z",
"modified_time": "2025-02-03T17:07:27Z",
"sha256": "c3d2d113b69ab7c811fd32de5f831f98c73976e678425f05c61747b81078f1a9",
"source": "reversing-labs",
"versions": [
"0.1"
]
},
{
"id": "pypi/2024-12-huggingleg2/huggingleg2",
"import_time": "2025-12-02T22:30:55.262326202Z",
"modified_time": "2024-12-04T06:28:49Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "b5db7f765f02adaa83c6f464ec54339279b949420281dfa726e684715f5fe232",
"source": "kam193"
},
{
"id": "pypi/2024-12-huggingleg2/huggingleg2",
"import_time": "2025-12-02T23:07:18.28670537Z",
"modified_time": "2024-12-04T06:28:49Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "19ba00b8fab08e8016af3bfb4ba9fbb18510b2aa823dfb82a46a5b3ecd477655",
"source": "kam193"
},
{
"id": "pypi/2024-12-huggingleg2/huggingleg2",
"import_time": "2025-12-10T21:38:57.538068611Z",
"modified_time": "2024-12-04T06:28:49Z",
"sha256": "6ba90df2440613af1727c5b46a669b1bc6f196fc46667d87c39157d5e96a05e3",
"source": "kam193",
"versions": [
"0.1"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (19ba00b8fab08e8016af3bfb4ba9fbb18510b2aa823dfb82a46a5b3ecd477655)\nInstalling the package starts a revshell\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-12-huggingleg2\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim\u0027s machine.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n",
"id": "MAL-2025-934",
"modified": "2025-12-11T09:27:53Z",
"published": "2024-12-04T06:28:49Z",
"references": [
{
"type": "WEB",
"url": "https://bad-packages.kam193.eu/pypi/package/huggingleg2"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in huggingleg2 (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…