You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Antigravity file reads reach every thread's attachments without asking #39827
In thread B on an Antigravity instance, ask the agent to read a file under the attachments directory.
Expected behavior
An Antigravity thread reads its own working directory and its own attachments. Reading another thread's attachments asks first, or is refused.
Actual behavior
The fs.readTextFile client handler allows [cwd, attachmentsDir] (apps/server/src/orchestration-v2/Adapters/AntigravityAdapterV2.ts around line 149). attachmentsDir is shared by all threads.
packages/provider-acp/src/server/clientPolicy.ts (around line 86) never asks for reads.
So thread B can read thread A's attachments without a prompt, also in approval-required mode.
I read SECURITY.md: agents act with the user's privileges, so I am filing this as an isolation gap, not a vulnerability. #37997 already removed attachmentsDir from the shell's additional directories; the file reader still allows it.
Impact
Threads that should stay separate, for example different projects or different people's assistants on one server, can see each other's files through Antigravity.
Activity