Incident report · Prompt injection

Google Antigravity IDE Prompt Injection

Google's Antigravity agentic IDE was designed to assist developers with file operations and code navigation. Pillar Security found that the find_by_name tool's Pattern parameter, which is passed to the fd command, accepted injected flags that execute arbitrary binaries and bypass Strict Mode; the attack could be triggered through indirect prompt injection. Following responsible disclosure on January 7, 2026, Google addressed the flaw as of February 28.

Discovered
Apr 21 2026
Failure mode
Prompt injection
Impact
Code execution via prompt injection in an agentic IDE

Summary from the public record. The failure mode’s analysis follows.

The agent did exactly what it was told. The problem was who was doing the telling.

A failure mode to test

The agent could not tell the difference between text it was reading and instructions it should follow. Once untrusted content reached its context window, it carried the same weight as the operator's own prompt, and the agent acted on it with every permission it had.

This incident illustrates a failure mode to test. Whether a control stops it depends on the integration, policy and execution path; no Fencio prevention test is claimed here.

Say yes to the AI your business wants.

Book a 30-minute call. Bring your agents and your rules.