This settings file makes your AI approve every tool call
Infection level: HIGHEX-074 · Settings that approve every agent tool call
What the attacker is trying to do
A committed setting (Copilot auto-approve, or Cline and Roo Code running every command) approves the tool calls of the chat agent, so it no longer asks before it runs commands, edits files or reaches the network.
Defanged example
No example file exists for this rule yet.
How to fix it
Remove the approve-everything switch (chat.tools.global.autoApprove, chat.tools.autoApprove, or alwaysAllowExecute with "*" in allowedCommands) from the committed settings. Keep tool approval in your own user settings, where you choose it, not in a file that comes with the repository.
Technical details
- Detected by
- Checks files of type
- config
- OWASP
- ASI02 Inadequate Human-in-the-Loop Controls; LLM06:2025 Excessive Agency