Business security guide · Anysphere Cursor

How to secure Cursor for your business.

A five-step playbook for running Cursor across an engineering team without buying anything else: find it, decide the rules, configure the team, protect the secrets, and review monthly.

Updated 3 min readDrycraf Cyber OperationsCursor Teams, with Enterprise notes

The short answer

Find every Cursor install and account. Decide the rules: company accounts only, Privacy Mode always, no personal keys. Configure the team: enforced Privacy Mode, SSO, Team Rules. Protect secrets by keeping them off laptops and out of context. Review monthly, and plan for Enterprise when you need enforced MCP and run-mode controls.

  1. Find every install
  2. Write the rules
  3. Configure the team
  4. Protect the secrets
  5. Review monthly

The playbook, without buying anything

01

Find every install

Cursor installs in minutes, so it spreads quietly.

  • Search your device inventory for the Cursor app.
  • Look for .cursor/ folders and .cursorrules files in your repositories.
  • Search expense reports for Cursor subscriptions on personal cards.
02

Write the rules

A page is enough.

  • Company Cursor team only; no personal accounts for company code.
  • Privacy Mode always on; no personal API keys.
  • Agent run mode Auto-review, sandboxing on.
  • Which MCP servers are approved.
03

Configure the team

Turn the rules into settings.

  • Enforce Privacy Mode org-wide.
  • Set up SSO and enforce Team Rules.
  • Leave data-retaining models unapproved.
04

Protect the secrets

An agent can only leak what it can read.

  • Keep production credentials off laptops.
  • Add .cursorignore entries for secret files.
  • Scan repositories for committed secrets.
05

Review monthly

Thirty minutes a month.

  • Compare seats with your HR roster.
  • Review Active Sessions and connected git scopes.
  • Re-run the step-one searches.

Free and open-source tools to check out

None of these needs a purchase. Read each tool's own documentation before you run it on company systems.

  • Agent Scan (formerly mcp-scan)Apache-2.0Scans the MCP servers, agent configs and skills on a machine for tool poisoning, prompt injection and risky permissions.
  • GitleaksMITScans repositories and their history for committed secrets, such as API keys an AI agent wrote into a config file. Runs as a pre-commit hook or in CI.
  • Semgrep Community EditionLGPL-2.1Static analysis that catches insecure patterns in code, including the code AI assistants write, before it merges.
  • osqueryApache-2.0 / GPL-2.0Query laptops like a database: which AI apps, browser extensions and CLI agents are installed, and where their config files live.

At scale

Many agents, one policy: where Glasswarden comes in

Cursor's enforcement lives on its Enterprise plan, and your developers don't only use Cursor: Claude Code, Codex CLI and GitHub Copilot sit beside it. Glasswarden, from Drycraf, sees every agent's sessions and tool calls through agent hooks and OpenTelemetry, holds them to one policy, and sends fixes straight back to the agent that caused the problem.

AI VisibilityEvery coding agentCursor, Claude Code, Codex CLI and GitHub Copilot: versions, models, MCP servers, sessions and tool calls.
AI ControlA sanctioned listWhich agents and versions are allowed, and rules such as no reading secret files, warning or blocking where agents run.
AI RemediationFixes, Direct to AgentA public database or leaked key goes back to the owner's agent as a fix, verified by telemetry before it closes.

Questions admins ask

Cursor Teams or Enterprise?

Teams gives you enforced Privacy Mode, SSO and Team Rules. Enterprise adds the enforcement most security teams want: MCP configuration, auto-run controls, model access restrictions, a repository blocklist, audit logs and SCIM.

Is Team Rules a security control?

Partly. Team Rules tell the model what to do and not do, but the model can still be steered. Pair them with sandboxing and with keeping secrets off the machine.

Sources

  1. Cursor: Teams and Enterprise settings
  2. Cursor: team dashboard
  3. Cursor: privacy
  4. Cursor: security hardening

Checked against the vendors' own documentation on November 6, 2026. Admin consoles change: if a menu has moved, the vendor's page above is the authority. Product names are trademarks of their owners; Drycraf is independent of them.