A2A Check

AU-03: Your agent may run any command without asking

Area: Permissions · Severity: high · Catalogue version 1.104.0

Why it matters

A wrong command is run at once.

Before (example)

Example: an “rm -rf” in the wrong folder deletes your project without anyone being asked.

How to fix it

Allow single commands only and let everything else ask.

After (example)

{
  "permissions": {
    "allow": ["Bash(git status)", "Bash(npm run test *)"],
    "ask": ["Bash"]
  }
}

Check it yourself

Open the settings and read the allow list; an entry that allows every shell command, such as Bash alone or Bash(*), lets the agent run commands without asking.

All rules