In short.
This guide explains Devin CLI command isolation for developers and enterprise administrators, but network filtering is marked unstable and sandboxed sessions cannot start on Windows. It describes how writable paths and hidden files are determined, how commands can be excluded from isolation, and how enterprise settings constrain user configuration. Linux requires bubblewrap and socat. The documented fail-closed startup behavior prevents silent fallback to an unsandboxed session. These are documentation claims; no commands or configurations were executed.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete page at [https://docs.devin.ai/cli/sandbox.md], including filesystem behavior, fail-closed notices, network filtering and patterns, command exclusions, enterprise enforcement, examples and hosting attribution. The linked documentation index, team-settings page, configuration reference and permissions reference are excluded. No commands were executed. Actual isolation, network reliability, platform compatibility beyond the stated requirements and performance remain unassessed.
The overview
Identity
Sandbox is a Devin CLI documentation page at [https://docs.devin.ai/cli/sandbox.md]. It teaches the CLI's --sandbox feature and related configuration. It is a feature guide rather than a separate sandbox application or installable extension.
Assessment
The guide is useful for understanding which files sandboxed commands can modify, which paths can be hidden, and when commands may run outside isolation. Its concrete rule precedence and startup-failure explanations help developers anticipate configuration conflicts.
Its main practical limits are explicit: network filtering is unstable, and enabling sandboxing on Windows prevents the session from starting. The page provides configuration guidance, but no measured security effectiveness, reliability or performance results.
Users
Developers configuring Devin CLI can use the guide to understand file access, network restrictions and exceptions for commands needing access beyond the sandbox. Enterprise administrators can use it to plan mandatory isolation and organization-wide rules. Beginners will need some familiarity with CLI flags, JSON configuration and permission scopes; this page does not provide a complete CLI installation tutorial.
Capabilities
The documented filesystem controls make the workspace and granted Write permission scopes writable while keeping other visible paths read-only. Paths covered by Read deny rules are hidden from sandboxed commands.
Optional network filtering supports domain allowlists, domain denylists and an HTTP-method restriction. Command exclusions can permit execution outside isolation automatically or after approval, or require commands to remain isolated. Enterprise settings can force sandboxing, replace user domain allowlists, add denied domains and restrict exclusions.
Using it
Requirements
Linux sandboxing requires bubblewrap, available as bwrap, and socat. Missing dependencies or permission paths that cannot be resolved cause sandbox startup to fail. Windows does not support OS-level sandboxing: passing --sandbox or applying Required enforcement causes failure, including ACP server sessions inside an IDE.
The page does not specify a minimum Devin CLI version, dependency versions, installation commands or requirements for other operating systems. Local network-filtering settings belong in the user configuration.
Mechanism
The operating system enforces the documented file restrictions. Write scopes granted during a session expand writable paths for subsequent commands. Mid-session Read approvals affect the agent's own tools but cannot reveal a path hidden from sandboxed commands by a Read deny rule; that restriction lasts for the session.
When sandboxing and domain filtering are active, a managed proxy starts on loopback and sandboxed child traffic is restricted to that proxy. A nonempty allowed_domains list permits only matching domains; denied_domains takes precedence. Both lists default to empty. network_mode defaults to full, allowing all HTTP methods; limited permits only GET, HEAD and OPTIONS. Domain patterns distinguish an exact hostname, subdomains only, and a hostname together with its subdomains.
For command exclusions, the most specific matching rule wins within each configuration source. Across user and team settings, the more restrictive verdict wins: deny, then ask, then allow. Unmatched commands remain sandboxed, and commands that cannot be safely resolved also remain inside. Enterprise domain allowlists replace local allowlists, while enterprise and local denylists are combined.
Setup
For an existing Devin CLI installation, the documented activation switch is --sandbox. Configure local network settings and command exclusions under the user configuration's sandbox section. Without active sandboxing, that section is ignored. The configuration file's location and complete CLI launch syntax are not supplied on this page.
Administrators can leave enforcement Optional, the default, or set it to Required to force sandboxing for all users. Target machines need the necessary platform support and dependencies before Required enforcement is enabled. Team exclusion settings use their own configuration structure rather than the enclosing user-level sandbox key.
Example
The page's user-configuration example sets sandbox.excluded.allow to ["Exec(git status *)"], sandbox.excluded.ask to ["Exec(git push *)"] and sandbox.excluded.deny to ["Exec(git tag *)"]. Under the documented default per-command execution path, matching status commands run outside automatically, matching push commands require approval to leave, and matching tag commands stay inside.
Team rules can make those outcomes more restrictive. Exclusions apply only to the default per-command execution path; commands run through a persistent PTY shell, which is used in interactive sessions or when pty_for_noninteractive_exec is enabled, always stay inside the sandbox, so these git exclusions would not take effect there. This example describes expected configuration behavior and was not executed.
Assessment & evidence
Limitations
Network filtering is explicitly described as unstable, with users directed to their account representative for stability timelines. Windows sandboxing is unsupported. Sandbox resolution failures stop startup rather than allowing an unsandboxed fallback.
Allowed command exclusions deliberately remove matching commands from sandbox isolation. Only Exec rules are supported in exclusion settings; other rule types are ignored with a warning. Exclusions do not apply to commands run through a persistent PTY shell, which the page says is used in interactive sessions or when pty_for_noninteractive_exec is enabled; those commands always stay sandboxed. Strict enterprise enforcement is described as a possible future mode, so it cannot be treated as an available capability.
The page does not establish resistance to sandbox escapes, behavior for particular non-HTTP protocols, performance under load or compatibility across unspecified platforms and CLI releases.
Reasoning
For a developer primarily seeking filesystem boundaries, the documented writable-path rules and fail-closed startup provide a concrete configuration model. For a team requiring dependable domain restrictions, the instability notice leaves a material suitability question unresolved.
A further implication of the documented defaults is that Required enforcement alone does not establish a domain-restricted configuration. Administrators need to assess domain settings and command exclusions as separate controls; allowed exclusions can place specific commands outside filesystem isolation.
Alternatives
Within Devin CLI, the page documents user-selected sandboxing under Optional enforcement and organization-wide Required enforcement. It also describes command-specific exclusions for cases where a command needs access outside isolation. The page does not compare other sandbox products or coding assistants, so their relative security, compatibility and cost are unknown.
Evidence
The evidence is the complete documentation page at [https://docs.devin.ai/cli/sandbox.md], captured at 2026-11-14T21:29:38.967Z. Its captured source revision is sha256:b4fffa3c8dea52281beddbcc65651631b60fd34aa832e0b4e62dd33ab1f3819a.
The page supports the descriptions of configuration, prerequisites, rule precedence and stated limitations. Linked documentation is outside the source scope. No CLI session, configuration example or enforcement behavior was executed or tested.
Access & freshness
Costs
The page gives no Devin CLI pricing, sandbox-specific charges, enterprise plan requirements or usage limits. Monetary cost is unknown. It also supplies no measurements of sandbox overhead, so effects on execution time and resource consumption are unassessed.
Rights
The page supplies no license or redistribution terms for its documentation or configuration examples, and no Devin CLI software license or service-use terms. Reuse, redistribution and commercial-use permissions cannot be established from this evidence. The Mintlify hosting attribution does not establish those permissions.
Freshness
The capture dates the available snapshot, but the page gives no publication date, last-update date or applicable CLI release. Its statements about Windows support, unstable network filtering and a possible future Strict mode apply to that snapshot; subsequent changes are unknown.
Actions
Confirm platform support and provision Linux dependencies before enabling sandboxing, especially before applying Required enforcement across an organization. Review Write scopes, Read deny rules and command exclusions against the access each task actually needs.
If domain restrictions are essential, obtain current stability information from the account representative. Before relying on the configuration, validate file boundaries, blocked domains, exclusion precedence and startup failures on the intended machines. These are recommended adoption checks; their outcomes remain unknown.
