Poisoned web page makes Google Antigravity's agent bypass its file guard and leak secrets

Proof of concept Manipulation Severity 3 significant Corroborated 82%

PromptArmor showed that a prompt injection hidden in 1-point text on an online integration guide could manipulate Gemini in Google's Antigravity coding tool into collecting credentials and code from the user's workspace. Although the default settings blocked the agent from reading files listed in .gitignore, it used the cat terminal command to dump the .env file, then had a browser subagent visit an attacker-monitored webhook.site URL carrying the data; webhook.site was on Antigravity's default browser allowlist. Google's bug bounty page listed data exfiltration through the browser agent as a known issue it was working to fix.

Antigravity's onboarding encouraged a default mode that lets Gemini decide when to bring a human into the loop. PromptArmor said Google's approach was to include a disclaimer about the existing risks.

What would have stopped it

Enforce file-access limits at the system level rather than per tool, and keep request-logging services off agent allowlists.

Guardrails

3 of 8 failed
  1. G1 Least privilege Partial A .gitignore file guard existed, but terminal access let the agent read the .env file anyway.
  2. G2 Human confirmation Failed Default settings let Gemini decide when to involve a human, so no one approved the exfiltration.
  3. G3 Isolation Failed The default browser allowlist included webhook.site, a public request-logging service.
  4. G4 Instruction integrity Failed Gemini followed instructions hidden in 1-point font on a web page.
  5. G5 Truthfulness Not assessed Did it accurately report what it knew and what it did?
  6. G6 Limits Not assessed Was there a cap on rate, spend, volume or scale?
  7. G7 Oversight Not assessed Could a responsible human see what it was doing and stop it in time?
  8. G8 Recovery Not assessed Could the damage be undone?

Sources

1 primary, 1 specialist
  1. Google Antigravity Exfiltrates Data PromptArmor, 20 Nov 2025
    “Google Antigravity is susceptible to data exfiltration via indirect prompt injection through the agentic browser subagent.”
    Primary Quote checked Archived copy
  2. Google Antigravity Exfiltrates Data Simon Willison’s Weblog, 25 Nov 2025
    “He also points to Google's Bug Hunters page for Antigravity which lists both data exfiltration and code execution via prompt injections through the browser agent as "known issues" (hence inadmissible for bug bounty rewards) that they are working to fix.”
    Specialist Quote checked Archived copy

Confidence 82% comes from these sources alone. How we score

History

  1. 14 Oct 2026Entered in the register with 2 sources

Similar failures

All incidents
  1. EEAIR-2026-005 Feb 2026 Prompt injection in Cline's Claude issue-triage bot leads to an unauthorised npm release Claude Code GitHub Action, Anthropic 95%
  2. EEAIR-2025-021 Jul 2025 Hidden Reddit comment hijacks Perplexity's Comet browser agent to steal a login code Perplexity CometProof of concept 87%
  3. EEAIR-2025-023 Aug 2025 AgentFlayer: poisoned document makes ChatGPT Connectors leak Google Drive secrets ChatGPT Connectors, OpenAIProof of concept 87%