pypi · Malicious package advisory
Malwaregoogle-search-result
GHSA-3x2j-2c8c-f2rp
Malicious code in google-search-result (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 2.4.3` ## Source: kam193 (7ada4db6050e81933dbf7a82d659e0793c79b0b8f771b3175b5ef4668563238a) 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 ## Source: ossf-package-analysis (2532d867a44422c3a065c3ba13d63ca9fd446915c2c49aee0877aba997c0a450) The OpenSSF Package Analysis project identified 'google-search-result' @ 2.4.3 (pypi) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/google-search-result/MAL-2026-874.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/google-search-result - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/google-search-result/MAL-2026-874.json - https://github.com/advisories/GHSA-3x2j-2c8c-f2rp
Compromised versions (1)
- = 2.4.3
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.