{"id":"MAL-2025-4222","summary":"Malicious code in kms-tls-sdk (PyPI)","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 & 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","modified":"2026-03-19T12:54:25.683018Z","published":"2024-07-26T16:53:30Z","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"]},{"source":"kam193","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"},{"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":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"sha256":"e211b150f40985e98e9911c5d367f46e7b32351137aece84e0ffc6cd0ab7ef31","source":"kam193"},{"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-10T21:38:58.464778713Z"},{"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"],"id":"pypi/GENERIC-standard-pypi-install-pentest/kms-tls-sdk"},{"sha256":"3b42d4e7208cc25ce5de5af5e43e8d9d17e2efdbc6bb33c51f1a21e2f7a53c85","source":"reversing-labs","id":"RLUA-2026-00455","import_time":"2026-03-19T12:19:57.767340301Z","modified_time":"2026-03-18T12:15:25Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/kms-tls-sdk"}],"affected":[{"package":{"name":"kms-tls-sdk","ecosystem":"PyPI","purl":"pkg:pypi/kms-tls-sdk"},"versions":["0.6.1","0.6.0","0.6.5"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/kms-tls-sdk/MAL-2025-4222.json"}}],"schema_version":"1.7.5","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}