mal-2024-5325
Vulnerability from ossf_malicious_packages
Published
2024-06-25 13:36
Modified
2025-12-24 10:09
Summary
Malicious code in libsock (PyPI)
Details
-= Per source details. Do not edit below this line.=-
Source: kam193 (8894e90cf943b19a12209f27fbd96009bc1c0c63af51f723208570e1afae2c47)
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2023-11-update-information-endpoint
Reasons (based on the campaign):
-
obfuscation
-
The package overrides the install command in setup.py to execute malicious code during installation.
-
typosquatting
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "libsock",
"purl": "pkg:pypi/libsock"
},
"versions": [
"1.1.3",
"1.1.0"
]
}
],
"aliases": [
"SNYK-PYTHON-LIBSOCK-6139261"
],
"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-2024-04107",
"import_time": "2024-06-28T02:49:21.576480588Z",
"modified_time": "2024-06-25T13:36:56Z",
"sha256": "74e9c1c0d56be08681f2347e7a45296f31c8c49b78eaf17c9a5fd7e2c610b836",
"source": "reversing-labs",
"versions": [
"1.1.3",
"1.1.0"
]
},
{
"id": "RLUA-2024-08471",
"import_time": "2024-10-24T00:59:24.567227115Z",
"modified_time": "2024-10-16T14:43:14Z",
"sha256": "7a615347539330614ba7156383cc8bb90f6abcd84f9636a4de17659825db0b59",
"source": "reversing-labs"
},
{
"id": "pypi/2023-11-update-information-endpoint/libsock",
"import_time": "2025-12-02T22:30:55.310100019Z",
"modified_time": "2024-08-09T19:17:59Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "ecbe2bc8b2c0d658a96156e7d7b6d71176492493bc325404b473a77a61f20f48",
"source": "kam193"
},
{
"id": "pypi/2023-11-update-information-endpoint/libsock",
"import_time": "2025-12-02T23:07:18.336512191Z",
"modified_time": "2024-08-09T19:17:59Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "8894e90cf943b19a12209f27fbd96009bc1c0c63af51f723208570e1afae2c47",
"source": "kam193"
},
{
"id": "pypi/2023-11-update-information-endpoint/libsock",
"import_time": "2025-12-10T21:38:57.570468101Z",
"modified_time": "2024-08-09T19:17:59Z",
"sha256": "0a6dbb368cef015d08b51bd6f3f2a3b7ba6bfa0c31175b761023c080a8edf470",
"source": "kam193",
"versions": [
"1.1.0",
"1.1.3"
]
},
{
"id": "RLUA-2025-06572",
"import_time": "2025-12-24T10:07:36.609918512Z",
"modified_time": "2025-12-23T08:38:57Z",
"sha256": "cfa1c23a3a97268aff98963dc583a071e1d1c81111f910599d210506facd446d",
"source": "reversing-labs"
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (8894e90cf943b19a12209f27fbd96009bc1c0c63af51f723208570e1afae2c47)\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2023-11-update-information-endpoint\n\n\nReasons (based on the campaign):\n\n\n - obfuscation\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - typosquatting\n",
"id": "MAL-2024-5325",
"modified": "2025-12-24T10:09:32Z",
"published": "2024-06-25T13:36:56Z",
"references": [
{
"type": "ARTICLE",
"url": "https://medium.com/checkmarx-security/python-packages-leverage-github-to-deploy-fileless-malware-b6c281dea58f"
},
{
"type": "ADVISORY",
"url": "https://security.snyk.io/vuln/SNYK-PYTHON-LIBSOCK-6139261"
},
{
"type": "WEB",
"url": "https://bad-packages.kam193.eu/pypi/package/libsock"
},
{
"type": "ARTICLE",
"url": "https://www.reversinglabs.com/blog/malware-leveraging-public-infrastructure-like-github-on-the-rise"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in libsock (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…