Does the Devin CLI sandbox meet our control requirement for what the agent can run?
An approver deciding whether the Devin CLI can be limited in what it runs, writes and reaches on the network will find that the sandbox, admin enforcement and domain and command locks are documented for the CLI. The sources supplied list Linux as the only supported desktop platform, with Windows not supported, and the enforcement setting that forces the sandbox on for every session sits in Team Settings. Those two facts shape the rollout before any policy is written: any engineer on Windows cannot run the CLI under this model, and the Team Settings owner must be named as the person who turns enforcement on.
What the organization still has to configure and verify is the policy itself. Write scopes and the workspace directory define where the sandbox can write, and Read deny rules hide matching paths from sandboxed commands, so the team should list the sensitive paths (credential stores, key material, production configuration) and confirm each is covered by a deny rule. On the network side, the loopback proxy uses allowed_domains and denied_domains, and the limited mode permits only GET, HEAD and OPTIONS requests. The team domain allowlist replaces user allowlists, and a team deny rule overrides user allow or ask rules, so the security owner should test one blocked domain from a real session, then record the result. The CLI enterprise controls page is the next read for the admin side.
The sources supplied do not map these sandbox and enforcement controls to a specific Devin plan, so the reviewer should ask Cognition in writing which plans include Team Settings enforcement, team allowlists and denylists, and the limited network mode. Do not assume they follow the Enterprise-only features named on the pricing page. A one-time test on the platform the team will actually use, with the results and the plan confirmation kept in the approval file, gives the reviewer evidence that the control works as described.
Sandbox and permission capabilities by plan and platform
This table compares each Devin CLI sandbox control with the plan or admin setting that applies and any component outside the CLI. Where Cognition's documentation does not tie a control to a plan, the cell says to confirm it before approval. The main takeaway is that enforcement depends on a team admin setting, and Windows is not a supported platform for the sandbox.
| Capability | What is built in | Plan or setting that applies | Needs an outside component |
|---|---|---|---|
| Process isolation | Sandbox isolates commands run by the Devin CLI | Not tied to a plan in the sources; confirm with Cognition | None stated; confirm whether any host component is required |
| Write-path restriction | Writable paths come only from granted Write scopes and the workspace directory | CLI sandbox setting; plan tier not stated, confirm with Cognition | None |
| Read-deny hiding | Paths matched by Read deny rules are hidden from sandboxed commands | Set through Read deny rules; confirm availability by plan | None |
| Network filtering by domain | Loopback proxy applies allowed_domains and denied_domains lists | Domain lists set per user; team allowlist replaces user allowlists | None; the proxy is part of the CLI sandbox |
| Limited read-only network mode | Permits only GET, HEAD and OPTIONS requests | Sandbox network mode; confirm plan applicability with Cognition | None |
| Mandatory sandbox enforcement | Sandbox forced on for all sessions when set to Required | Team Settings admin control; confirm which plans expose it | None; a team admin must set it |
| Team domain allowlist | Team allowlist replaces user allowlists for network access | Team admin setting; confirm plan availability | None |
| Team deny rules | Team denylists merge with user denylists; team deny overrides user allow or ask rules | Team admin setting; confirm plan availability | None |
| Platform support (Windows and Linux) | Linux requires bubblewrap and socat; Windows is not supported | Platform rule for the CLI sandbox; plan tier not stated, confirm with Cognition | On Linux, bubblewrap and socat; the CLI will not start if setup fails |
How the sandbox confines commands, writes and network traffic
The Devin CLI sandbox works through three control layers that a reviewer should test separately: the command sandbox that wraps what the agent runs, a write scope model that decides where files may change, and read deny rules that hide matched paths from sandboxed commands. Writable paths come only from granted Write scopes and the workspace directory, so a command has no write access to the rest of the machine unless someone deliberately grants it. Read deny rules go one step further than write limits: a path matched by a Read deny rule is hidden from sandboxed commands entirely, which matters for credential files and key stores that an agent should never see, not merely modify.
Network traffic from sandboxed commands passes through a loopback proxy. The proxy applies allowed_domains and denied_domains lists, and a limited mode permits only GET, HEAD and OPTIONS requests, which blocks most data uploads and state-changing calls to permitted hosts. Before rollout, confirm with Cognition exactly which hosts Devin needs to function on your plan, and test whether a permitted domain can still receive data through a GET request with a crafted query string. Read the CLI sandbox documentation for the precise matching rules.
The CLI refuses to start if sandbox setup fails. This fail-closed behavior means that a missing dependency or an unsupported host produces a visible stop rather than a silent fallback to unconfined execution, which is the outcome a security reviewer needs to rule out. On Linux, the sandbox requires bubblewrap and socat, and Windows is not supported, so the platform inventory must be settled before the tool is approved. Include a startup check in your endpoint baseline and confirm the failure mode in a pilot by removing a dependency on a test machine.
How a CLI command is checked before it reaches the network or disk
A command from the Devin CLI first meets the sandbox, which only allows writes to the workspace and paths granted by Write scopes, and hides paths matched by Read deny rules. Network requests then pass through a loopback proxy that applies the team domain allowlist, while user denylists merge with team denylists. A team deny rule overrides any user allow or ask rule, so admins should verify these layers in their own Team Settings. If sandbox setup fails on Linux, the CLI will not start.
Order of checks applied to a CLI command before it touches disk or network.
Which admin controls lock the sandbox and rules for every user
Devin's CLI lets a team set rules that individual users cannot loosen. The cards below cover the sandbox switch, the domain allowlist, denylist merging, deny precedence and the platform prerequisite, with notes on what each control forces and what users can still change.
Sandbox enforcement set to Required
Admins can set sandbox enforcement to Required in Team Settings, which forces the sandbox on for every CLI session in the team. What this forces: no session runs unsandboxed, so command execution and file writes stay inside the sandbox boundary. What a user can still change: their own rules within that boundary, such as which commands they allow or ask about. Check that the setting is applied to all teams that use the CLI, and confirm with Cognition how a session behaves when the sandbox cannot start.
CLI enterprise controlsTeam domain allowlist replaces user lists
The team domain allowlist replaces any user allowlist, so a developer cannot add domains the team has not approved. What this forces: outbound network access from sandboxed commands is limited to the team's approved domains. What a user can still change: nothing in the allowlist itself, though they can narrow their own working set. Review the list with the network team, since a broad entry such as a shared hosting domain can reach far more content than its name suggests.
CLI sandbox docsTeam denylists merge with user denylists
Team denylists merge with user denylists rather than being replaced by them. What this forces: every domain or entry the team blocks stays blocked, even when a user adds their own denials. What a user can still change: add further denials for their own session. Because the merge is additive, the team list is the floor, so keep it current with the domains and command patterns your security team has reviewed.
Team deny rules override user rules
A team deny rule overrides any user allow or ask rule. What this forces: a command or path the team denies cannot be permitted by an individual developer's configuration. What a user can still change: their own allow and ask rules for everything the team has not denied. Test a few deny rules against realistic developer workflows before rollout, because a deny that blocks a common build or package step will push users toward workarounds the policy does not cover.
Platform support is a precondition
Enforcement only holds where the sandbox runs. On Linux the sandbox requires bubblewrap and socat, Windows is not supported, and the CLI will not start if sandbox setup fails. What this forces: a required sandbox on an unsupported machine blocks the session instead of falling back to unsandboxed execution. What a user can still change: their own machine setup, which must meet the requirements before they can work. Inventory the operating systems in your fleet and confirm the dependencies on each image before turning enforcement on.
Sandbox requirementsHow the answer changes by platform, team size and data sensitivity
Linux is the only desktop platform where the documented CLI sandbox is supported. The sandbox depends on two host packages, so the security team should expect the sandbox to be a prerequisite for the rollout rather than a default that appears on its own. Because the CLI refuses to start when sandbox setup fails, a missing package shows up as a blocked developer session instead of a silent gap in coverage.
- Host packages: Confirm that bubblewrap and socat are installed through the approved package process on every Linux image in scope.
- Startup behavior: Test that the CLI fails closed when setup is broken, and record how developers will be told to escalate.
- Writable paths: Review which Write scopes are granted and confirm the workspace directory is the only expected write location.
- Network filtering: Decide whether sessions use allowed_domains, denied_domains or the limited mode that permits only GET, HEAD and OPTIONS requests.
Confirm with your Linux platform team that the image build includes both packages and that sandbox enforcement is tested on the same distribution versions your developers use.
The CLI sandbox documentation states that Windows is not supported. A Windows developer who runs the Devin CLI directly therefore has no sandbox isolation for commands, file writes or network filtering from that control. Approval for Windows should not assume the Linux controls apply, and the reviewer should decide whether Windows users are excluded from the CLI or routed to a different, separately evaluated path.
- Coverage gap: Record that command isolation, write restrictions and loopback proxy filtering are not available for Windows CLI sessions.
- Access decision: Block CLI installation on Windows endpoints, or document an explicit exception with compensating controls approved by security.
- Endpoint policy: Align the decision with your device management tooling so the rule is enforced, not only written down.
- Developer guidance: Tell Windows users which approved tools they may use and which tasks must move to Linux.
- Re-review trigger: Reassess when Cognition publishes Windows support in the sandbox documentation.
Confirm with the vendor whether any Windows support is planned and check the sandbox documentation before each rollout review.
Team size and plan change who can enforce the controls. On a single team, the team owner can set sandbox enforcement to Required in Team Settings, which forces the sandbox on for every session. When several teams share the tool, the enterprise plan is where central governance matters, because a policy must hold regardless of how individual teams configure their own settings. The pricing page lists SCIM, role-based access control and a dedicated deployment option on Enterprise, and the Teams plan lists SAML/OIDC SSO.
- Enforcement: Set sandbox enforcement to Required in Team Settings for every team that uses the CLI.
- Allowlist model: The team domain allowlist replaces user allowlists, so one team list governs all members of that team.
- Denylist model: Team denylists merge with user denylists, and a team deny rule overrides user allow or ask rules.
- Plan check: Confirm with the account team which controls your plan includes, since the feature set differs between Teams and Enterprise.
- Ownership: Name one owner for team-level rules and one reviewer for changes.
Confirm in writing which administrative controls your specific plan and contract include before you promise central enforcement to the business.
Repositories that contain regulated data, such as personal health information, payment data or confidential government material, need stricter reads and writes than general application code. The sandbox can hide paths matched by Read deny rules from sandboxed commands and limit writes to granted Write scopes and the workspace. Those controls reduce local exposure, but they do not decide where code and prompts are processed. The agent's brain always runs in Cognition's cloud, so the reviewer must separately assess the hosting model, data training terms and retention.
- Read denial: Add Read deny rules for secrets directories, credential files and regulated data stores.
- Write scope: Grant Write scopes only for the paths the task requires, and keep the workspace narrow.
- Network scope: Use denied_domains for sensitive internal services and limit outbound domains to an approved list.
- Data path: Confirm the deployment model, retention period and training opt-out status with Cognition for the plan in use.
- Compliance evidence: Ask for the current SOC 2 Type II report and any other attestations relevant to your sector.
Confirm with the vendor where repository content is processed and whether a dedicated or customer-managed key option is required for your data.
Networks without internet access need the separate air-gapped build of Devin Desktop and the Devin CLI, which the documentation describes as a beta. That build runs against the customer's own OpenAI-compatible model endpoints rather than Cognition's hosted models. The network filtering design still depends on a loopback proxy and allowed domains, but the destinations change to internal model endpoints and internal package sources. Because the build is beta, the reviewer should treat its controls as provisional until they are tested in your own environment.
- Beta status: Record that the air-gapped build is in beta and confirm the support terms before any production use.
- Model endpoints: Identify the OpenAI-compatible endpoints you will run, their hosting location and their logging.
- Domain rules: Rebuild allowed_domains around internal endpoints and mirrored package repositories only.
- Sandbox prerequisites: Confirm bubblewrap and socat are present on the air-gapped Linux hosts, since the sandbox still requires them.
- Testing: Run a sandbox escape and egress test in the isolated network before approval.
Confirm with Cognition which features the air-gapped build supports and what it requires from your network and model stack.
Order of work to make the sandbox mandatory in production
This sequence moves the Devin CLI from an optional tool to one that runs inside an enforced sandbox with reviewed network and command rules. Each step closes with a check that a reviewer can repeat before the next step begins.
Confirm plan and Team Settings access
Start by confirming which Devin plan your organization holds and which named administrators can open Team Settings, where the sandbox enforcement setting lives. Check the current plan details on the pricing page, since plan features differ by tier and the page is dated. Confirm with Cognition, through your account team or the CLI enterprise controls documentation, that the enforcement setting and team-level rules are available to your plan. This step is done when a named admin has been tested and can open the setting and view the current value.
Pilot on Linux hosts with prerequisites
Run the CLI pilot only on Linux hosts, because the sandbox documentation states that Windows is not supported. Confirm with your platform team that bubblewrap and socat are installed on each pilot host before the CLI is launched. Note that the CLI will not start if sandbox setup fails, so a missing prerequisite shows up as a startup failure rather than a silent gap. This step is done when every pilot host starts a session with the sandbox active and the team has logged the host configuration.
Build the team allowlist and deny rules
Build the team domain allowlist and the command deny rules from your network inventory and your approved tooling list. Remember that the team allowlist replaces user allowlists, so anything a developer needs must be on the team list or it will be unreachable from the sandbox. Team denylists merge with user denylists, and a team deny rule overrides user allow or ask rules, so review the deny list for conflicts with developer workflows. This step is done when security has signed off on a written rule set that names each allowed domain and each denied command with its owner.
Test that blocked domains fail
Test a domain that is not on the allowlist and a domain on the denylist from a pilot session, and confirm that each request fails in the way your policy expects. Also confirm that the limited mode, which permits only GET, HEAD and OPTIONS requests, behaves as documented if your policy uses it. Record the observed behavior, including any error the developer sees, because that text is what support staff will need. This step is done when both test cases produce the expected block and the results are attached to the rollout record.
Test that denied commands and write paths fail
Run a test with a command on the team deny list and attempt a write outside the workspace and outside any granted Write scope from a sandboxed session. Confirm that paths matched by Read deny rules are hidden from sandboxed commands, since a developer should not be able to read them even by accident. Compare each result with the written rule set from the previous step. This step is done when every denied command and every out-of-scope write fails, and any surprise is either fixed in the rules or documented as an accepted risk by the owner.
Set enforcement to Required
Once the pilot results match the written rules, a named admin sets sandbox enforcement to Required in Team Settings. The documentation states that this forces the sandbox on for all sessions, so the change should be announced to developers before it takes effect. Confirm the setting after saving, then start a new session from a non-pilot host to verify that the sandbox is active without any local change. This step is done when a fresh session on a general host shows the sandbox running and the change is recorded with the admin's name and date.
Recheck after each CLI update
Make the sandbox check part of the change process for every CLI update. After each update, repeat the blocked domain, denied command and write path tests on a pilot host, and confirm that the prerequisites are still installed and the enforcement setting still reads Required. Also review the Devin changelog and CLI enterprise controls documentation for changes to rule behavior before approving the update. This step is done when the test results from the update are filed, and any change in behavior has an owner and a decision recorded.
What a security reviewer asks to see for sandbox controls
This table maps the questions a security reviewer should put to Devin's CLI sandbox to the evidence that answers each one and where that evidence comes from. Some items are documented by Cognition, while others, such as the exported allowlists and denylists actually in force, must come from your own endpoint and team configuration records. Use it to decide which answers to request in writing before approving the CLI for staff use.
| Reviewer question | Evidence to request | Where it comes from in Devin |
|---|---|---|
| Is the sandbox forced on for every session? | Screenshot or export showing sandbox enforcement set to Required for the team, with the date and the admin who set it | Team Settings sandbox enforcement state, as described in the CLI enterprise controls documentation |
| Can a user turn the sandbox off on a managed machine? | Written confirmation from Cognition of how Required behaves for individual sessions, plus a test log from a non-admin account | CLI sandbox documentation and enterprise controls; confirm behavior in your own test tenant |
| What can sandboxed commands write to? | Documented writable paths for a sample project, and a list of every Write scope granted to the team | Writable paths come only from granted Write scopes and the workspace directory, per the CLI sandbox documentation |
| Which files are hidden from commands? | The list of Read deny rules in force and a test showing a denied path is not readable from a sandboxed command | Paths matched by Read deny rules are hidden from sandboxed commands, per the CLI sandbox documentation |
| Which domains can the agent reach? | The exported team domain allowlist and denylist, with change history and owner | Team domain allowlist and denylist settings; the team allowlist replaces user allowlists and team denylists merge with user denylists |
| Do user settings ever override team restrictions? | A written test plan showing a team deny rule blocks a user allow rule, run against your own configuration | Documented override behavior: a team deny rule overrides user allow or ask rules, per the CLI sandbox documentation |
| Is read-only network access enforced for some sessions? | The limited mode configuration and a log of blocked non-GET, HEAD or OPTIONS requests | Limited mode in the loopback proxy filtering described in the CLI sandbox documentation |
| Is the CLI supported on every endpoint OS in use? | A device inventory showing Linux endpoints with bubblewrap and socat installed, and confirmation that Windows endpoints are excluded | Platform requirements in the CLI sandbox documentation; the CLI will not start if sandbox setup fails, so failures appear as blocked launches |
| Can we see what the agent actually ran and reached? | Endpoint and proxy logs for sample sessions, retained under your own logging policy | Customer's own endpoint and network records; confirm with Cognition which session and audit logs are available on your plan |
Questions buyers ask about Devin sandbox permissions before approval
Is the Devin CLI sandbox included on every Devin plan?
The sandbox documentation describes the CLI sandbox and the team-level enforcement setting, but the supplied sources do not state which plan includes each sandbox control. Confirm the plan in writing before approval. The pricing page lists Free, Pro, Max, Teams and Enterprise, and it lists SSO on Teams and SCIM, role-based access control and dedicated deployment on Enterprise. Ask Cognition which plan includes the Required sandbox enforcement setting in Team Settings, the team domain allowlist and the team deny rules. Get the answer in the order form or a written statement from the account team, because a plan label on a marketing page is not enough for a security review. Also confirm whether the controls differ between the CLI and other Devin surfaces.
What does it cost to configure the Devin sandbox?
No price or duration for sandbox configuration is supplied, so the figure to request comes from your own scope. The cost is mostly internal and external labor. Your team spends time on endpoint prerequisites, on mapping the domains developers need for package registries, source hosts and internal services, and on writing deny rules and Read and Write scopes. Any service provider's fee follows from a written scope that lists which environments, operating systems and domains are covered. Subscription cost is set by the plan in use, which you confirm with Cognition. Ask for a quote that separates one-time setup work from ongoing policy maintenance, because allowlists change as projects change.
Can our own team configure the Devin sandbox without outside help?
Your team can likely configure it alone if it has engineers who know the network path from developer machines to the internet and internal services, and who can read the CLI sandbox documentation closely. The work needs three inputs: the Linux prerequisites of bubblewrap and socat, a decision on which paths need Write scopes beyond the workspace directory, and a list of allowed and denied domains. Where the team lacks this knowledge, DeployOpen can plan, implement and document the configuration as a fixed-scope engagement, with deliverables and timelines agreed in writing before work starts. Such a scope might cover a written policy, a tested baseline and evidence for your review. Whether to do it alone or with help depends on your network complexity and internal skills.
How long does a pilot of the Devin sandbox take?
No pilot duration is supplied, so ask for a scoped plan with dates rather than a generic estimate. A useful scope names the pilot group, the operating systems in use, the repositories and domains the agent must reach, the commands it must run and the admin settings to test. Confirm whether the pilot runs on the same plan you intend to buy, since controls may depend on the plan. Build the exit criteria into the scope too: for example, a documented test that a denied domain is blocked, that a path under a Read deny rule is hidden from sandboxed commands, and that the CLI refuses to start when sandbox setup fails. Those tests produce the evidence a reviewer needs.
Does the Devin CLI sandbox work on Windows developer machines?
No. The sandbox documentation states that Windows is not supported. On Linux, the sandbox requires bubblewrap and socat, and the CLI will not start if sandbox setup fails. Windows developers therefore cannot rely on the sandbox from the CLI on their local machine. Confirm with Cognition whether another Devin surface, such as the cloud sessions or Devin Desktop, covers those users, and what isolation applies there. Cloud sessions run on an isolated machine per Enterprise Cloud session, according to the deployment overview. Decide how Windows users will be handled before rollout, for example by restricting CLI use to Linux or macOS hosts or by routing work through a different surface, and document that decision for your security review. Confirm macOS support separately in the current sandbox documentation.
Does the Devin sandbox stop prompt injection attacks?
No. The sandbox limits what a command can write, read and reach over the network, which reduces the damage a manipulated agent can cause. It does not inspect instructions for prompt injection. The separate AI Guardrails feature screens incoming messages for prompt injection and data exfiltration attempts, and it is documented as an enterprise feature enabled through the account team. Confirm with Cognition whether your plan includes it and how it is configured. Treat both controls as layers: the sandbox and deny rules constrain actions, while Guardrails screen inputs. Your review should still assume that an agent can be manipulated, and it should limit the credentials, repositories and network destinations available to each session.
What to check in your own environment before you sign off
The vendor documentation describes how the Devin CLI sandbox is meant to behave, but it cannot tell you what your own build and package traffic will do under it. Before sign-off, run the team's real workflows through the sandbox and record every blocked request. Compare those blocks against the allowed_domains and denied_domains lists, including the package registries, container registries, artifact stores and internal Git hosts your engineers depend on daily. A list that looks complete on paper often breaks on the first dependency install, and you want to learn which domains are missing while the team is still in a pilot group, not after broad rollout. Also confirm how the limited mode, which permits only GET, HEAD and OPTIONS requests, interacts with your package managers and build tools, since a build that needs to POST to a registry will fail in that mode.
Next, test the fail-closed behavior. The CLI sandbox documentation states that the CLI will not start if sandbox setup fails, and that Linux requires bubblewrap and socat. Build a non-compliant image on purpose, one without those binaries or with a different base configuration, and confirm that the CLI refuses to launch rather than falling back to an unsandboxed session. Repeat the check on each Linux image your developers actually use, because a missing dependency on one base image is a common reason for a silent gap. Windows is not supported by the sandbox, so decide in advance which endpoints are excluded and how the team's managed configuration keeps those machines from running the CLI.
Finally, inventory local overrides. Team denylists merge with user denylists, and a team deny rule overrides user allow or ask rules, but user-level allowlists are replaced by the team domain allowlist only when the team list is set. Ask each team lead and your endpoint management group to list any user who has changed sandbox settings, added personal allow rules or run sessions with the sandbox disabled before enforcement was set to Required. Record those users and their settings in your change log, then confirm after enforcement that the local configuration cannot weaken the team policy. Review the list again at each rollout wave, since new hires and new machines will not appear in an earlier inventory.
How DeployOpen tests and hardens a Devin CLI rollout
DeployOpen approaches Devin sandbox and permissions as a written, fixed-scope engagement covering what the Devin CLI may run, read and write, and which of those rules admins lock centrally. We test the sandbox and policy settings in your own environment, document the results, and hand over the configuration with the evidence your reviewers need.
How we scope
- Agree in writing which Devin CLI workflows, operating systems and developer groups the engagement covers before work starts.
- Confirm which plan and deployment model applies to your organization, since sandbox controls and admin options depend on the edition.
- Record the commands, file paths, domains and model endpoints each workflow needs so the allow and deny lists start from evidence.
How we build
- Configure sandbox enforcement, team domain allowlists and denylists, and Write and Read scopes according to the agreed scope.
- Test that sandboxed commands cannot write outside granted paths and that paths under Read deny rules are hidden from them.
- Check network filtering through the loopback proxy, including how limited mode behaves against your required endpoints.
How we hand over
- Deliver a written configuration record covering every admin setting, rule, scope and the reason each one exists.
- Provide test results showing which blocked and allowed actions were verified, with the Devin CLI version tested.
- Document the steps your team must repeat when rules change, and the points where the vendor must confirm behavior.
How we support
- Offer ongoing support, upgrades and periodic re-testing as a retainer when Devin CLI releases change sandbox behavior.
- Review new domains, commands and team members against the agreed rule set before they are added.
- Keep the configuration record current so audit and security reviews can rely on it between assessments.

