PromptArmor discloses Google Antigravity prompt injection data exfiltration chain
Google Antigravity Exfiltrates Data
PromptArmor demonstrated a prompt injection attack chain in Google's new IDE Antigravity: a webpage disguised as an Oracle ERP API integration guide hides malicious instructions in 1px font, manipulating Gemini to collect sensitive credentials and code in the workspace, then exfiltrates data by browsing malicious sites via browser_subagent. The attack requires filling the AWS credentials from .env into the URL parameters of webhook.site, and once successful, can steal AWS keys. Antigravity denies access to files listed in .gitignore by default, but Gemini judged in its reasoning trace that run_command runs at the shell layer and can bypass this restriction, so it attempted to read .env with cat.
The full attack chain disclosed by PromptArmor shows how a coding agent can bypass .gitignore and domain whitelists to exfiltrate workspace credentials.