Is Cursor AI safe? Cursor says it holds a SOC 2 Type II attestation plus ISO/IEC 27001:2022, ISO/IEC 42001:2023 and AIUC-1 certifications, and that with Privacy Mode on it does not train on your data (Security, Data Use). The larger risk is local: agents can do whatever your user account can (LLM Safety and Controls). Turn on Privacy Mode, use Auto-review with the sandbox instead of Run Everything, and protect secrets with file permissions, not only .cursorignore.
Applies to: Cursor’s Security page (updated August 25, 2026), Data Use & Privacy Overview (September 3, 2026) and the vendor’s agent security docs as read on December 2, 2026. Last checked: December 2, 2026.
On this page
Cursor is now Grok Build: what changed in the docs
On December 2, 2026 the banner on cursor.com reads “Cursor is now Grok Build”, and the security, data and agent docs now sit at docs.grok.com/build, with the desktop application documented as the “Agents Window” and a separate Terminal UI started with grok (LLM Safety and Controls, Run Modes). This guide keeps the name “Cursor” because the Security and Data Use pages are still published under it and the config paths are unchanged: ~/.cursor/permissions.json, .cursor/permissions.json, .cursorignore and sandbox.json keep their names in the current docs. Where the vendor’s text says “Grok Build” for the same product, the controls below are the ones it describes. The docs also say agents “can read files you can read, write files you can write, execute commands you can execute”, and that “there is no security boundary between agents and your user account”.
What the current docs add since November 1:
- Auto-review classifier. It runs on small managed models: Gemini 3.5 Flash Lite today, with Claude 4.5 Haiku as the fallback. Blocking Claude 4.5 Haiku for a team can disable Auto-review, and members then fall back to Allowlist (Run Modes).
- Team Auto-review rules win. When a team defines a global Auto-review configuration in the dashboard, the user-level and project-level
permissions.jsonfiles are ignored (Run Modes). - Allowlists are best-effort. The docs say the allowlist “is best-effort, not a security boundary” and should be combined with hooks (LLM Safety and Controls).
- Third model on the retention list. Claude Fable 5.2 joins Claude Fable 5.1 and Claude Fable 5 as a model outside the ZDR agreements (Privacy and Data Governance).
- Data residency is US-only. The page now lists only US-only data residency, for Enterprise teams, enabled per team by the account team (allow up to two weeks), with a 10% uplift on model pricing for eligible models. BYOK is not supported under it (Privacy and Data Governance).
- Admin quickstart has 12 steps, the new one covering Grok Bot (Security and Privacy Hardening).
Cursor security risks, in Cursor’s own words
| Risk | What Cursor’s docs say | Documented control |
|---|---|---|
| Agent acts as you | Agents “can read files you can read, write files you can write, execute commands you can execute” (LLM Safety and Controls) | Approvals, Auto-review, sandboxing, hooks |
| Auto-approved commands | With auto-approval, “agents might run destructive commands without your knowledge” and “bugs or prompt injection could cause unintended operations” (LLM Safety and Controls) | Auto-review instead of Run Everything, plus hooks |
| Classifier mistakes | “Auto-review is not a security boundary”; the classifier can allow a call you would have blocked (Run Modes) | Pair it with deterministic controls (approvals, hooks, sandbox) |
| Allowlist bypass | The allowlist is best-effort; determined agents or prompt injection might bypass it (LLM Safety and Controls) | Combine with hooks |
| Secrets in the repo | .cursorignore “is not a security boundary”; terminal commands and MCP tools can still read ignored files (LLM Safety and Controls) | File system permissions or encryption for real protection |
| Training on your code | With Privacy Mode off, Cursor may “use and store codebase data, prompts, editor actions, code snippets” to train its models (Data Use) | Privacy Mode, enforced by team admins |
| Your own API keys | With BYOK, zero data retention depends on your agreement with the model provider, not Cursor’s (Security and Privacy Hardening) | Restrict personal API keys |
| Extensions | The same publisher.extension name can point to different publishers or code on Open VSX than on Microsoft’s marketplace (Extensions) | Allowed extensions, install cooldown, signature verification |
| Plugins and MCP | A plugin can bundle MCP servers, skills, subagents, rules and hooks (Security and Privacy Hardening) | Review what it installs; MCP allowlist |
How to secure Cursor: the steps Cursor recommends
Cursor describes security as a shared responsibility: it runs the platform, you configure Privacy Mode, agent controls, extensions and monitoring (Security and Privacy Hardening).
For your own machine, the settings Cursor documents are:
-
Turn on Privacy Mode in settings. It is available on free and paid plans (Security).
-
Use Auto-review, not Run Everything. Cursor calls Auto-review “the safest useful setup for most people”: allowlisted calls run, other shell commands run in the sandbox when possible, and the rest go to a classifier. Set it in Settings > Agents > Approvals & Execution. If Auto-review is grayed out in a team, the docs say to enable Claude 4.5 Haiku in Team Settings, then fully quit and reopen the app (Run Modes).
-
Name the actions you always want to approve in
~/.cursor/permissions.json(all projects) or.cursor/permissions.json(one project). If both exist they are merged. This is Cursor’s example (Run Modes):{ "autoRun": { "allow_instructions": [], "block_instructions": [ "Every AWS CLI command should go through approval first.", "Every command that modifies Kubernetes resources should go through approval first." ] } } -
Keep secrets out of context with
.cursorignore, knowing its limits (see the table above). -
Keep the extra protections on: Browser, File-Deletion, External-File and
.cursordirectory protection, so risky actions still need approval (Security and Privacy Hardening).
For teams, Cursor’s hardening guide opens with an admin quickstart, now 12 steps. The first eleven, in short (Security and Privacy Hardening):
- Enforce Privacy Mode org-wide so members cannot turn it off.
- Set the org Run Mode policy to Auto-review and enable sandboxing.
- Distribute hooks for enforcement and logging (see Cursor hooks).
- Apply network allowlisting, exclude Cursor domains from SSL inspection, and set Cloud Agent egress if you use Cloud Agents.
- Set a Rules baseline, knowing rules are non-deterministic.
- Review plugins and MCP servers and approve trusted sources.
- Add
.cursorignoreentries for secrets and regulated paths. - Lock identity with SSO, SCIM and Allowed Team IDs (MDM); restrict extensions, set an install cooldown and keep clients on a supported version.
- Decide which models are allowed and restrict personal API keys if you rely on Cursor’s ZDR agreements.
- Review audit logs and stream them to your SIEM.
- Enable CMEK if your compliance program requires customer-managed keys.
Step 12 applies only if you use Grok Bot: an allowlist network policy that also applies to MCP servers, enforced Auto-review with team rules, Execution on Local Computer set to Never allow, and Action Recording.
Most of the org-wide levers (enforced policies, MDM, SIEM streaming) are Enterprise features; per-user controls such as .cursorignore and Run Mode defaults apply more broadly (Security and Privacy Hardening).
What Cursor’s security page commits to
| Area | What the Security page says |
|---|---|
| Certifications | AIUC-1, ISO/IEC 27001:2022 and ISO/IEC 42001:2023 certifications and a SOC 2 Type II attestation; reports on request at trust.cursor.com |
| Penetration testing | “At-least-annual penetration testing by reputable third parties”, executive summary on request |
| Subprocessors | Published on the trust portal and re-reviewed annually; Cursor will not send requests to models on a blocklist |
| China | No infrastructure in China and no subprocessors headquartered there |
| Access | Least privilege, multi-factor authentication, monitoring of system logs |
| Vulnerabilities | Reports to security-reports@cursor.com, acknowledged within 5 business days; critical incidents are emailed to affected users |
| Account deletion | Available any time from the Settings dashboard |
Privacy Mode and where your code goes
| Setting | What Cursor says happens (Data Use) |
|---|---|
| Privacy Mode on | Customer Data is not used for training by Cursor; Cursor has ZDR agreements with all providers, so model providers do not store or train on your data. Providers (Cursor included) may still run abuse classifiers, and flagged data can be stored for investigation. Non-ZDR models are marked as such or need an admin to opt in. |
| Privacy Mode off | Cursor may use and store codebase data, prompts, editor actions and code snippets to improve its AI features and train its models. Some inference providers may keep inputs and outputs temporarily; the page says this data is deleted after use. |
The same page points to the retention policies of SpaceXAI, OpenAI, Anthropic and Meta, and notes that requests made with your own API key still go through Cursor’s backend, where the final prompt is built. File contents are cached temporarily, encrypted with client-generated keys, and never used as training data when Privacy Mode is on (Data Use).
The Privacy and Data Governance page lists two ways data leaves your machine: LLM requests to providers such as Anthropic and Google (and the product’s own inference providers for custom models such as Composer), and Cloud Agents, “the only feature that requires” the vendor “to store code”, as encrypted repository copies. Cloud Agents are optional: if your security policy prohibits code storage, the page says not to enable them. Data is encrypted with TLS 1.2+ in transit and AES-256 at rest; Enterprise customers can add CMEK. Voice chat runs on Grok Voice with SpaceXAI as an authorized subprocessor under the same ZDR agreement, and admins switch it on or off with a separate “Enable voice chat” setting.
Three models sit outside the ZDR agreements: Claude Fable 5.2, Claude Fable 5.1 and Claude Fable 5. Anthropic stores their inputs and outputs for automatic and human harm-prevention reviews, not for training or product improvement. With Privacy Mode on, requests to them fail until an admin approves the model’s data retention in the dashboard, and the approval applies to the whole team. When a Fable request trips one of its security guardrails, the page says the request is routed to Claude Opus automatically (Privacy and Data Governance).
Sandbox and Cloud Agents
By default a sandboxed command can read and write the workspace, network access is blocked until your network mode and sandbox.json open it, and paths such as .git/config, .git/hooks, .vscode and .cursorignore are protected. Settings go in ~/.cursor/sandbox.json or .cursor/sandbox.json in a project; commands that need full access run outside the sandbox only after the app asks you. In the Terminal UI (grok), sandboxing is configured under [sandbox] in config.toml instead (Run Modes).
Cloud Agents run in per-agent Firecracker-based microVMs, in a separate AWS account from the rest of the vendor’s production infrastructure (Cloud Agent security).
.cursorignore and extensions
A .cursorignore file in the project root, in .gitignore syntax, blocks listed files from Agent, Tab and @ references. Cursor already ignores .gitignore entries and a default list that includes .env*. The global ignore list is empty by default; the docs suggest adding patterns such as **/.env, **/.env.*, **/credentials.json, **/secrets.json, **/*.key, **/*.pem and **/id_rsa. Test a pattern with git check-ignore -v [file] (Ignore file).
Cursor installs third-party extensions from Open VSX through its own marketplace proxy, which runs automated malware and supply-chain analysis before an extension is offered. Team admins can set a Marketplace Install Cooldown (default 0, disabled; when set above 0 it overrides per-user extensions.installCooldownHours), restrict installs with AllowedExtensions, and on Enterprise require signature verification (Extensions).
For what each plan includes, see the Cursor Hobby, Cursor Teams Standard seat and Cursor Enterprise listings. For a side-by-side with Copilot, see GitHub Copilot vs Cursor.





