MAL-2025-191759

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/hkmat/MAL-2025-191759.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-191759
Published
2025-07-19T21:59:13Z
Modified
2025-12-12T20:40:00.414265Z
Summary
Malicious code in hkmat (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: kam193 (c3c3063747c35c5ae091331ac2c35dbef66c945aca73b06ee32ef1f0ec088009)

Importing the module starts a telegram bot that connects to a chat and executes provided commands


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2025-07-talbat

Reasons (based on the campaign):

  • The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.

  • The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "pypi/2025-07-talbat/hkmat",
            "modified_time": "2025-07-19T21:59:13.607718Z",
            "import_time": "2025-12-02T22:30:55.250482197Z",
            "sha256": "1297cb7ab5254f5324b2bf09802d5e20482d3e6d8bbc02ae514a97d8dd5883ad",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "kam193"
        },
        {
            "id": "pypi/2025-07-talbat/hkmat",
            "modified_time": "2025-07-19T21:59:13.607718Z",
            "import_time": "2025-12-02T23:07:18.273556733Z",
            "sha256": "c3c3063747c35c5ae091331ac2c35dbef66c945aca73b06ee32ef1f0ec088009",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "kam193"
        },
        {
            "versions": [
                "1.0.0"
            ],
            "id": "pypi/2025-07-talbat/hkmat",
            "modified_time": "2025-07-19T21:59:13.607718Z",
            "import_time": "2025-12-10T21:38:57.528177294Z",
            "sha256": "654aa9ece07b7c88baca510b7929527765db14eb99ef949546543ae64ba6c105",
            "source": "kam193"
        }
    ]
}
References
Credits

Affected packages

PyPI / hkmat

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/hkmat/MAL-2025-191759.json"