21 of 36 checked automatically

How to use it

  • Once at setup, work through sections A to G.
  • Fix every P1 item before doing any work on company code. P2 items close important gaps; P3 items are good practice.
  • Items with an audit check ID are verified automatically by the Cursor Security Audit. Re-run it monthly and after every Cursor upgrade. Items without one are confirmed by hand.
  • Keep the completed checklist with your saved audit report as your assessment record.

A. Installation and identity

#CheckPriorityAudit check
A1Cursor is 3.1.2 or later (CVE-2026-73217), and updates are installed when offered.P1I01
A2Work code runs under your organisation's Teams or Enterprise account, so its policies apply.P1manual
A3Privacy Mode is on, or enforced by the team, for company code.P2manual
A4On Windows, C:\ProgramData\Cursor exists and only administrators can write it.P1W01, W02

B. Run mode and sandbox

#CheckPriorityAudit check
B1The run mode is Auto-review, or Allowlist with the sandbox on; never Run Everything on a machine with credentials.P1manual
B2Workspace Trust is on (security.workspace.trust.enabled); it ships disabled.P1V02
B3~/.cursor/sandbox.json keeps type at workspace_readwrite or workspace_readonly, never insecure_none.P1B01
B4Sandbox network is denied by default with a short allow list, and the network mode is "sandbox.json Only".P1B02, B03
B5No extra sandbox paths cover your home folder or credential folders.P2B04
B6On Windows, the agent runs inside WSL2 so the sandbox applies.P2manual

C. Allowlists, hooks and the CLI

#CheckPriorityAudit check
C1The terminal allowlist holds only read-only commands, with no shells, interpreters, deletes or network tools.P1A01
C2No *:* or whole-server MCP allowlist entries.P2A02
C3Auto-review block_instructions cover credentials, deletes, pushes and outbound data. Read them by hand: the audit lists them under A03 but can't judge what they cover.P3manual
C4No user hook downloads or runs remote code, and security hooks set failClosed: true.P2H01, H02
C5The Cursor CLI uses allowlist or auto-review approval with its sandbox on, and denies Read(**/.env*).P1L01, L02, L03, L04
C6No alias adds --yolo, --force, --sandbox disabled or --approve-mcps.P1S01

D. Extensions: MCP servers and extensions

#CheckPriorityAudit check
D1Every MCP server is approved and pinned to a version.P1M01, M03
D2Servers that read content outsiders write (errors, tickets, chat, email) have read-only scopes.P2M02
D3MCP secrets are passed as ${env:NAME}, never written into mcp.json.P2M04
D4Extensions come only from your organisation's allowlist and verified publishers.P2manual

E. Repositories

#CheckPriorityAudit check
E1Before trusting a folder, its .cursor/sandbox.json and permissions.json are read: they widen yours.P1P01, P02
E2Project MCP servers, hooks and CLI permissions are reviewed.P1P03, P04, P05, P06, P07, P08
E3Rules files (.cursor/rules/, .cursorrules, AGENTS.md, CLAUDE.md) are read and checked for hidden Unicode.P1P09, P10
E4environment.json and worktrees.json setup commands are reviewed.P2P11
E5Symlinks are listed and none points at .cursor/ or a dotfile.P1P13
E6Repositories that arrive with their own .git/config are checked for core.hooksPath, core.fsmonitor and filter drivers.P2P14
E7.env files are gitignored, and .cursorignore isn't relied on to hide secrets.P2P12

F. Cloud agents and Bugbot

#CheckPriorityAudit check
F1Cloud agent network access is "Default + allowlist" or "Allowlist only", not "Allow all".P1manual
F2Cloud agent environments hold only the secrets a task needs, since secrets are visible through the terminal.P1manual
F3The GitHub connection covers only the repositories Cursor needs, and branch protection stops agents merging.P1manual
F4Bugbot autofix is off or limited to new branches.P2manual

G. Working habits

#CheckPriorityAudit check
G1Instruction-like text in issues, pull requests, web pages and MCP results is read by a person before the agent acts on it.P1manual
G2Changes to .cursor/, rules files and .git/ are treated as security events.P1manual
G3No production credentials in the environment Cursor runs in.P1manual
G4Secret scanning, SAST and SCA run on every pull request, and a person reviews every AI-authored change.P1manual
G5Suspicious agent behaviour is reported to the security team the same day.P2manual

Sources

Informational only, with no guarantee of a vulnerability-free setup, so test every configuration in your own environment. AISecurityLabs.org is independent and not affiliated with Anysphere. Settings change as Cursor evolves, so check them against the docs for your version.