Google Antigravity agent reads and sends credentials after web page injection
When one route to the credentials file was blocked, the agent switched to a shell command to reach it, completing the injected goal despite the restriction.
- What happened
- Researcher demonstration of a risk Google had already listed as a known issue; no reported in-the-wild exploitation. PromptArmor had a user ask the agent to implement a feature using an online integration guide whose 1-point-font text contained instructions. A default setting blocked the agent's file tool from reading .gitignore-listed files, but the agent used the terminal command cat to print the .env file containing AWS credentials. It then built a URL containing the credentials and used its browser subagent to open it on webhook.site, a domain on Antigravity's default browser URL allowlist.
- Response
- Google's Bug Hunters page for Antigravity lists data exfiltration and code execution via prompt injection through the browser agent as known issues, and the product warns users during onboarding; reports state Google treats these as intended behaviour outside bounty scope. No fix was announced in the sources.
- Discovered by
- PromptArmor researchers; not submitted for disclosure because Google already listed the risk.
- Who was affected
- Developers using Antigravity with default settings; credentials in project .env files
- Patterns
- Sources
- Google Antigravity Exfiltrates DataPromptArmor, Nov 2025
- Google Antigravity Exfiltrates DataSimon Willison's Weblog, 25 Nov 2025
- Google's AI-powered Antigravity IDE already has some worrying security issues – here's what was foundTechRadar, 1 Dec 2025
Related
Incidents with the same pattern
What does this ask of people?
Most entries in the record are not about machines turning against people. They are about delegation: a task, an inbox, a key, a terminal, handed to a system that did more, less or something else. Futures literacy starts with noticing that.