MAL-2024-11708

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/sklearns/MAL-2024-11708.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2024-11708
Published
2024-07-26T16:53:30Z
Modified
2026-03-19T12:56:56Z
Summary
Malicious code in sklearns (PyPI)
Details

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

Source: kam193 (4e260abb013bb5822352ea0e834c081da4d0ab7c66ac8c853cfd809552d02d1a)

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-2024-11166",
            "import_time": "2024-12-09T14:38:49.142405473Z",
            "modified_time": "2024-12-09T06:51:10Z",
            "sha256": "b65e44dd655f4c6f4479ba4fc54e34336df0f1e4134d5e1c5fb0f45a95446762",
            "source": "reversing-labs",
            "versions": [
                "0.3"
            ]
        },
        {
            "id": "pypi/GENERIC-standard-pypi-install-pentest/sklearns",
            "import_time": "2025-12-02T22:30:56.407582601Z",
            "modified_time": "2024-07-26T16:53:30Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "e887bf777469970f69130d4b4c9a3ab938c4f7a93d037d06ade7be9d57079a10",
            "source": "kam193"
        },
        {
            "id": "pypi/GENERIC-standard-pypi-install-pentest/sklearns",
            "import_time": "2025-12-02T23:07:19.593780642Z",
            "modified_time": "2024-07-26T16:53:30Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "4e260abb013bb5822352ea0e834c081da4d0ab7c66ac8c853cfd809552d02d1a",
            "source": "kam193"
        },
        {
            "id": "pypi/GENERIC-standard-pypi-install-pentest/sklearns",
            "import_time": "2025-12-10T21:38:58.696853892Z",
            "modified_time": "2024-07-26T16:53:30Z",
            "sha256": "a9b09fddb2e713c5ca5d755dbad3da9733e5b74d153c285405c106c70b42b655",
            "source": "kam193",
            "versions": [
                "0.3"
            ]
        },
        {
            "id": "RLUA-2026-00762",
            "import_time": "2026-03-19T12:20:27.952117481Z",
            "modified_time": "2026-03-18T12:18:51Z",
            "sha256": "3151785db0d1ef96e47d1f58d83d08ce6971fd7f40b68aeb1cbf79df47d76067",
            "source": "reversing-labs"
        }
    ]
}
References
Credits

Affected packages

PyPI / sklearns

Package

Affected ranges

Affected versions

0.*
0.3

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/sklearns/MAL-2024-11708.json"