mal-2025-5096
Vulnerability from ossf_malicious_packages
Published
2025-05-19 15:43
Modified
2025-12-24 10:09
Summary
Malicious code in aliyun-ai-labs-snippets-sdk (PyPI)
Details
-= Per source details. Do not edit below this line.=-
Source: kam193 (459b9313aa2d453392e97f619a0ffb2898c3b90700e72dcb2cde4d1a1b97b1ac)
During the importing, it loads a file pretending to an AI model. This file contains pickle-serialized code that exfiltrates data (basic IP/username info, as well as .gitconfig) to a remote target.
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2025-05-ai-labs-snippets-sdk
Reasons (based on the campaign):
-
The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.
-
exfiltration-generic
-
impersonation
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "aliyun-ai-labs-snippets-sdk",
"purl": "pkg:pypi/aliyun-ai-labs-snippets-sdk"
},
"versions": [
"1.0.0",
"2.0.0",
"2.1.0"
]
}
],
"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": {
"domains": [
"aksjdbajkb2jeblad.oss-cn-hongkong.aliyuncs.com"
]
},
"malicious-packages-origins": [
{
"id": "RLMA-2025-02993",
"import_time": "2025-06-18T15:05:59.242582281Z",
"modified_time": "2025-06-18T10:15:01Z",
"sha256": "09496bdfd919482ae61650986520dcddefcc4bfb59d096a3d08b9d8d87201570",
"source": "reversing-labs",
"versions": [
"1.0.0",
"2.0.0",
"2.1.0"
]
},
{
"id": "pypi/2025-05-ai-labs-snippets-sdk/aliyun-ai-labs-snippets-sdk",
"import_time": "2025-12-02T22:30:54.899160626Z",
"modified_time": "2025-05-19T15:43:26Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "8d5c6c189f541e861379203e450c284ab9d8fa81eccaeb03d8abad076e8f1954",
"source": "kam193"
},
{
"id": "pypi/2025-05-ai-labs-snippets-sdk/aliyun-ai-labs-snippets-sdk",
"import_time": "2025-12-02T23:07:17.942847722Z",
"modified_time": "2025-05-19T15:43:26Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "459b9313aa2d453392e97f619a0ffb2898c3b90700e72dcb2cde4d1a1b97b1ac",
"source": "kam193"
},
{
"id": "pypi/2025-05-ai-labs-snippets-sdk/aliyun-ai-labs-snippets-sdk",
"import_time": "2025-12-10T21:38:57.249542393Z",
"modified_time": "2025-05-19T15:43:26Z",
"sha256": "c0224ee10c119727e17c4442ea2e501218589bcfd621e195ed4d4fa011d7dbac",
"source": "kam193",
"versions": [
"1.0.0",
"2.0.0",
"2.1.0"
]
},
{
"id": "RLUA-2025-06552",
"import_time": "2025-12-24T10:07:36.432004327Z",
"modified_time": "2025-12-23T08:37:54Z",
"sha256": "5ef61ced1119a091ad615414ea163fd85456d449b612e8c5508da1cff9796669",
"source": "reversing-labs"
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (459b9313aa2d453392e97f619a0ffb2898c3b90700e72dcb2cde4d1a1b97b1ac)\nDuring the importing, it loads a file pretending to an AI model. This file contains pickle-serialized code that exfiltrates data (basic IP/username info, as well as .gitconfig) to a remote target.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-05-ai-labs-snippets-sdk\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - exfiltration-generic\n\n\n - impersonation\n",
"id": "MAL-2025-5096",
"modified": "2025-12-24T10:09:32Z",
"published": "2025-05-19T15:43:26Z",
"references": [
{
"type": "WEB",
"url": "https://bad-packages.kam193.eu/pypi/package/aliyun-ai-labs-snippets-sdk"
},
{
"type": "ARTICLE",
"url": "https://www.reversinglabs.com/blog/malicious-attack-method-on-hosted-ml-models-now-targets-pypi"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in aliyun-ai-labs-snippets-sdk (PyPI)"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…