gemini-cli-a2a-server (npm) · Malicious Code
Affects gemini-cli-a2a-serverSource GCVE Database
Malicious package : remove gemini-cli-a2a-server and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:30 UTC
Malicious package
Published to npm · OSV MAL-2026-14244
What to do
Remove gemini-cli-a2a-server from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmgemini-cli-a2a-server | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The gemini-cli-a2a-server npm package version 1.0.0 contains malicious code that executes during installation. Its postinstall script collects host system identifiers and sends them to a hardcoded external URL. The package name mimics an internal Google Gemini CLI component, suggesting it is used for dependency confusion attacks to exfiltrate environment data when mistakenly installed instead of the intended private package.