{"id":"MAL-2024-12340","summary":"Malicious code in route-search (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (2c63ae8357166fc3afca468347faccce408b6ad59df7d33f958dc0b4f593b598)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: 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.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n","modified":"2025-12-12T20:42:07.412256Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/route-search","import_time":"2025-12-02T22:30:56.376545377Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"42669b9e2be71d8e55b0ce1ad3289f30bba5b4681fca1dcb964f13e38b944f5b","source":"kam193"},{"source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/route-search","import_time":"2025-12-02T23:07:19.564549911Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"2c63ae8357166fc3afca468347faccce408b6ad59df7d33f958dc0b4f593b598"},{"sha256":"536294c64017c1654407958cece25a67065c296a0e9fb52d8ef69bc2d9db8114","source":"kam193","versions":["66.0.4"],"id":"pypi/GENERIC-standard-pypi-install-pentest/route-search","import_time":"2025-12-10T21:38:58.667200754Z","modified_time":"2024-07-26T16:53:30Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/route-search"}],"affected":[{"package":{"name":"route-search","ecosystem":"PyPI","purl":"pkg:pypi/route-search"},"versions":["66.0.4"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/route-search/MAL-2024-12340.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"ANALYST"}]}