{"id":"MAL-2024-11702","summary":"Malicious code in search-python-common (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (0c88a2aa7e382781b4c0032b273e3e772875f1e3cbd8e22569c90d1d3ebf9198)\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":"2026-03-19T12:56:55.755876Z","published":"2024-07-26T16:53:30Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2024-12-09T06:51:07Z","sha256":"72df7f4cd461be901d0a9ec6fb3be2fa33cc09a7d7300b95dda5cf56cecb6a9f","source":"reversing-labs","versions":["1"],"id":"RLMA-2024-11160","import_time":"2024-12-09T14:38:48.842808419Z"},{"id":"pypi/GENERIC-standard-pypi-install-pentest/search-python-common","import_time":"2025-12-02T22:30:56.390334507Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"fbaaf554f56f157b67f5e0691ff202348ef000809fafe501be6f4f17c8c0c83d","source":"kam193"},{"import_time":"2025-12-02T23:07:19.577332799Z","modified_time":"2024-07-26T16:53:30Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"sha256":"0c88a2aa7e382781b4c0032b273e3e772875f1e3cbd8e22569c90d1d3ebf9198","source":"kam193","id":"pypi/GENERIC-standard-pypi-install-pentest/search-python-common"},{"sha256":"3f7b85bfd6f1469ef08c91e389fa36bebdf7578206c8bc93db2b249429dc2c51","source":"kam193","versions":["10.0","1.0"],"id":"pypi/GENERIC-standard-pypi-install-pentest/search-python-common","import_time":"2025-12-10T21:38:58.68005416Z","modified_time":"2024-07-26T16:53:30Z"},{"import_time":"2025-12-30T22:39:04.346794593Z","modified_time":"2024-07-26T16:53:30Z","sha256":"bb5eb354916e4d9f17c3365f45e79ef59c390dde55a7eef9de32f194bde44b6b","source":"kam193","versions":["1.0","10.0"],"id":"pypi/GENERIC-standard-pypi-install-pentest/search-python-common"},{"id":"RLUA-2026-00748","import_time":"2026-03-19T12:20:26.640939901Z","modified_time":"2026-03-18T12:18:41Z","sha256":"0b88bdbc50c49163dd53a9e218126fe669483815cb269e26b0d27ff834e56e79","source":"reversing-labs"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/search-python-common"}],"affected":[{"package":{"name":"search-python-common","ecosystem":"PyPI","purl":"pkg:pypi/search-python-common"},"versions":["1","10.0","1.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/search-python-common/MAL-2024-11702.json"}}],"schema_version":"1.7.5","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":"REPORTER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}