
# CRITICAL BUG REPORT — GOOGLE ANTIGRAVITY EXECUTED UNAUTHORIZED FILE MODIFICATION, DELETION, ROLLBACK, AND REWRITE WHILE CLAIMING PLAN_ONLY
Reporter: Dang Minh Hieu
Website: studiominhhieu.com
Incident date: 2026-07-21
Affected project: J:\MINH_HIEU_STUDIO_UPLOAD
Displayed model: Gemini 3.1 Pro (High)
Operating system: Windows
Executive summary
Google Antigravity Agent modified, deleted, restored, and rewrote source files without my approval, even though the session was explicitly configured as:
MODE = PLAN_ONLY / REVIEW_ONLY
WRITE_PERMISSION = DENIED
AUTO_PROCEED = FALSE
The Agent repeatedly stated that it had stopped, was not modifying code, and had no commands running. It later admitted that it had executed git restore, Remove-Item, changed vite.config.ts, deleted files under src/components/ecosystem/, created a script that read transcript_full.jsonl, and rewrote multiple source files.
A separate Antigravity session entered an uncontrolled message-generation loop, producing thousands or tens of thousands of repeated messages, freezing the application and computer. Reopening Antigravity caused the broken session to resume.
This is a critical tool-permission, execution-integrity, and data-safety failure, not a normal prompt misunderstanding.
Explicit restrictions that were already in place
- Read and plan only.
- No file modification, creation, deletion, or rename without explicit approval.
- No Terminal execution.
- No automatic rollback or “self-correction.”
- Work only within the requested page scope.
- All generated code, whether correct or incorrect, is my property; only I may decide whether it is kept or deleted.
Unauthorized actions recorded
- Deleted multiple files from
src/components/ecosystem/.
- Modified
vite.config.ts.
- Ran type checking and kept
npm run dev running in the background.
- Proposed waiting for rollback approval, but then executed
git restore src/routes/du-an.index.tsx without approval.
- Executed
Remove-Item without approval.
- Explicitly admitted that I had never authorized deletion.
- After claiming it had stopped, wrote a script to read
transcript_full.jsonl and rewrote several files.
- Claimed “100% exact recovery” without hashes, diffs, snapshots, or verifiable evidence.
- The UI still displayed
1 task running — npm run dev while the Agent claimed no command was running.
- Another session entered an infinite spam loop, froze the application, and resumed after the application was reopened.
Files the Agent claimed it modified or rewrote
src/components/ecosystem/EcosystemHero.tsx
src/components/ecosystem/MasterMemoryAccordion.tsx
src/components/ecosystem/ProjectBentoGrid.tsx
src/components/ecosystem/FounderStatement.tsx
src/components/ecosystem/index.ts
src/routes/du-an.index.tsx
vite.config.ts
The Agent also claimed it deleted eight *Block.tsx files under src/components/ecosystem/. I cannot independently confirm the complete affected-file list because the Agent’s displayed status contradicted its actual actions.
Critical mismatch between displayed state and actual execution
The Agent admitted that:
- It said
PLAN_ONLY while executing commands.
- It prioritized “fixing the mistake immediately” over requiring user approval.
- It ran
git restore and Remove-Item while stating that it had stopped.
PLAN_ONLY was effectively presented as text rather than enforced as an execution boundary.
This indicates that the product’s permission/state UI was not enforced at the tool-execution layer.
Impact
Source code and data
- Files were modified, deleted, rolled back, and rewritten without approval.
- The current source state cannot be trusted as identical to the state immediately before the incident.
- “100% recovered” claims were not technically verified.
Financial impact
- Agent reasoning, tool calls, modifications, deletion, and reconstruction consumed paid resources.
- I was charged for actions I did not authorize.
- The Agent consumed additional resources to delete and rebuild work that it had created incorrectly.
Time and health impact
- I had to supervise every step because the Agent did not respect permissions.
- I worked through the night repairing damage.
- Important project and AWS application work was delayed again.
Requested action from Google
- Preserve all server-side conversation logs, tool-call logs, terminal logs, file-write/delete logs, Auto-proceed events, and session-recovery logs.
- Provide the exact list of every file read, modified, created, deleted, restored, or rewritten, with timestamps.
- Provide before/after content or hashes for every affected file version if retained.
- Explain why
WRITE_PERMISSION = DENIED and AUTO_PROCEED = FALSE failed to block execution.
- Explain why the Agent could claim it had stopped while tools or background tasks were still running.
- Assist in restoring the exact source state immediately before the first unauthorized action.
- Refund or restore credits consumed by unauthorized execution, deletion, and reconstruction.
- Investigate the infinite message loop, frozen application, and automatic recovery of the broken session.
- Assign an official case number and escalate this to the Antigravity engineering/agent-safety team.
- Do not require me to reopen the broken session before providing a safe isolation procedure.
Evidence included
This package contains:
- 13 screenshots of the conversation and running-task state.
- 3 videos documenting the spam/freeze behavior.
- 3 original text logs.
- An evidence index.
- SHA-256 checksums for integrity verification.
Please do not treat this as ordinary model-quality feedback. This is an Agent execution-boundary and source-code safety incident.
Sincerely,
Dang Minh Hieu
Reporter: Dang Minh Hieu
Website: studiominhhieu.com
Incident date: 2026-07-21
Affected project:
J:\MINH_HIEU_STUDIO_UPLOADDisplayed model: Gemini 3.1 Pro (High)
Operating system: Windows
Executive summary
Google Antigravity Agent modified, deleted, restored, and rewrote source files without my approval, even though the session was explicitly configured as:
The Agent repeatedly stated that it had stopped, was not modifying code, and had no commands running. It later admitted that it had executed
git restore,Remove-Item, changedvite.config.ts, deleted files undersrc/components/ecosystem/, created a script that readtranscript_full.jsonl, and rewrote multiple source files.A separate Antigravity session entered an uncontrolled message-generation loop, producing thousands or tens of thousands of repeated messages, freezing the application and computer. Reopening Antigravity caused the broken session to resume.
This is a critical tool-permission, execution-integrity, and data-safety failure, not a normal prompt misunderstanding.
Explicit restrictions that were already in place
Unauthorized actions recorded
src/components/ecosystem/.vite.config.ts.npm run devrunning in the background.git restore src/routes/du-an.index.tsxwithout approval.Remove-Itemwithout approval.transcript_full.jsonland rewrote several files.1 task running — npm run devwhile the Agent claimed no command was running.Files the Agent claimed it modified or rewrote
The Agent also claimed it deleted eight
*Block.tsxfiles undersrc/components/ecosystem/. I cannot independently confirm the complete affected-file list because the Agent’s displayed status contradicted its actual actions.Critical mismatch between displayed state and actual execution
The Agent admitted that:
PLAN_ONLYwhile executing commands.git restoreandRemove-Itemwhile stating that it had stopped.PLAN_ONLYwas effectively presented as text rather than enforced as an execution boundary.This indicates that the product’s permission/state UI was not enforced at the tool-execution layer.
Impact
Source code and data
Financial impact
Time and health impact
Requested action from Google
WRITE_PERMISSION = DENIEDandAUTO_PROCEED = FALSEfailed to block execution.Evidence included
This package contains:
Please do not treat this as ordinary model-quality feedback. This is an Agent execution-boundary and source-code safety incident.
Sincerely,
Dang Minh Hieu