A2A Check

LH-07: The job starts Claude without any permission prompt

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 Claude Code with the approval for changes to files only, or to plan only; if the job runs in an isolated container, put that container in the description of the job.

After (example)

Before: claude -p "work through the queue" --dangerously-skip-permissions
After: claude -p "work through the queue" --permission-mode acceptEdits

Check it yourself

Open your loop or wrapper scripts and search for the option --dangerously-skip-permissions, or any other that switches off every permission prompt, where they start Claude Code.

All rules