Does Cursor agent permissions and sandboxing meet our approval requirement?
Your first decision is which run mode the Cursor agent may use without a person approving each step. Cursor's run modes documentation describes three options: Auto-review (recommended), Allowlist and Run Everything. Run Everything executes every tool call with no sandbox and no classifier, so it does not meet a per-step approval requirement and should be excluded by policy. In Auto-review, allowlisted calls run immediately, other shell commands run in the sandbox where possible, and any call that cannot be sandboxed goes to an LLM classifier. Allowlist is the stricter choice for teams that want a fixed list of permitted commands. Confirm with your Cursor account team which of these modes your plan exposes, and whether a per-step human approval option exists for your use case, since the documentation does not present one as a separate mode.
The run modes and sandbox are documented for local agents only. Cloud Agents run on their own machine and never ask for approval, so a policy that covers local sessions does not automatically cover cloud tasks. Admins can override which run modes are available and configure sandbox networking rules, and team settings take precedence over individual and project configuration. The documentation does not state in one place which of these controls require the Teams plan and which require Enterprise, so check each setting in the Cursor enterprise documentation before you write the requirement into a policy. Also confirm whether a team can disable cloud agents for its members, because that is the gap most likely to remain open.
To meet the requirement, set the organization policy to Auto-review, remove or block Run Everything, and keep the Browser, File-Deletion, External-File and .cursor directory protections enabled, as the hardening guide recommends. Sandboxed commands have network access blocked by default and protect paths such as .git/config, .git/hooks, .vscode and .cursorignore, so test whether your build and package tasks still work under those limits. The sandbox also depends on platform: Seatbelt on macOS requires Cursor v2.0 or later, and Landlock with seccomp on Linux requires kernel 6.2 or later with Landlock v3. Machines below those levels fall outside the documented sandbox and need a separate control. Record the gaps you accept: cloud agent actions, any allowlist entries and the sandbox networking exceptions.
Run mode, sandbox and admin control support by edition
This table compares Cursor agent run modes, sandbox requirements and admin controls across individual plans and team plans. Use it to see which settings are documented for each edition and which still need confirmation from Cursor before you approve a rollout. The main takeaway is that the sandbox has version and kernel prerequisites, and team settings override individual choices, so the admin policy is where you control risk.
| Capability | Individual plans | Teams and Enterprise | Confirm before approval |
|---|---|---|---|
| Auto-review (recommended) | Documented run mode for local agents | Hardening guide sets this as the recommended organization policy | Non-sandboxable calls go to an LLM classifier |
| Allowlist | Documented run mode for local agents | Admins can override which run modes are offered | Confirm which commands are allowlisted by default and who edits the list |
| Run Everything | Available as a documented run mode with no sandbox | Hardening guide recommends Auto-review instead of this mode | Ask whether admins can block this mode on your edition |
| macOS Seatbelt sandbox | Requires Cursor v2.0 or later | Same Cursor v2.0 or later requirement applies to managed machines | Confirm sandbox coverage across your managed macOS fleet |
| Linux Landlock with seccomp sandbox | Requires kernel 6.2 or later with Landlock v3 | Same kernel requirement applies to Linux developer hosts | Check kernel versions on every Linux workstation and build host |
| Network blocked by default in sandbox | Sandboxed commands have no network access by default | Admins can configure sandbox networking rules | Confirm how rules are scoped and where they are set |
| Protected paths | Includes .git/config, .git/hooks, .vscode and .cursorignore | Keep Browser, File-Deletion, External-File and .cursor protection enabled | Confirm protection covers paths your repositories add |
| Admin override of run modes | Individual and project settings apply only where no team setting overrides them | Team settings take precedence over individual and project configuration | Confirm which run modes an Enterprise admin can lock |
| Cloud Agents approval behavior | Run Modes do not apply, and Cloud Agents never ask for approval | Same behavior applies to cloud runs under team accounts | Review what cloud agents can reach before enabling them |
How Cursor decides whether a shell command runs, is sandboxed or is reviewed
Cursor's agent does not treat every shell command the same way. Under Auto-review, which Cursor's run modes documentation lists as the recommended mode, the decision follows three paths. Calls on the allowlist run immediately. Other shell commands run inside the sandbox when the sandbox can contain them. Calls that cannot be sandboxed go to an LLM classifier, which decides whether they proceed. The classifier is a model-based check, not a human approval step, so a reviewer should not assume a person sees every risky call. Ask Cursor to confirm how the classifier decides and what it does when it is uncertain.
The sandbox is what limits a command's reach on the developer's machine. Cursor's run modes documentation states that it uses Seatbelt on macOS (Cursor v2.0 or later) and Landlock with seccomp on Linux (kernel 6.2 or later with Landlock v3). Sandboxed commands have network access blocked by default. Protected paths include .git/config, .git/hooks, .vscode and .cursorignore, which matter because changes to hooks or editor configuration can make later commands run outside the reviewer's expectations. Confirm that the fleet meets the macOS and kernel requirements, since machines below them may fall back to a different behavior. Pair this with the protection options in the security and privacy hardening guide.
Run Everything removes both the sandbox and the classifier, so every tool call executes with the developer's own permissions. Treat it as a mode to block, not a convenience setting. Cloud Agents are a separate case: Cursor's documentation states that they run on their own machine and never ask for approval, so Run Modes do not govern them at all. Any review of Cloud Agent use must therefore rely on other controls, such as the team and admin settings and the access policies described elsewhere on this page.
Decision path for a shell command under Auto-review
A tool call from the agent enters the decision path first. If the command matches the allowlist, it runs immediately. If not, Cursor checks whether the sandbox can take it. Sandboxed commands run with network access blocked by default and protected paths such as .git/config, .git/hooks, .vscode and .cursorignore kept out of reach. Calls that cannot be sandboxed go to an LLM classifier, which decides whether they are allowed or blocked. Run Everything is the bypass: it skips the sandbox and the classifier entirely. Check which path your organization's policy permits.
Auto-review routing for a local shell command, with the Run Everything bypass shown separately.
Decisions the organization must make before approval
Before approving Cursor agents, the organization has to settle a small set of policy choices. Each one trades developer friction against the risk of an agent running commands, reading files or reaching the network without a human check. Settle them together, then record them as team-level settings so individual users cannot override them.
Default run mode for the organization
Cursor documents three run modes: Auto-review (recommended), Allowlist and Run Everything. Auto-review runs allowlisted calls immediately, sends other shell commands to the sandbox where possible and routes calls that cannot be sandboxed to an LLM classifier. The security hardening guide recommends setting the organization policy to Auto-review rather than Run Everything as the baseline. Confirm which modes your edition lets admins make available, and test the default with a few real tasks before you publish it.
Run modes docsAllowlist scope and ownership
An allowlist decides which shell commands run without any review, so a broad list removes most of the protection Auto-review provides. Name an owner, usually platform engineering or the security team, and require a change request for each addition. Start with read-only and build commands the team already uses, and review the list on a fixed schedule. Developers gain speed from a long list, but every entry is a command that can run without anyone seeing it.
Whether to remove Run Everything
Run Everything runs every tool call with no sandbox and no classifier, so it removes the controls that limit file and network access. Admins can override which run modes are available, which makes removal a policy decision rather than a training problem. Removing it is the stronger control. Keeping it for a small group of maintainers, on machines without access to production credentials, is the common compromise. Decide this before rollout, because users who have already used it will push back.
Sandbox network rules
Sandboxed commands have network access blocked by default, so package installs and builds fail until you allow their destinations. Decide which package registries, internal artifact hosts and Git servers the sandbox may reach, and keep the list narrow. Admins can configure sandbox networking rules, and team settings take precedence over individual and project configuration. Test a standard build on each supported operating system (macOS and Linux) before you widen any rule, because the two platforms have different sandbox mechanisms.
Protected paths and .cursor directory
Protected paths include .git/config, .git/hooks, .vscode and .cursorignore, and the hardening guide recommends keeping Browser, File-Deletion, External-File and .cursor directory protection enabled. These paths are where an agent could change Git behavior, add hooks that run later, or alter editor settings. Turning any protection off should require a documented exception. Confirm that the team setting enforces these protections for every developer, not only in new projects.
Whether to allow Cloud Agents
Run Modes apply only to local agents. Cloud Agents run on their own machine and never ask for approval, so the run mode settings and the sandbox do not govern them. Decide whether they are allowed at all, and if so, for which repositories and data. Ask Cursor how Cloud Agents access source code and secrets, where they run, and how their actions appear in the audit log. Many organizations start by prohibiting Cloud Agents on repositories that hold regulated data.
How the answer changes by operating environment
On macOS, Cursor's terminal sandbox uses Seatbelt, and the run modes documentation ties that sandbox to Cursor v2.0 or later. The first check is therefore version: confirm that every workstation runs a release at or above that version before your team relies on sandboxing for shell commands. Auto-review is the mode the documentation recommends. Allowlisted calls run immediately, other shell commands run in the sandbox when possible, and only calls that cannot be sandboxed go to the LLM classifier.
- Version floor: Verify the minimum Cursor version on every managed Mac before the rollout starts.
- Network posture: Sandboxed commands block network access by default. Confirm that your sandbox networking rules match the hosts you have approved.
- Protected paths: Keep .git/config, .git/hooks, .vscode and .cursorignore protected so agents cannot change repository hooks or editor settings.
- Locks to set: Remove Run Everything from the modes available to developers, since team settings take precedence over individual and project configuration.
Run a pilot on the exact macOS build and Cursor version your fleet will use, and record the sandbox behavior before approving broad access.
On Linux, the sandbox uses Landlock with seccomp, and the documentation requires kernel 6.2 or later with Landlock v3. Kernel version is the dependency that matters most here, because distributions that ship older kernels may not meet the requirement. When the sandbox cannot be applied, Auto-review does not fall back to unrestricted execution. Calls that cannot be sandboxed go to the LLM classifier, so classifier behavior becomes part of your control set for those hosts.
- Kernel inventory: Check the kernel version on each image and build, including developer containers and virtual machines.
- Fallback behavior: Test which shell commands on your hosts fall through to the classifier, and decide whether that path is acceptable for your data.
- Network rules: Confirm that network access is blocked for sandboxed commands and that any sandbox networking rules match your approved endpoints.
- Protected paths: Verify that .git/hooks, .vscode and .cursorignore remain protected on every build your engineers use.
Before approving Linux hosts, ask your platform team to confirm the kernel version on each image and run a test against the protected paths and network rules.
The sandbox behavior described in the run modes documentation covers macOS and Linux only. Do not assume the same sandbox controls apply to Windows workstations, and confirm the Windows position with Cursor in writing before you allow Windows developers to use Auto-review as their default. Admin settings still follow the team, so a single policy can cover mixed fleets, but the enforcement you can rely on differs by operating system. Treat each platform as its own test case.
- Platform matrix: List every operating system in use and mark which sandbox controls you have verified on each one.
- Windows confirmation: Ask Cursor for the current Windows sandbox documentation and the exact protections it provides.
- Uniform policy: Set the run mode and network rules at the team level so that a Windows developer does not receive weaker defaults.
- Fallback review: Where a platform cannot sandbox a call, check what the classifier path allows and whether your allowlist covers the commands that run most often.
Ask for written confirmation of sandbox support on each platform in your fleet before any policy goes live.
When the work involves regulated data and network egress must be blocked, the sandbox is one layer and not the whole control. Sandboxed commands have network access blocked by default, which limits what a shell command can send out. The sandbox does not change how the agent reaches its model providers, so model traffic and data handling need their own review. The run modes documentation also states that Run Modes apply only to local agents, and that Cloud Agents run on their own machine and never ask for approval. For this environment, the cloud agent question is as important as the sandbox question.
- Default block: Keep network access blocked for sandboxed commands and document every exception.
- Sandbox networking rules: Configure allowed destinations as an admin, and keep the list short.
- Cloud Agents: Decide whether they are permitted for regulated repositories, and confirm with Cursor whether an admin can disable them.
- Run mode lock: Lock Auto-review as the organization policy, following the security and privacy hardening guidance.
Ask Cursor which admin controls govern Cloud Agents and how your network rules apply to each run mode before you approve use on regulated data.
The number of repositories changes how much policy drift you must manage. Repository-level and project configuration can vary from one codebase to another, while team settings take precedence over both. An organization with many repositories needs a central floor that individual projects cannot weaken. A single team with one codebase has fewer configuration surfaces to police, but it still needs the same locks. The answer is about governance overhead, not a different safety standard.
- Central floor (many repositories): Set the run mode and sandbox networking rules at the team level so project files cannot lower them.
- Allowlist drift (many repositories): Review allowlisted commands per repository, since the same command may be safe in one codebase and risky in another.
- Simple baseline (single team): Apply one team policy with Auto-review and the protected paths, then review it on a fixed schedule.
- Admin lock (both): Restrict the run modes available to developers so that Run Everything stays unavailable in either case.
An illustrative check for a large estate is to sample a few repositories and confirm that their project settings do not override the team floor.
Order of work to lock down agent permissions in production
This sequence moves Cursor from its default agent behavior to a locked organization policy in which Auto-review governs local shell commands, Run Everything is removed, and sandbox and protected-path settings are verified before wide rollout. Each step ends with a check you can record for your approval file.
Confirm the plan that carries admin overrides
Before changing anything, confirm with your Cursor account team and the pricing page which plan gives admins the ability to override available run modes and configure sandbox networking rules. Run modes and team settings are documented as taking precedence over individual and project configuration, but the plan that exposes these controls is the first thing to verify in your own account. Done means a written note naming the plan, the admin owners and the exact settings page you will use, filed with the approval record.
Set the organization policy to Auto-review
Have an admin set the organization run mode to Auto-review, which Cursor documents as the recommended mode and which its hardening guide recommends over Run Everything. In this mode allowlisted calls run immediately, other shell commands run in the sandbox when possible, and commands that cannot be sandboxed go to an LLM classifier. Verification: export or screenshot the team setting, then confirm on a test seat that the individual user cannot switch to a less restrictive mode.
Remove or lock Run Everything
Confirm that Run Everything, which executes every tool call with no sandbox and no classifier, is either removed from the modes available to developers or locked so individuals cannot select it. Ask your administrator to confirm which setting controls availability in your edition, since the override is a plan-dependent admin feature. Verification: a test account attempts to select Run Everything and the option is absent or refused, and the result is recorded in the change ticket.
Build and review the command allowlist
Collect the shell commands your developers run in normal work, such as build, test and package commands, and have a security owner review each entry before it is added to the allowlist. Allowlisted calls run immediately without sandboxing, so each entry should be narrow and justified. Verification: a signed-off allowlist document with an owner for each entry, reviewed again whenever the team adds a new toolchain.
Set sandbox network rules
Confirm that sandboxed commands have network access blocked by default, then configure any sandbox networking rules your admins need, such as limited egress for package registries your teams already use. Keep the list short and document the destination and reason for each rule. Verification: from a sandboxed test command, confirm that an unlisted external host is unreachable and that an approved registry resolves as intended.
Keep protected path settings enabled
Verify that Browser, File-Deletion, External-File and .cursor directory protection are all on, and that the protected paths include .git/config, .git/hooks, .vscode and .cursorignore. Do not let these be disabled at the project level for convenience. Verification: a test run attempts to modify a protected file and the agent is prompted or blocked, and the admin export shows the protections enabled.
Pilot with a small group and test blocked commands
Roll the policy to a small pilot group and have a security engineer run a scripted set of commands that should be blocked or sent for approval, including commands with network calls, writes to protected paths and deletions outside the project. Record what happened for each case and adjust the allowlist or sandbox rules where developers are blocked for legitimate work. Verification: a pilot report listing each test, the expected result and the observed result, with no unexplained passes.
Roll out and review the settings on a schedule
After the pilot results are accepted, extend the locked policy to the full group and keep the settings export in your change records. Re-check the run mode, allowlist, sandbox rules and protected paths after each Cursor version update, and review Cursor's security advisories for sandbox or approval issues before upgrading. Verification: a recurring review record showing the settings still match the approved configuration and the advisory review was completed.
Evidence a security reviewer asks for on run modes and sandboxing
This table lists the artifacts a security reviewer should collect before approving Cursor agent run modes and sandboxing, and what each one proves. Read it as a checklist: each row names the evidence, the question it answers, and where to get it from Cursor's admin settings or from your own inventory. The main takeaway is that a configured policy is only proof when an admin export or override record confirms that the setting is actually enforced across the organization.
| Evidence item | What it proves | Where it comes from |
|---|---|---|
| Organization run mode policy setting | Which run mode is the team default, and whether Run Everything is blocked for local agents | Team admin settings in Cursor, recorded with the date and the admin who set it |
| Admin override of available run modes | That admins have restricted which run modes users can select, and that individual settings cannot widen it | Screenshot or export of the admin configuration showing the modes offered to members |
| Sandbox networking rule set | Which domains or network paths sandboxed commands may reach, with network access blocked by default | Admin sandbox networking configuration, exported or captured with a reviewer-dated record |
| Protected paths list | That .git/config, .git/hooks, .vscode, .cursorignore and the .cursor directory are guarded from agent writes | Cursor security hardening guide checked against the active team configuration |
| Allowlist with owner and review date | That each allowed command has a named owner, a business reason and a scheduled re-approval | Your own change log or ticket system, linked to the allowlist entries |
| Linux kernel and Cursor version inventory | Whether each Linux host meets the kernel 6.2 or later with Landlock v3 requirement, and whether macOS hosts run Cursor v2.0 or later | Endpoint management inventory query for kernel and Cursor client versions |
| Cloud Agents usage decision | That the organization has decided where Cloud Agents may be used, since they run outside Run Modes and never ask for approval | Written policy approved by security, plus the list of teams permitted to use Cloud Agents |
| Hardening guide review record | That the organization compared its settings with Cursor's recommended Auto-review default and protection toggles | Dated review record referencing the Cursor enterprise security and privacy hardening documentation |
Questions buyers ask before approving Cursor agent permissions
Can an admin disable Run Everything for all users in Cursor?
Yes, according to Cursor's run modes documentation, admins can override which run modes are available, so Run Everything can be removed from the choices developers see. Run Everything runs every tool call with no sandbox and no classifier, which makes it the setting most reviewers want removed first. The same documentation states that team settings take precedence over individual and project configuration, so a team-level restriction should hold against local overrides. Before you approve, confirm with Cursor how the restriction is applied in your plan, test it with a non-admin account on each operating system you support, and check whether a developer can still change the mode in a project file. The security and privacy hardening guide recommends setting the organization policy to Auto-review instead of Run Everything.
What does the Cursor sandbox block by default?
By default, sandboxed shell commands have network access blocked, and the sandbox limits which files a command can change. On macOS the sandbox uses Seatbelt in Cursor v2.0 or later. On Linux it uses Landlock with seccomp on kernel 6.2 or later with Landlock v3. The documentation also lists protected paths that stay guarded, including .git/config, .git/hooks, .vscode and .cursorignore. The hardening guide recommends keeping Browser, File-Deletion, External-File and .cursor directory protection enabled. Engineers should verify these controls on a test machine, because a command that cannot be sandboxed falls back to the LLM classifier in Auto-review mode rather than being blocked outright.
Can a Free or individual Cursor plan enforce an agent permission policy?
No. Admin controls that set run modes and sandbox networking rules belong to team and organization administration, so individual plans cannot enforce a central policy. Cursor's pricing page lists team-wide privacy settings on the Teams plan, and lists repository, model and MCP access controls on Enterprise. Confirm with Cursor which run-mode override controls apply to Teams and which require Enterprise, because the pricing page does not map each run-mode control to a plan. If a developer uses a personal account for work, the company policy does not reach that session, so block personal sign-in on managed devices as part of the rollout.
How do Cloud Agents differ from local agents under run modes?
Run modes apply only to local agents. Cloud Agents run on their own machine and never ask for approval, so the Auto-review, Allowlist and Run Everything settings do not govern them. For reviewers, this means the sandbox and approval controls described for local agents do not cover cloud runs. Ask Cursor which controls govern Cloud Agents, including what repository access they receive, which network paths they use, and how their activity appears in logs. Cursor's Enterprise pages cover repository and access controls, so review those with your security team before allowing cloud runs on sensitive repositories.
What effort does a Cursor permissions rollout take, and what drives it?
Cursor does not publish a rollout duration, so treat any timeline as something to confirm with Cursor and your own change process. The effort is driven by fleet size, because each managed device and operating system needs its own test of the sandbox. Allowlist complexity adds work, since each approved command needs a review and an owner, and projects with many build tools produce longer lists. The OS mix matters too: macOS uses Seatbelt and Linux uses Landlock and seccomp with a kernel requirement, so Linux fleets on older kernels need upgrades or a different plan. Ask for a written list of what the vendor will support and what your own team must test.
Can our own team configure Cursor permissions internally without outside help?
Yes, the controls described in Cursor's documentation are set by your own administrators, so an internal platform or security team can configure run modes, sandbox networking rules and protected paths without an outside firm. The main internal work is testing each setting on each operating system, writing an allowlist review process, and keeping the policy in step with Cursor releases. DeployOpen can plan, implement and test a Cursor deployment in your own environment as a fixed-scope engagement with written deliverables, and it can run security testing of agent behavior. DeployOpen does not issue audit reports or certifications, so independent assessors still review evidence. Any quote follows from the written scope.
Why sandbox behavior should be checked against published advisories
Sandbox and approval controls are the boundary that published security advisories test, so they should be checked before any Cursor version floor is set. Run modes decide whether a tool call runs without approval, and the terminal sandbox decides what a permitted command can reach. A flaw in either layer changes the risk of every workstation that runs the agent, which is why the reader should treat advisories as direct evidence about these controls rather than as general patch notices.
Before fixing a minimum Cursor version, open the cursor/cursor security advisories list in the Cursor GitHub repository and search each entry for sandbox, approval, run mode, protected path or network bypass. Record the affected versions and the fixed version for each match, and confirm that the version floor in your managed rollout excludes every affected build. Also confirm whether an advisory depends on a setting such as Run Everything, since a fix in one run mode does not show that the others are covered. The version floor is only meaningful once it is tied to this check.
For the detail of individual sandbox escapes and prompt injection paths to code execution, read the sibling topic on Cursor security incidents and advisories instead of repeating that analysis in your own review. Use this page's checks to decide the policy, then use that topic to understand what each advisory means for configuration and patching. Ask Cursor which advisories affected the enterprise build you will deploy, because the public list may not state which plan or edition was exposed.
How DeployOpen helps you configure and test agent permissions
DeployOpen works on Cursor agent permissions as a written, fixed-scope engagement inside your own environment. We map which run modes your teams may use, check how the terminal sandbox behaves on your macOS and Linux machines, and test the settings your admins can lock before anything is rolled out.
How we scope
- Agree in writing which run modes, teams and developer machine types the engagement covers
- Inventory the Teams or Enterprise admin settings that can restrict run modes and sandbox networking
- Confirm which Cursor plan and version each developer group uses before setting policy
- Record out-of-scope items such as Cloud Agents, which do not use Run Modes
How we build
- Draft a team policy that sets Auto-review as the organization default, not Run Everything
- Define sandbox networking rules and test that network access stays blocked by default
- Verify protected paths such as .git/config, .git/hooks, .vscode and .cursorignore behave as expected
- Test the admin override settings against individual and project configuration to confirm team precedence
How we hand over
- Deliver a written permissions baseline with each setting, its owner and its expected behavior
- Provide test evidence showing which tool calls ran unprompted, sandboxed or sent to review
- Document the steps to reapply the policy after a Cursor upgrade or a change in admin settings
- Walk your security and engineering leads through the findings and open questions
How we support
- Offer ongoing support and periodic re-testing as a retainer after the fixed-scope work ends
- Review new Cursor releases and advisories against the baseline and flag settings to revisit
- Support red team testing of agent permissions and sandbox boundaries on request
- Agree retainer scope and cadence in writing, with no prices stated here

