Enterprise
AI Coding Security Checklist
An AI coding security checklist should cover data flow, model access, repo access, secrets, tool permissions, logging, human review and incident response. For each item, ask what the tool can read, what it can change and who reviews the result. Then mark which controls are real boundaries and which are best-effort.

On this page
- Which controls need an owner before rollout?
- How should the rollout work?
- What's new in Cursor recently?
- Which checklist items are real boundaries and which are best-effort?
- Does a control you tested locally still hold in a cloud agent run?
- Why does network hardening sometimes make things less secure here?
- What retention numbers will a reviewer ask you for?
Which controls need an owner before rollout?
Four controls decide whether security will sign off: who has access, what the policy allows, how data moves and whether anyone measures adoption. Settle them before the pilot starts, because they apply whichever tool you pick.
- Control
- Identity
- Owner
- IT
- Evidence
- SSOSingle Sign-On. One company login (usually via SAML or OIDC) instead of a separate password per tool. Press Enter for the full definition., SCIMSystem for Cross-domain Identity Management. A standard for automatically creating and removing user accounts when people join or leave. Press Enter for the full definition. or membership source is defined
- Control
- Policy
- Owner
- Engineering leadership
- Evidence
- Allowed repos, tools and review rules are documented
- Control
- Security
- Owner
- Security team
- Evidence
- Data flow, secrets boundary and audit path are reviewed
- Control
- Adoption
- Owner
- DevEx
- Evidence
- Pilot metrics and training path are live
| Control | Owner | Evidence |
|---|---|---|
| Identity | IT | SSOSingle Sign-On. One company login (usually via SAML or OIDC) instead of a separate password per tool. Press Enter for the full definition., SCIMSystem for Cross-domain Identity Management. A standard for automatically creating and removing user accounts when people join or leave. Press Enter for the full definition. or membership source is defined |
| Policy | Engineering leadership | Allowed repos, tools and review rules are documented |
| Security | Security team | Data flow, secrets boundary and audit path are reviewed |
| Adoption | DevEx | Pilot metrics and training path are live |
The owner column matters as much as the controls. A control with no named owner goes unchecked until someone has to answer for it. If nobody owns identity, for example, nobody checks that people who leave lose access.
Security does not own all four. Identity is IT's system of record, and policy is engineering leadership's call about what the team may ship. Adoption belongs to whoever owns developer experience. Security owns the data-flow question and the audit path, and it will ask about both.
Data flow is the question that stalls approvals, so answer it before the review meeting. Write down what the tool can read, what it can change, what leaves your network and where any of it is retained. Most of the answers come from the vendor's documentation and your own configuration. Ask the vendor for anything the documentation leaves out, and note where each answer came from.
The stack below breaks a rollout into layers. Policy comes first because the other layers carry it out. Identity controls who gets access, workflow moves code from prompt to merge, and measurement shows whether the rollout is working.
Interactive diagram. Tab through its regions; each focused region shows its detail in the panel below.
This is covered hands-on in Teams and Enterprise Admin — 6 short Units, free to read.
How should the rollout work?
Start narrow, and expand only when the pilot earns it.
- 1Week 1: pick one team, one repo and three realistic tasks.
- 2Week 2: write the workflow standard from the pilot.
- 3Week 3: train champions and add policy guardrails.
- 4Week 4: expand only after quality, cost and review load are visible.
Treat the four weeks as an order, not a deadline. The first two weeks mostly show you what your standard should say. A pilot too broad to watch closely can't teach you that, so it starts with one team and a few real tasks. Pick the team that will tell you when something breaks, even if another team would produce a better-looking result. Put policy and training in place before the rollout grows, because both are harder to add once people have formed their own habits.
Expansion is the step to slow down. After a good pilot, the pressure to widen access can arrive before the evidence does. Before you add teams, answer three questions with numbers: did review load go up or down, what does a developer cost per month, and did quality hold.
Record the same numbers before the pilot starts, so you have a baseline to compare against. Two more weeks of the same pilot cost less than a rollout you have to walk back, so run them if any answer is still a guess.
What's new in Cursor recently?
Cursor ships often, so advice about it can go out of date. The table summarizes Cursor's recent releases, so you can check this page against the current product. For each release's date and sources, see What's new in Cursor 2026.
- Surface
- Compile 2026
- What to know
- Cursor's June conference (June 16, per press coverage) centered on Origin, larger from-scratch model training and Cursor Mobile.
- Surface
- Origin
- What to know
- Early beta since August 17, 2026, on most paid plans: repos, pull requests with Code Tours, GitHub sync and a CLI. Standalone pricing and self-hosting are still unpublished.
- Surface
- Model and mobile
- What to know
- Composer 2.5The current Composer release, better at long-running tasks and at judging when a job needs a light touch versus deep work. Press Enter for the full definition. is available now. Cursor says it is training a larger model with SpaceXAI. Cursor Mobile now has its own product page.
- Surface
- Automations
- What to know
/automate, Slack emoji triggers, GitHub triggers for issue comments, reviews and workflow runs, computer use, PR defaults and memory cleanup.
- Surface
- Cloud AgentsAgents that run in a Cursor-managed virtual machine, check out the repo, do the work and open a pull request, then shut down, with no load on your laptop. Press Enter for the full definition.
- What to know
- Guided cloud environment setup, reusable snapshots,
.cursor/environment.json,/in-cloud,/autopilot(formerly/babysit) and local/cloud handoff.
- Surface
- Review
- What to know
- BugbotCursor's automated PR reviewer that posts inline findings and can push fix commits from isolated VMs. Press Enter for the full definition. averages about 90 seconds per review and finds 10% more bugs per review.
/reviewruns it locally before you push. Cursor's June changelog says Composer 2.5The current Composer release, better at long-running tasks and at judging when a job needs a light touch versus deep work. Press Enter for the full definition. now powers Bugbot, and these figures may change.
- Surface
- Design and Canvas
- What to know
- Design ModeA way to point at an element in Cursor's built-in browser and change it directly, instead of describing it in words. Press Enter for the full definition. supports multi-select and voice queueing. Canvases support Design Mode, context reports, Debug with Agent, full-screen sharing and prompt buttons.
- Surface
- SDK and run modes
- What to know
- SDK agents can use custom tools, auto-review, JSONL or custom stores, nested subagents and request IDs. Auto-review Run Mode runs known-safe calls, sandboxes shell commands where it can and sends the rest to a classifier.
- Surface
- Enterprise and pricing
- What to know
- Organizations sit above teams, and groups scope model access, spend and agent permissions. Teams launched with Standard and Premium seats and two usage pools, Cursor ModelsOn legacy Cursor plans, the monthly usage pool for Cursor's own models (Grok 4.7, Grok 4.6, Grok 4.5 and Composer 2.5), kept separate from the third-party Other Models pool. The X Subscription replaces it with one weekly pool. Press Enter for the full definition. and Other ModelsOn legacy Cursor plans, the monthly pool for supported third-party models from providers such as Anthropic, Google and OpenAI, separate from Cursor Models. On The X Subscription third-party models are billed from prepaid credit instead. Press Enter for the full definition.. Those seats are now legacy, and current Teams seats are Premium, Super and Ultra on The X SubscriptionThe subscription Cursor is sold through: one plan for Grok, Cursor and X, with Free, Plus, Premium, Super and Ultra tiers, per-seat Teams, a weekly included pool for Cursor models shared with Grok, and third-party models billed at API list price from prepaid credit. Press Enter for the full definition..
| Surface | What to know |
|---|---|
| Compile 2026 | Cursor's June conference (June 16, per press coverage) centered on Origin, larger from-scratch model training and Cursor Mobile. |
| Origin | Early beta since August 17, 2026, on most paid plans: repos, pull requests with Code Tours, GitHub sync and a CLI. Standalone pricing and self-hosting are still unpublished. |
| Model and mobile | Composer 2.5The current Composer release, better at long-running tasks and at judging when a job needs a light touch versus deep work. Press Enter for the full definition. is available now. Cursor says it is training a larger model with SpaceXAI. Cursor Mobile now has its own product page. |
| Automations | /automate, Slack emoji triggers, GitHub triggers for issue comments, reviews and workflow runs, computer use, PR defaults and memory cleanup. |
| Cloud AgentsAgents that run in a Cursor-managed virtual machine, check out the repo, do the work and open a pull request, then shut down, with no load on your laptop. Press Enter for the full definition. | Guided cloud environment setup, reusable snapshots, .cursor/environment.json, /in-cloud, /autopilot (formerly /babysit) and local/cloud handoff. |
| Review | BugbotCursor's automated PR reviewer that posts inline findings and can push fix commits from isolated VMs. Press Enter for the full definition. averages about 90 seconds per review and finds 10% more bugs per review. /review runs it locally before you push. Cursor's June changelog says Composer 2.5The current Composer release, better at long-running tasks and at judging when a job needs a light touch versus deep work. Press Enter for the full definition. now powers Bugbot, and these figures may change. |
| Design and Canvas | Design ModeA way to point at an element in Cursor's built-in browser and change it directly, instead of describing it in words. Press Enter for the full definition. supports multi-select and voice queueing. Canvases support Design Mode, context reports, Debug with Agent, full-screen sharing and prompt buttons. |
| SDK and run modes | SDK agents can use custom tools, auto-review, JSONL or custom stores, nested subagents and request IDs. Auto-review Run Mode runs known-safe calls, sandboxes shell commands where it can and sends the rest to a classifier. |
| Enterprise and pricing | Organizations sit above teams, and groups scope model access, spend and agent permissions. Teams launched with Standard and Premium seats and two usage pools, Cursor ModelsOn legacy Cursor plans, the monthly usage pool for Cursor's own models (Grok 4.7, Grok 4.6, Grok 4.5 and Composer 2.5), kept separate from the third-party Other Models pool. The X Subscription replaces it with one weekly pool. Press Enter for the full definition. and Other ModelsOn legacy Cursor plans, the monthly pool for supported third-party models from providers such as Anthropic, Google and OpenAI, separate from Cursor Models. On The X Subscription third-party models are billed from prepaid credit instead. Press Enter for the full definition.. Those seats are now legacy, and current Teams seats are Premium, Super and Ultra on The X SubscriptionThe subscription Cursor is sold through: one plan for Grok, Cursor and X, with Free, Plus, Premium, Super and Ultra tiers, per-seat Teams, a weekly included pool for Cursor models shared with Grok, and third-party models billed at API list price from prepaid credit. Press Enter for the full definition.. |
A summary only. The release tracker linked above gives each release's date and sources.
Which checklist items are real boundaries and which are best-effort?
Sort every item into one of those two groups before you sign anything. Deterministic controls block an operation whatever the model proposes: approvals, hooks, sandboxing and file system permissions. Best-effort controls only make the bad path less likely. That group includes the Run Mode allowlist, .cursorignore and team rules. The model attempts to follow rules, but Cursor calls them suggestions, not guarantees.
A hook counts as a boundary only if it fails closed. By default, Cursor lets the action through when a hook crashes or times out, so set failClosed: true on any hook the checklist relies on. Hooks set up in the dashboard don't take that option, so define a boundary hook in a hooks.json file.
Read the .cursorignore item twice. It keeps files out of agent file reading and context selection, and it is not a security boundary. A user can still open an ignored file by hand, and terminal commands and MCPModel Context Protocol. A standard that lets an AI agent pull in context from outside the repo, like Jira tickets or internal docs. Press Enter for the full definition. tools can still read it. For anything you would have to report, Cursor's guidance is to use file system permissions or to encrypt the data.
Auto-review sits in between. It runs allowlisted calls, sandboxes shell commands when it can, and routes the rest through a classifier. Cursor describes both the allowlist and the classifier as best-effort and says to combine the allowlist with hooks, so don't list Auto-review as the control itself.
A misfiled item does its damage late. The checklist passes and gets filed while it describes protections that don't hold, and nobody finds the gap until the review that follows an incident.
Does a control you tested locally still hold in a cloud agent run?
Not automatically. Cloud agents run command-based hooks from .cursor/hooks.json in your repository, plus team hooks and enterprise-managed hooks on Enterprise plans. User-level hooks in ~/.cursor/hooks.json don't load, because the cloud VM has no access to your home directory configuration.
So a hook an engineer tested on their own laptop may not exist in a cloud run at all. Prompt-based hooks don't run there either, because cloud agents run command-based hooks only.
Some repository hooks are missing too. beforeMCPExecution, afterMCPExecution and sessionStart are deferred for cloud agents. sessionEnd doesn't apply, and neither do the Tab hooks, because Tab completion is an IDE feature. Cloud agents also sometimes start in a read-only environment for early exploratory turns. Hooks don't run during those turns, and they start once the agent has a writable environment.
Treat where a control runs as part of the control. Give the checklist a column for where each control applies: local, cloud or both. Without that column, a control that only covers local runs reads as if it covers cloud runs too.
Why does network hardening sometimes make things less secure here?
Because people route around it. Cursor's guidance is to allowlist Cursor domains such as *.cursor.sh and to exclude them from SSL inspection. The reason it gives is what happens otherwise: users disable security to "make it work".
Cloud AgentsAgents that run in a Cursor-managed virtual machine, check out the repo, do the work and open a pull request, then shut down, with no load on your laptop. Press Enter for the full definition. have their own outbound policy, with three access modes: Allow all network access, Default + allowlist, and Allowlist only. We would start from Allowlist only, the strictest mode, if your team can absorb the work of adding destinations as they come up. Enterprise admins can lock the team-level setting so members can't override it. MCPModel Context Protocol. A standard that lets an AI agent pull in context from outside the repo, like Jira tickets or internal docs. Press Enter for the full definition. network policy is set per server either way.
What retention numbers will a reviewer ask you for?
Three, and Cursor publishes each one. Cloud Agent environment snapshots are deleted after 30 days of inactivity, and each start or resume extends the expiry by another 30 days. Conversation history is kept indefinitely by default. Enterprise admins can set a retention window of Indefinite or 90 days for the team's Cloud Agent data, with custom windows in early access. Deleting an individual account removes that user's data within 30 days.
Older checklists list a fourth number: indexed codebases expiring after 6 weeks of inactivity. That no longer applies. Cursor's search docs say Instant Grep builds its index on your machine, and that Cursor does not store embeddings of your codebase for search.
One Cursor page reads differently. The privacy and data governance page says the encrypted repository copies a Cloud Agent works on are deleted after the agent completes. The Cloud Agent security pages say the cloned code can stay in snapshots under the 30-day inactivity window. Quote both, and ask Cursor which one governs your setup.
Put these numbers in the document, not in a follow-up email. The reviewer can check them against Cursor's pages without your help, so quote them exactly instead of rounding them.
Frequently asked questions
Who is this guide for?
Security reviewers and platform teams who approve AI developer tools and need answers they can check against vendor docs.
What should I do next?
Sort every item on your checklist into real boundaries and best-effort controls, and add a column for where each one applies: local, cloud or both. Then copy Cursor's published retention numbers into the document exactly.
Is .cursorignore a security boundary?
No. It keeps files out of agent file reading and context selection, but a user can still open an ignored file, and terminal commands and MCP tools can still read it. For sensitive data, Cursor's guidance is to use file system permissions or encryption.
Do hooks tested locally also run in cloud agents?
Not all of them. Cloud agents run command-based hooks from the repository's .cursor/hooks.json, plus team and enterprise hooks on Enterprise plans. User-level hooks don't load, and the MCP hooks and sessionStart are deferred in cloud runs.
How long does Cursor keep cloud agent data?
Cloud Agent environment snapshots are deleted after 30 days of inactivity. Conversation history is kept indefinitely by default, and Enterprise admins can set a 90-day window instead. Deleting an account removes that user's data within 30 days.
Sources & last verified
- Cursor teams dashboard
- Cursor privacy and data governance
- Cursor SSO
- Cursor enterprise
- Cursor docs: Cloud Agent secrets and network
- Cursor docs: Security and privacy hardening
- Cursor docs: Search (Instant Grep)
- Cursor docs: Ignore file
- Cursor docs: Hooks
- Cursor docs: LLM safety and controls
Cursor ships frequently. Facts verified against primary sources on October 28, 2026.