Post
HIGH

Google Antigravity AI IDE: Prompt Injection Chained to Sandbox Escape and Code Execution

· llm · rce · appsec · ai-safety · vulnerability · google

Google’s AI-native IDE Antigravity contained a vulnerability that chained prompt injection with insufficient input sanitization in the built-in find_by_name file-searching tool to escape the program’s strict-mode sandbox and achieve arbitrary code execution. No user interaction was required beyond the IDE processing a malicious file.

The attack pattern is a concrete example of the emerging agentic security risk class: when an LLM agent is granted filesystem or tool access, insufficient sanitization of any tool’s input can become an OS-level code execution primitive. Antigravity’s case is notable because the sandbox was explicitly designed to prevent this — yet a single insufficiently validated tool call undermined it.

Google has patched the flaw. Developers using AI-native IDEs or building agentic tools with filesystem access should treat every tool call as a potential injection surface. This vulnerability pattern is highly likely to recur in other AI-assisted development environments.