Agent Safety Matrix  permission and sandbox comparison for AI coding agents

All tools

Claude Code: permissions and sandbox

Anthropic · Coding agent · checked 2026-12-01

Approval model

Permission modes: default (Manual), acceptEdits, plan, auto (background classifier), dontAsk, bypassPermissions. Rules are evaluated deny, then ask, then allow; the first match wins.

Sandbox

Optional OS-enforced sandbox for shell commands (off by default). macOS, Linux and WSL2. On native Windows commands run unsandboxed.

Filesystem

With the sandbox on: writes limited to the working directory, a temp directory and added directories. Reads cover most of the machine, including ~/.ssh and ~/.aws/credentials, unless you add denyRead.

Network

With the sandbox on: no direct route out. Traffic goes through a local proxy that checks hosts against allowed domains, which start empty.

Where you set it

settings.json: permissions.allow / ask / deny, permissions.defaultMode, sandbox.enabled, sandbox.filesystem.*, sandbox.network.*. Managed settings sit at the top of precedence.

Watch out for

The sandbox covers shell commands only. Read, Edit, Write, WebFetch, WebSearch, MCP servers and hooks run outside it and follow permission rules instead. defaultMode values auto and bypassPermissions are ignored from project or local settings.

Sources

Get the full dataset. CSV and JSON with every field and source link for all 9 tools, plus a dated change log. One-time price, no account needed beyond checkout. Get it on Gumroad. The free sample is at sample.json.

Facts come from each vendor's public documentation, linked on every row, and were read on 2026-12-01. Docs change often, so check the source before you rely on a setting. This is information, not security advice, and no setting here guarantees safety.