MAL-2025-6510

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/glob-to-regexp/MAL-2025-6510.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-6510
Published
2024-09-06T11:29:16Z
Modified
2026-03-19T12:53:18.022652Z
Summary
Malicious code in glob-to-regexp (PyPI)
Details

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

Source: kam193 (ce8e1c3de8370811f29db098c2ca6d1fbd027017b5e29a9b540a3dbe8f58c704)

Generic campaign for all (likely) research / pentests, where the amount or art of collected data raises questions about the privacy, security and ethical side.


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

Campaign: GENERIC-questionable-pentest

Reasons (based on the campaign):

  • exfiltration-env-variables

  • exfiltration-generic

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

  • typosquatting

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2025-07-31T19:15:06Z",
            "versions": [
                "2.1.1"
            ],
            "sha256": "b31da7c7fd7ad49ca8a9405ced3e86110db1d009d5c81b86b43d4b3ecf9c07f6",
            "id": "RLMA-2025-03601",
            "source": "reversing-labs",
            "import_time": "2025-08-01T10:07:11.383420527Z"
        },
        {
            "modified_time": "2024-09-06T11:29:16Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "cf30ef4509936adbb986886d9c78944b3b479b6bbdbf5eb7229e05cc34b94d1c",
            "id": "pypi/GENERIC-questionable-pentest/glob-to-regexp",
            "source": "kam193",
            "import_time": "2025-12-02T22:30:55.223604369Z"
        },
        {
            "modified_time": "2024-09-06T11:29:16Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "ECOSYSTEM"
                }
            ],
            "sha256": "ce8e1c3de8370811f29db098c2ca6d1fbd027017b5e29a9b540a3dbe8f58c704",
            "id": "pypi/GENERIC-questionable-pentest/glob-to-regexp",
            "source": "kam193",
            "import_time": "2025-12-02T23:07:18.243755111Z"
        },
        {
            "modified_time": "2024-09-06T11:29:16Z",
            "versions": [
                "2.1.1"
            ],
            "sha256": "02363deb3264955f06243b8df87b2198cf339eabd74b238d2c13c5023e1fcc89",
            "id": "pypi/GENERIC-questionable-pentest/glob-to-regexp",
            "source": "kam193",
            "import_time": "2025-12-10T21:38:57.509478997Z"
        },
        {
            "modified_time": "2026-03-18T12:14:15Z",
            "sha256": "48372e32eed896c82ce0275448fdb081d9f6bd7d20b4d947011cf7882da2293e",
            "id": "RLUA-2026-00354",
            "source": "reversing-labs",
            "import_time": "2026-03-19T12:19:48.264449909Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / glob-to-regexp

Package

Affected ranges

Affected versions

2.*
2.1.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/glob-to-regexp/MAL-2025-6510.json"