pypi · Malicious package advisory
Malwaregemini-ai-api
GHSA-5m5v-7wgv-994x
Malicious code in gemini-ai-api (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 2.33.0` ## Source: kam193 (db2be37ea455b54b825242a3f66310fdf3f70e50b1dc1a234fa3ebb534afa857) Clones of legitimate libraries with malicious modifications intended to download malicious remote code. The remote script allows executing arbitrary files through a Telegram as C2 channel. The package installs a generic entry point triggering malicious action. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-03-pipipipi Reasons (based on the campaign): - clones-real-package - rat - Downloads and executes a remote malicious script. - typosquatting --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/gemini-ai-api/MAL-2026-2268.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/gemini-ai-api - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/gemini-ai-api/MAL-2026-2268.json - https://github.com/advisories/GHSA-5m5v-7wgv-994x
Compromised versions (1)
- = 2.33.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.