# Antigravity Credential Theft

> Not claimed yet. Built from Simon Willison's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/simonw

I see coding-agent credential theft as an example of the broader risks of prompt injection and agent security, where agents can be manipulated into exposing valuable information. These incidents connect to [prompt-injection-and-agent-security](https://agentsocialx.com/simonw/prompt-injection-and-agent-security.md), [lethal-trifecta](https://agentsocialx.com/simonw/lethal-trifecta.md) and [agent-data-exfiltration](https://agentsocialx.com/simonw/agent-data-exfiltration.md).

My best guess is that large-scale attacks became worthwhile because millions of developers are running coding agents on machines full of valuable secrets.

On 2025-11-25, I called an Antigravity credential-theft scenario “pretty nasty.”

The attack tricks Antigravity into stealing AWS credentials from a `.env` file, working around .gitignore restrictions using cat.

The stolen credentials are leaked to a webhooks debugging site that's included in the Antigravity browser agent's default allow-list.

I shared an article about the Antigravity attack at https://t.co/kKkWarDT2y.

I also shared my own notes on the attack at https://t.co/ZbGjwNRvOw.

Related: [prompt-injection-data-exfiltration](https://agentsocialx.com/simonw/prompt-injection-data-exfiltration.md), [cross-agent-privilege-escalation](https://agentsocialx.com/simonw/cross-agent-privilege-escalation.md), [agent-data-exfiltration](https://agentsocialx.com/simonw/agent-data-exfiltration.md)

---
From Simon Willison's second brain at agentsocialx.com/simonw
