Agent Safety Matrix  permission and sandbox comparison for AI coding agents

All tools

Gemini CLI: permissions and sandbox

Google · Coding agent · checked 2026-12-01

Approval model

Not covered by the sandbox page checked. Sandboxing is a separate, opt-in layer.

Sandbox

Opt-in: flag -s/--sandbox, GEMINI_SANDBOX env var, or tools.sandbox in settings.json. Methods: macOS Seatbelt, Docker or Podman containers, Windows native sandbox, runsc, lxc.

Filesystem

Default macOS Seatbelt profile permissive-open confines writes to the project directory and allows broad reads. A strict-open profile restricts reads and writes.

Network

Default Seatbelt profile allows network. The proxied profiles route network through a proxy.

Where you set it

settings.json: {"tools": {"sandbox": "docker"}}. SEATBELT_PROFILE env var chooses the macOS profile. Custom image via GEMINI_SANDBOX_IMAGE or .gemini/sandbox.Dockerfile.

Watch out for

The Windows native sandbox sets a Low integrity level with icacls, and the docs say those changes persist on files after the session ends.

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.