mal-2025-3460
Vulnerability from ossf_malicious_packages
Published
2025-03-18 10:22
Modified
2025-12-11 09:27
Summary
Malicious code in python-socket-test (PyPI)
Details
-= Per source details. Do not edit below this line.=-
Source: kam193 (93a8d30e631680bace9b05db1ac189cbcc472895fcfb1db40f4df52f301a6599)
Importing the package starts a script that takes commands from remote server and executes locally
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2025-03-python-socket-test
Reasons (based on the campaign):
- The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.
Credits
ReversingLabs
www.reversinglabs.com
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "python-socket-test",
"purl": "pkg:pypi/python-socket-test"
},
"versions": [
"1.0.0",
"1.0.1",
"1.1.1",
"2.0.0",
"2.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-02524",
"import_time": "2025-04-25T09:36:47.589754624Z",
"modified_time": "2025-04-23T16:06:35Z",
"sha256": "382f73d1e1afdcb53f0f53d1971a55c246aeab8a4b44cb4bd2e8ad450aac24e4",
"source": "reversing-labs",
"versions": [
"1.0.0",
"1.0.1",
"1.1.1",
"2.0.0",
"2.0.1"
]
},
{
"id": "pypi/2025-03-python-socket-test/python-socket-test",
"import_time": "2025-12-02T22:30:55.493825504Z",
"modified_time": "2025-03-18T10:22:52Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "ebda3713b5dc5450e5ab29810baa209491367514409022f5514a592dd2aa43b3",
"source": "kam193"
},
{
"id": "pypi/2025-03-python-socket-test/python-socket-test",
"import_time": "2025-12-02T23:07:18.518739202Z",
"modified_time": "2025-03-18T10:22:52Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "93a8d30e631680bace9b05db1ac189cbcc472895fcfb1db40f4df52f301a6599",
"source": "kam193"
},
{
"id": "pypi/2025-03-python-socket-test/python-socket-test",
"import_time": "2025-12-10T21:38:57.737805993Z",
"modified_time": "2025-03-18T10:22:52Z",
"sha256": "84b55a44b9131e861d0ebe1884bed3f6ec52a705ccb96b8a3861e1a50a1fb8d0",
"source": "kam193",
"versions": [
"1.0.0",
"1.0.1",
"1.1.1",
"2.0.0",
"2.0.1"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (93a8d30e631680bace9b05db1ac189cbcc472895fcfb1db40f4df52f301a6599)\nImporting the package starts a script that takes commands from remote server and executes locally\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-03-python-socket-test\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to execute remote commands (probably limited to a specific set) on the victim\u0027s machine.\n",
"id": "MAL-2025-3460",
"modified": "2025-12-11T09:27:53Z",
"published": "2025-03-18T10:22:52Z",
"references": [
{
"type": "WEB",
"url": "https://bad-packages.kam193.eu/pypi/package/python-socket-test"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in python-socket-test (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…