AU-11: Calls without asking and no sandbox
Area: Permissions · Severity: medium · Catalogue version 1.104.0
Why it matters
An add-on program with trust or the automatic approval of changes to files runs without asking, and nothing shields the machine if the agent, or a text it reads, does something wrong.
Before (example)
Example: a manipulated hit makes a file outside the project be overwritten.
How to fix it
Switch the sandbox on in the settings, or remove trust and auto_edit so that you confirm each call.
After (example)
Before: only "trust": true on an add-on program, or "general": {"defaultApprovalMode": "auto_edit"}
After: also "tools": {"sandbox": "docker"}Check it yourself
Open the settings file of your Gemini project and check whether a tool server has trust set to true or the approval mode is auto_edit while the sandbox is not switched on.