AU-14: Changes to files are approved without asking
Area: Permissions · Severity: notice · Catalogue version 1.104.0
Why it matters
The agent changes and overwrites files without anybody being asked, also on the instruction of foreign text.
Before (example)
Example: a text from the internet makes the agent rewrite a settings file.
How to fix it
Leave general.defaultApprovalMode at default so that you confirm each change, or use auto_edit only with the sandbox switched on.
After (example)
Before: "general": {"defaultApprovalMode": "auto_edit"}
After: "general": {"defaultApprovalMode": "default"}Check it yourself
Open the settings file of your Gemini project and look at the default approval mode; auto_edit approves changes to files without asking.