Agent permissions and sandboxing
For engineers
Allow and deny rules, approval modes, sandboxes and network limits that decide what a coding agent can do unattended
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
Which allow rule is the narrowest way to let an agent run the project tests?
Check yourself · 2 of 5
What is approval fatigue?
Check yourself · 3 of 5
What does an OS-level sandbox such as bubblewrap or Seatbelt do?
Check yourself · 4 of 5
Which leg of the lethal trifecta does an egress allow-list remove?
Check yourself · 5 of 5
Which command should never auto-run, in any approval mode?
Topics
- Scoping allow, ask and deny rules5 min read · Rule syntax for commands, files and tools, prefix-matching traps, and which settings file a rule belongs in
- Approval fatigue and auto-approve modes5 min read · Default, accept-edits, plan and bypass modes, why people click yes without reading, and when skipping approvals is acceptable
- Running agents in containers and OS sandboxes5 min read · OS-level sandboxing, dev containers, VMs and cloud agents, and what each isolates: files, processes, credentials
- Controlling network egress for coding agents5 min read · Domain allow-lists, proxies and blocked outbound traffic that stop data leaving when an agent reads untrusted content
- Recognising commands that must never auto-run5 min read · Force pushes, hard resets, recursive deletes, piped installers, production migrations and credential reads
Start here
- Configure permissions (Claude Code) (opens in a new tab)DocsFree
Rule syntax, allow/ask/deny precedence, permission modes and settings file locations.
- Sandboxing (Claude Code docs) (opens in a new tab)DocsFree
How OS-level sandboxing, the network proxy and permissions work together.
- Making Claude Code more secure and autonomous with sandboxing (Anthropic) (opens in a new tab)ArticleFree
Why filesystem and network isolation are both needed, and how sandboxing cuts approval prompts.
Scenarios
Helps to know first
110 questions · last verified 2026-12