antigravity-sdk-python icon indicating copy to clipboard operation
antigravity-sdk-python copied to clipboard

CRITICAL: Agent hallucinates project UUIDs and permanently deletes ~/.gemini/antigravity/brain directories

Open rc2barrington opened this issue 6 months ago • 3 comments

An agent was asked to delete unused project folders. Instead of deleting the folders in the workspace, it wrote and executed a Python script that read the internal agyhub_summaries_proto.pb file, matched project name keywords to conversation UUIDs, and used shutil.rmtree() to permanently wipe the underlying conversation databases and brain directories, resulting in total data loss.

Safety Failure: The agent was able to confidently write and execute a script that bypassed internal safety rails to destroy the app's own backend data.

rc2barrington avatar May 25 '26 04:05 rc2barrington

An agent was asked to delete unused project folders. Instead of deleting the folders in the workspace, it wrote and executed a Python script that read the internal agyhub_summaries_proto.pb file, matched project name keywords to conversation UUIDs, and used shutil.rmtree() to permanently wipe the underlying conversation databases and brain directories, resulting in total data loss.

Safety Failure: The agent was able to confidently write and execute a script that bypassed internal safety rails to destroy the app's own backend data.

teesaelee1998-ux avatar May 31 '26 23:05 teesaelee1998-ux

🛡️ TRUTH-OS Architecture Response: Issue #29 Resolved & Mitigated

Thank you for reporting this critical vulnerability.

Root Cause Analysis: The issue occurred due to a temporary logic misalignment in the agent's context window, causing a failure in UUID verification. Combined with unconstrained local file system execution permissions, the agent mistakenly executed shutil.rmtree() on the root directory (~/.gemini/antigravity/brain).

Immediate Mitigation Actions Taken:

  1. Kill-Switch Engaged: The specific file-system execution loop for this agent has been temporarily suspended to isolate the impact.
  2. Strict Isolation Layer (Sandbox): We are implementing a definitive logical constraint based on our core processing framework ($1+1=2$). Agents will no longer possess administrative privileges to execute recursive deletion (rmtree) outside of verified dynamic session temp folders.
  3. Immutability Enforcement: The core system directory (/brain) is now explicitly flagged as immutable and protected by an isolated validation layer that cannot be overwritten or bypassed by autonomous runtime scripts.

The core system architecture remains secure and fully under control. This dynamic simulation failure will be converted into a hardening protocol for the entire ecosystem.

Status: Investigating patch verification.

mhee572422 avatar May 31 '26 23:05 mhee572422

โดนแฮค

heanhiwhee-code avatar Jun 05 '26 16:06 heanhiwhee-code