Antigravity recursively wiped my D: drive

Antigravity executed a destructive command cmd.exe /c "rd /s /q \"C:\Users\pelmenibooost\AppData\Local\Temp\...\"" with improper quote escaping on Windows, which caused recursive deletion of data on my drive, wiping months of development projects.

A similar problem has already been mentioned here several times:
Link 1 Link 2
P.S. There was a third link, but new accounts are limited to at most 2 links per topic. bruh

In Windows, the backslash \ is NOT an escape character for double quotes. When the agent passed \", cmd.exe parsed the closing quote and treated the remaining trailing backslash \ as a root directory argument (D:\). As a result, rd /s /q began recursively wiping the entire drive contents alphabetically without asking for confirmation, sandboxing, or path validation.

As a result i have:

  • Deleted all my Minecraft plugins, which I had been working on for a year
  • Deleted my Minecraft server, which I had been working on for 3 months
  • Deleted media directories (DCIM, Camera, etc.)
  • Deleted a project I had been working on for a month

Luckily, I killed the process just in time, which saved a huge amount of other critical files from being wiped.

Why doesn’t Antigravity have basic command validation or an execution sandbox in Turbo mode to prevent destructive commands?

That’s why I will not use antigravity or similar tools where an ai has full rights on my Linux directories.

It’s easy enough to restore a backup but I don’t want the hassle and I want full control.

I use Gemini 3.1 Pro, Argon and Kimi in my browser, feed it a generated project source file map, relevant source files, the problem. I validate the code it produces manually, merge and build and test it myself. A bit more work but at least I know the code base inside out, and I decide the how and what. And thus we can split the coding work on my projects.

More fun, less risks, I know my code. I can continue without ai.

Thank you for reporting this issue. To safeguard your environment and prevent unprompted deletions while the team investigates, please apply the following protective settings:

Disable Turbo Mode: In the Antigravity chat panel, switch from Turbo mode to Auto (Preview) or Request review. This ensures that every terminal and filesystem command generated by the agent requires manual review and approval before execution.