A2A Check

LH-06: The job starts the agent without any approval

Area: Recurring jobs · Severity: high · Catalogue version 1.104.0

Why it matters

A job that runs unattended and an agent that approves everything itself: an injected instruction runs with full rights until somebody notices.

Before (example)

Example: a page from the internet makes the nightly run send your files to a foreign address.

How to fix it

Start the agent with its sandbox and only with the approval for changes to files; anything beyond that stays a decision for a person.

After (example)

Before: gemini --yolo -p "work through the queue"
After: gemini --sandbox --approval-mode auto_edit -p "work through the queue"

Check it yourself

Open your loop or wrapper scripts and search for options that approve every action when they start Gemini CLI or Codex CLI, such as --yolo or --dangerously-bypass-approvals-and-sandbox.

All rules