mal-2025-4222
Vulnerability from ossf_malicious_packages
Published
2024-07-26 16:53
Modified
2025-12-31 02:45
Summary
Malicious code in kms-tls-sdk (PyPI)
Details
-= Per source details. Do not edit below this line.=-
Source: kam193 (e211b150f40985e98e9911c5d367f46e7b32351137aece84e0ffc6cd0ab7ef31)
Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.
Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.
Campaign: GENERIC-standard-pypi-install-pentest
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.
-
The package overrides the install command in setup.py to execute malicious code during installation.
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "kms-tls-sdk",
"purl": "pkg:pypi/kms-tls-sdk"
},
"versions": [
"0.6.1",
"0.6.0",
"0.6.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": {
"malicious-packages-origins": [
{
"id": "RLMA-2025-02577",
"import_time": "2025-05-22T14:06:35.980783321Z",
"modified_time": "2025-05-22T12:33:36Z",
"sha256": "6624dff89cb94766960d56c869ecf713c412a65e6b6089a736994e1008f7b834",
"source": "reversing-labs",
"versions": [
"0.6.1"
]
},
{
"id": "pypi/GENERIC-standard-pypi-install-pentest/kms-tls-sdk",
"import_time": "2025-12-02T22:30:56.15272666Z",
"modified_time": "2024-07-26T16:53:30Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "1f181bb6c71d88c3d311bbf2908bda268ad6d09e22402926180c3a8f8aaface0",
"source": "kam193"
},
{
"id": "pypi/GENERIC-standard-pypi-install-pentest/kms-tls-sdk",
"import_time": "2025-12-02T23:07:19.335527905Z",
"modified_time": "2024-07-26T16:53:30Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "e211b150f40985e98e9911c5d367f46e7b32351137aece84e0ffc6cd0ab7ef31",
"source": "kam193"
},
{
"id": "pypi/GENERIC-standard-pypi-install-pentest/kms-tls-sdk",
"import_time": "2025-12-10T21:38:58.464778713Z",
"modified_time": "2024-07-26T16:53:30Z",
"sha256": "0d10fab14cccc86cb9a0a172bc3bc61e32a9ce9ad124dd6189e78295b0cddef3",
"source": "kam193",
"versions": [
"0.6.0",
"0.6.5",
"0.6.1"
]
},
{
"id": "pypi/GENERIC-standard-pypi-install-pentest/kms-tls-sdk",
"import_time": "2025-12-30T22:39:04.301181875Z",
"modified_time": "2024-07-26T16:53:30Z",
"sha256": "b578abcc63323112f63cbf6489e614df1d52d5571cc5289c18634d903ec7318e",
"source": "kam193",
"versions": [
"0.6.0",
"0.6.1",
"0.6.5"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (e211b150f40985e98e9911c5d367f46e7b32351137aece84e0ffc6cd0ab7ef31)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research \u0026 co, with clearly low-harm possibilities.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\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 - The package overrides the install command in setup.py to execute malicious code during installation.\n",
"id": "MAL-2025-4222",
"modified": "2025-12-31T02:45:15Z",
"published": "2024-07-26T16:53:30Z",
"references": [
{
"type": "WEB",
"url": "https://bad-packages.kam193.eu/pypi/package/kms-tls-sdk"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in kms-tls-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…