MAL-2024-11624

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

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

Source: kam193 (8e98f53933a358e241d85c8222bb5093b52de69083969fc55de49b5ecc023050)

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": [
        {
            "sha256": "5a0055480738d2847720e9bfe8a5b63cd4580336747eb326262a9ee5385f10f4",
            "source": "reversing-labs",
            "modified_time": "2024-12-09T06:50:32Z",
            "id": "RLMA-2024-11078",
            "versions": [
                "0.1"
            ],
            "import_time": "2024-12-09T14:38:45.227112963Z"
        },
        {
            "sha256": "64a4485bbca41dd6587438000a134f178d650c7e102bcd428925fe5e5d6a279d",
            "source": "kam193",
            "modified_time": "2024-07-26T16:53:30Z",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/layoutspecs",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T22:30:56.165782351Z"
        },
        {
            "sha256": "8e98f53933a358e241d85c8222bb5093b52de69083969fc55de49b5ecc023050",
            "source": "kam193",
            "modified_time": "2024-07-26T16:53:30Z",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/layoutspecs",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T23:07:19.34751097Z"
        },
        {
            "sha256": "36b196225aebd015c1e9d9229261d3021abb6edac9dcf8b745e1d7fdbb499ea3",
            "source": "kam193",
            "modified_time": "2024-07-26T16:53:30Z",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/layoutspecs",
            "versions": [
                "0.1"
            ],
            "import_time": "2025-12-10T21:38:58.476108997Z"
        },
        {
            "sha256": "a6f6cc1fcb7e6fe8fd232a009c2b7b0255116983f46a824d25aed2e29d15a55f",
            "source": "reversing-labs",
            "modified_time": "2026-03-18T12:15:33Z",
            "id": "RLUA-2026-00465",
            "import_time": "2026-03-19T12:19:59.035275254Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / layoutspecs

Package

Affected ranges

Affected versions

0.*
0.1

Database specific

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