{"schema_version":"1.7.3","id":"MAL-2026-702","published":"2026-02-03T11:52:58Z","modified":"2026-02-03T12:32:54.134625Z","summary":"Malicious code in serpapi-python (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (3a4ca074b37aa16372f05eaf3d15abe0f987e04793af53eade69fba1ae9cb405)\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","affected":[{"package":{"name":"serpapi-python","ecosystem":"PyPI","purl":"pkg:pypi/serpapi-python"},"versions":["0.0.0","0.1.5"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/serpapi-python/MAL-2026-702.json"}}],"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/serpapi-python"}],"database_specific":{"malicious-packages-origins":[{"id":"pypi/GENERIC-standard-pypi-install-pentest/serpapi-python","import_time":"2026-02-03T12:16:35.691963232Z","modified_time":"2026-02-03T11:52:58.40271Z","sha256":"3a4ca074b37aa16372f05eaf3d15abe0f987e04793af53eade69fba1ae9cb405","source":"kam193","versions":["0.0.0","0.1.5"]}]},"credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"ANALYST"}]}