MAL-2025-4222

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/kms-tls-sdk/MAL-2025-4222.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-4222
Published
2024-07-26T16:53:30Z
Modified
2026-03-19T12:54:25Z
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.

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"
            ]
        },
        {
            "id": "RLUA-2026-00455",
            "import_time": "2026-03-19T12:19:57.767340301Z",
            "modified_time": "2026-03-18T12:15:25Z",
            "sha256": "3b42d4e7208cc25ce5de5af5e43e8d9d17e2efdbc6bb33c51f1a21e2f7a53c85",
            "source": "reversing-labs"
        }
    ]
}
References
Credits

Affected packages

PyPI / kms-tls-sdk

Package

Name
kms-tls-sdk
View open source insights on deps.dev
Purl
pkg:pypi/kms-tls-sdk

Affected ranges

Affected versions

0.*
0.6.0
0.6.1
0.6.5

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/kms-tls-sdk/MAL-2025-4222.json"