MAL-2025-191483

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/hooktest2/MAL-2025-191483.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-191483
Published
2025-11-26T06:40:43Z
Modified
2025-12-03T00:24:32Z
Summary
Malicious code in hooktest2 (PyPI)
Details

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

Source: kam193 (207bb5790445a690e4cbb75453026def57279287f88d6c54c7af956e3ba89e1c)

During installation, the package starts a code to retrieve and execute commands from Discord


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

Campaign: 2025-11-hooktest1

Reasons (based on the campaign):

  • The package overrides the install command in setup.py to execute malicious code during installation.

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

  • rat

Source: ossf-package-analysis (4f2601a65663badae35e814ced0812aa9618d4a318fb46f045721e67043d9957)

The OpenSSF Package Analysis project identified 'hooktest2' @ 0.1.1 (pypi) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.
Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2025-11-28T04:40:12.257693183Z",
            "modified_time": "2025-11-26T06:40:43Z",
            "sha256": "4f2601a65663badae35e814ced0812aa9618d4a318fb46f045721e67043d9957",
            "source": "ossf-package-analysis",
            "versions": [
                "0.1.1"
            ]
        },
        {
            "id": "pypi/2025-11-hooktest1/hooktest2",
            "import_time": "2025-12-02T22:30:55.253488575Z",
            "modified_time": "2025-11-26T08:07:26.214646Z",
            "sha256": "5620ff22dfb87011ca790d80b0ba39953cfda43853a70acf0ea4926e64fdeb7d",
            "source": "kam193",
            "versions": [
                "0.1.1"
            ]
        },
        {
            "id": "pypi/2025-11-hooktest1/hooktest2",
            "import_time": "2025-12-02T23:07:18.275961459Z",
            "modified_time": "2025-11-26T08:07:26.214646Z",
            "sha256": "207bb5790445a690e4cbb75453026def57279287f88d6c54c7af956e3ba89e1c",
            "source": "kam193",
            "versions": [
                "0.1.1"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / hooktest2

Package

Affected ranges

Affected versions

0.*
0.1.1

Database specific

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