MAL-2024-12340

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/route-search/MAL-2024-12340.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2024-12340
Published
2024-07-26T16:53:30Z
Modified
2025-12-12T20:42:07.412256Z
Summary
Malicious code in route-search (PyPI)
Details

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

Source: kam193 (2c63ae8357166fc3afca468347faccce408b6ad59df7d33f958dc0b4f593b598)

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": "42669b9e2be71d8e55b0ce1ad3289f30bba5b4681fca1dcb964f13e38b944f5b",
            "source": "kam193",
            "modified_time": "2024-07-26T16:53:30Z",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/route-search",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T22:30:56.376545377Z"
        },
        {
            "sha256": "2c63ae8357166fc3afca468347faccce408b6ad59df7d33f958dc0b4f593b598",
            "source": "kam193",
            "modified_time": "2024-07-26T16:53:30Z",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/route-search",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2025-12-02T23:07:19.564549911Z"
        },
        {
            "sha256": "536294c64017c1654407958cece25a67065c296a0e9fb52d8ef69bc2d9db8114",
            "source": "kam193",
            "modified_time": "2024-07-26T16:53:30Z",
            "id": "pypi/GENERIC-standard-pypi-install-pentest/route-search",
            "versions": [
                "66.0.4"
            ],
            "import_time": "2025-12-10T21:38:58.667200754Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / route-search

Package

Affected ranges

Affected versions

66.*
66.0.4

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/route-search/MAL-2024-12340.json"