Security review questionnaire for coding agents (Claude Code, Codex, Copilot, Cursor): 40 questions and what a good answer looks like

Published · Updated · Checked against Anthropic, OpenAI, GitHub and Cursor enterprise documentation, 10 Nov 2026

Paste the tables below into a spreadsheet, send the questions to the vendor, and answer the last section yourself, because the vendor cannot. There are 40 questions in 8 sections. Each has a description of a good answer and the vendor page that already answers it, or "ask them" where no page does. A vendor that cannot answer a row in writing has given you an answer anyway.

The vendor cells were checked on 2026-11-10. Where a page did not say something, the cell reads "not found on the pages read", which does not mean the control is absent. Ask the vendor in those cells. Pages used: Claude Code admin setup, data usage, security and zero data retention; Codex managed configuration, admin FAQ and Compliance API; GitHub content exclusion, MCP and model hosting; Cursor security and data governance.

Identity and access

#QuestionA good answer looks likeWhere the vendor documents it
1Can we require single sign-on, and on which plans?SAML or OIDC, plan tiers namedClaude: not stated on the admin setup page, which points to Anthropic's Enterprise Administrator Guide. Cursor: SAML 2.0 on Teams and Enterprise. Copilot, Codex: ask them
2Is automated user provisioning and removal on our plan?SCIM named with its planClaude: not stated on the admin setup page, which names SCIM only as configured at account level. Codex: not included with ChatGPT Business. Cursor, Copilot: not found on the pages read
3Can the vendor enforce MFA, or must our identity provider?A plain statementCodex: no workspace-wide MFA enforcement, so enforce at the identity provider
4Can we stop personal accounts on work machines?Login pinned to our organization, gaps statedClaude: forceLoginMethod and forceLoginOrgUUID, not checked for Console or gateway sign-in. Cursor: Allowed Team IDs MDM policy
5Can a developer relax the organization's policy locally?Managed values winClaude: managed settings rank first and deny lists merge. Codex: local configuration cannot relax a managed denial

Data handling and retention

#QuestionA good answer looks likeWhere the vendor documents it
6What does the vendor retain, by plan, and for how long?Days per plan, in writingClaude: 30 days standard on commercial plans. Others: ask them
7Is zero data retention available, to whom, and how is it enabled?Eligibility and a named processClaude: qualified Enterprise accounts, enabled per organization. Cursor: most models run under its agreements. Codex: not found on the pages read
8What does zero retention exclude?A written listClaude: claude.ai chat, Cowork, analytics metadata, seat data, third-party integrations and MCP servers
9Which models sit outside it?Models named, with an approval pathClaude Fable 5.1 and Fable 5 require retention by default. Cursor and GitHub repeat the exception
10What does the tool keep on the laptop?Path, format, period, who can change itClaude: plaintext under ~/.claude/projects/, 30 days by default, set by cleanupPeriodDays

For rows 7 to 9 in more depth, see zero data retention for buyers.

Training and data use

#QuestionA good answer looks likeWhere the vendor documents it
11Is our code used to train models on our plan?An unconditional no, plan namedClaude: not under commercial terms unless the customer opts in. Copilot Business and Enterprise: no training. Codex: stated for Enterprise, not found for Business
12Can one developer change that setting?Admin-enforcedCursor: Privacy Mode on by default for Enterprise teams
13Is there a data-sharing programme?Opt-in by an admin, scope statedClaude: the Development Partner Program
14What leaves the machine besides prompts?Every channel, with switchesClaude: CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1; /feedback transcripts kept 5 years; WebFetch sends the hostname for a safety check
15Which third parties host the models?Names and their retention termsCopilot: zero data retention agreements with OpenAI and, for generally available features, Anthropic; xAI models run under a zero data retention API policy. Cursor: subprocessor list on its trust portal

Logging and audit

#QuestionA good answer looks likeWhere the vendor documents it
16Is there an admin audit log, and how long does it last?Event types and a periodClaude: Activity Feed, 6 years, not retroactive. Copilot: 180 days. Codex: Compliance API and OpenTelemetry events, period not found on the page read. Cursor: not found on the pages read
17Does it contain prompts and tool calls?Yes or no per surfaceClaude: no prompt text in the feed; content endpoints need a Compliance Access Key. Copilot: no client prompts. Codex: conversation_message and codex_log records
18Which sessions fall outside it?A written listClaude: Console API key, Bedrock, Google, Foundry, cloud sessions, zero-retention sessions
19Can we stream telemetry to our own collector?Export users cannot switch offCodex: local execution generates OpenTelemetry events. Others: ask them
20What must we export before the window closes?The window and a methodCodex: period not found on the pages read, so ask. Claude: Compliance API deletes are permanent

Endpoint controls

#QuestionA good answer looks likeWhere the vendor documents it
21Can we limit what runs without asking?Central rules, bypass disableableClaude: permissions.deny, allowManagedPermissionRulesOnly, permissions.disableBypassPermissionsMode. Codex: allowed_approval_policies, allowed_sandbox_modes. Copilot, Cursor: ask them
22Is execution sandboxed, with the network closed?OS isolation, domain allowlistClaude: sandbox.enabled, sandbox.network.allowedDomains. Codex: network off by default
23Can we stop it reading credential files, and what is not covered?Rule syntax and a stated limitClaude: permissions.deny rules (the page does not show a .env example); an approved Bash command can still write anywhere the user can. Copilot: content exclusion is "not a filesystem security boundary"
24Can we pin versions and models?Floor and model listClaude: minimumVersion, requiredMinimumVersion, availableModels
25How do we confirm a policy reached a machine?A command naming the sourceClaude: /status, "Setting sources" line

Third parties and MCP

#QuestionA good answer looks likeWhere the vendor documents it
26Can we limit MCP servers to an approved list?Name and identity, not a toggleClaude: allowedMcpServers, allowManagedMcpServersOnly. Codex: mcp_servers allowlist, empty disables all. Copilot: one policy, off by default. Cursor: ask them
27Can we limit plugins and marketplaces?A source allowlistClaude: strictKnownMarketplaces. Codex: restrict_to_allowed_sources
28Does the vendor review MCP servers?A plain statementClaude: does not security-audit or manage any MCP server
29Do retention promises cover data sent to MCP servers?A clear noClaude: third-party integrations and MCP servers are outside zero retention
30Can the agent run in the vendor's cloud, and can we turn that off?Where code is storedClaude: cloud sessions are disabled under zero retention. Cursor: Cloud Agents are the one feature that requires stored code

Incident and breach

#QuestionA good answer looks likeWhere the vendor documents it
31How fast will you tell us about an incident touching our data?A notice period in the contractNot found in the pages read for any of the four. Ask for the DPA clause
32How do we report a vulnerability in the tool?A published routeAsk them
33Can we delete a specific session vendor-side?An admin action and its limitsClaude: Compliance API deletes are permanent
34What is kept after deletion or under zero retention?Law and misuse exceptions with durationsClaude: flagged sessions up to 2 years
35If a secret is pasted, which copies exist?Every copy and its clockClaude: vendor 30 days plus the local transcript. See the credential runbook

Assurance evidence

#QuestionA good answer looks likeWhere the vendor documents it
36Which independent reports exist and how do we get them?Names, dates, a request routeClaude: Trust Center, SOC 2 Type 2 report and ISO 27001 certificate. Cursor: SOC 2 Type II, ISO/IEC 27001:2022, 42001:2023, AIUC-1, on request. Codex, Copilot: ask them
37Does the report scope include the coding agent?Product, period, exceptionsAsk them
38Is there third-party penetration testing?Frequency, summary availableCursor: at least annual, executive summary on request
39Where is the subprocessor list and how are changes notified?A URL and a notice periodCursor: trust portal, reviewed annually. Claude: Trust Center. See the DPA review
40Does the vendor publish what its controls do not do?Limits in the documentationClaude: "no system is completely immune". Codex: Compliance API records "do not establish a complete record of every local command"

What the vendor cannot answer for you

Four things sit on your side. Which machines run the tool at all, covered in finding the coding agents already in use. Where the local transcripts are and who can read them, since Claude Code keeps plaintext under ~/.claude/projects/ (where it stores sessions). What your people have already pasted into sessions (secrets in transcripts). And what your own policy says, for which the session data policy template is a start. Answer these with an owner and a date. Side-by-side vendor controls are in the enterprise controls comparison.

Copy this block for the internal rows and delete what does not apply.

Internal question: [which machines run which agent, and how we know]
Owner: [name]    Evidence: [link]    Date: [date]
Internal question: [where transcripts live and who can read them]
Owner: [name]    Evidence: [link]    Date: [date]
Internal question: [secrets already present in transcripts, and the scan we ran]
Owner: [name]    Evidence: [link]    Date: [date]
Internal question: [our retention number and who approved it]
Owner: [name]    Evidence: [link]    Date: [date]

Sealkeep's part

Sealkeep addresses one internal question, where session records live and who can read them, for Claude Code and Codex only. It seals each transcript on the developer's machine, stores it in a bucket the company chooses, and limits access by project membership. It does not capture Cursor or Copilot sessions, cannot see machines that do not run it, is not a DLP or a real-time monitor, is not a compliance certification, and its encryption format has not been independently audited. Its own answers are in the technical and organisational measures, the threat model, which is implementer-authored and not independently audited, and the architecture and data flow pages.

FAQ

How many of these questions should a small team ask?

All 40 of the vendor you will rely on most. Rows 7 to 9 and 16 to 18 deserve a written reply, not a link, because they decide what data exists and who can see it.

Can we answer these from public documentation alone?

Mostly for Claude Code and Codex, partly for Cursor and Copilot. Rows 31 and 37 need the contract or a trust portal request.

Do we send the same questionnaire to every vendor?

Yes, so the answers compare. Keep "not found" as an answer and follow up, since it usually means the page is silent, not that the control is missing.