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
| # | Question | A good answer looks like | Where the vendor documents it |
|---|---|---|---|
| 1 | Can we require single sign-on, and on which plans? | SAML or OIDC, plan tiers named | Claude: 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 |
| 2 | Is automated user provisioning and removal on our plan? | SCIM named with its plan | Claude: 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 |
| 3 | Can the vendor enforce MFA, or must our identity provider? | A plain statement | Codex: no workspace-wide MFA enforcement, so enforce at the identity provider |
| 4 | Can we stop personal accounts on work machines? | Login pinned to our organization, gaps stated | Claude: forceLoginMethod and forceLoginOrgUUID, not checked for Console or gateway sign-in. Cursor: Allowed Team IDs MDM policy |
| 5 | Can a developer relax the organization's policy locally? | Managed values win | Claude: managed settings rank first and deny lists merge. Codex: local configuration cannot relax a managed denial |
Data handling and retention
| # | Question | A good answer looks like | Where the vendor documents it |
|---|---|---|---|
| 6 | What does the vendor retain, by plan, and for how long? | Days per plan, in writing | Claude: 30 days standard on commercial plans. Others: ask them |
| 7 | Is zero data retention available, to whom, and how is it enabled? | Eligibility and a named process | Claude: qualified Enterprise accounts, enabled per organization. Cursor: most models run under its agreements. Codex: not found on the pages read |
| 8 | What does zero retention exclude? | A written list | Claude: claude.ai chat, Cowork, analytics metadata, seat data, third-party integrations and MCP servers |
| 9 | Which models sit outside it? | Models named, with an approval path | Claude Fable 5.1 and Fable 5 require retention by default. Cursor and GitHub repeat the exception |
| 10 | What does the tool keep on the laptop? | Path, format, period, who can change it | Claude: 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
| # | Question | A good answer looks like | Where the vendor documents it |
|---|---|---|---|
| 11 | Is our code used to train models on our plan? | An unconditional no, plan named | Claude: not under commercial terms unless the customer opts in. Copilot Business and Enterprise: no training. Codex: stated for Enterprise, not found for Business |
| 12 | Can one developer change that setting? | Admin-enforced | Cursor: Privacy Mode on by default for Enterprise teams |
| 13 | Is there a data-sharing programme? | Opt-in by an admin, scope stated | Claude: the Development Partner Program |
| 14 | What leaves the machine besides prompts? | Every channel, with switches | Claude: CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1; /feedback transcripts kept 5 years; WebFetch sends the hostname for a safety check |
| 15 | Which third parties host the models? | Names and their retention terms | Copilot: 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
| # | Question | A good answer looks like | Where the vendor documents it |
|---|---|---|---|
| 16 | Is there an admin audit log, and how long does it last? | Event types and a period | Claude: 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 |
| 17 | Does it contain prompts and tool calls? | Yes or no per surface | Claude: no prompt text in the feed; content endpoints need a Compliance Access Key. Copilot: no client prompts. Codex: conversation_message and codex_log records |
| 18 | Which sessions fall outside it? | A written list | Claude: Console API key, Bedrock, Google, Foundry, cloud sessions, zero-retention sessions |
| 19 | Can we stream telemetry to our own collector? | Export users cannot switch off | Codex: local execution generates OpenTelemetry events. Others: ask them |
| 20 | What must we export before the window closes? | The window and a method | Codex: period not found on the pages read, so ask. Claude: Compliance API deletes are permanent |
Endpoint controls
| # | Question | A good answer looks like | Where the vendor documents it |
|---|---|---|---|
| 21 | Can we limit what runs without asking? | Central rules, bypass disableable | Claude: permissions.deny, allowManagedPermissionRulesOnly, permissions.disableBypassPermissionsMode. Codex: allowed_approval_policies, allowed_sandbox_modes. Copilot, Cursor: ask them |
| 22 | Is execution sandboxed, with the network closed? | OS isolation, domain allowlist | Claude: sandbox.enabled, sandbox.network.allowedDomains. Codex: network off by default |
| 23 | Can we stop it reading credential files, and what is not covered? | Rule syntax and a stated limit | Claude: 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" |
| 24 | Can we pin versions and models? | Floor and model list | Claude: minimumVersion, requiredMinimumVersion, availableModels |
| 25 | How do we confirm a policy reached a machine? | A command naming the source | Claude: /status, "Setting sources" line |
Third parties and MCP
| # | Question | A good answer looks like | Where the vendor documents it |
|---|---|---|---|
| 26 | Can we limit MCP servers to an approved list? | Name and identity, not a toggle | Claude: allowedMcpServers, allowManagedMcpServersOnly. Codex: mcp_servers allowlist, empty disables all. Copilot: one policy, off by default. Cursor: ask them |
| 27 | Can we limit plugins and marketplaces? | A source allowlist | Claude: strictKnownMarketplaces. Codex: restrict_to_allowed_sources |
| 28 | Does the vendor review MCP servers? | A plain statement | Claude: does not security-audit or manage any MCP server |
| 29 | Do retention promises cover data sent to MCP servers? | A clear no | Claude: third-party integrations and MCP servers are outside zero retention |
| 30 | Can the agent run in the vendor's cloud, and can we turn that off? | Where code is stored | Claude: cloud sessions are disabled under zero retention. Cursor: Cloud Agents are the one feature that requires stored code |
Incident and breach
| # | Question | A good answer looks like | Where the vendor documents it |
|---|---|---|---|
| 31 | How fast will you tell us about an incident touching our data? | A notice period in the contract | Not found in the pages read for any of the four. Ask for the DPA clause |
| 32 | How do we report a vulnerability in the tool? | A published route | Ask them |
| 33 | Can we delete a specific session vendor-side? | An admin action and its limits | Claude: Compliance API deletes are permanent |
| 34 | What is kept after deletion or under zero retention? | Law and misuse exceptions with durations | Claude: flagged sessions up to 2 years |
| 35 | If a secret is pasted, which copies exist? | Every copy and its clock | Claude: vendor 30 days plus the local transcript. See the credential runbook |
Assurance evidence
| # | Question | A good answer looks like | Where the vendor documents it |
|---|---|---|---|
| 36 | Which independent reports exist and how do we get them? | Names, dates, a request route | Claude: 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 |
| 37 | Does the report scope include the coding agent? | Product, period, exceptions | Ask them |
| 38 | Is there third-party penetration testing? | Frequency, summary available | Cursor: at least annual, executive summary on request |
| 39 | Where is the subprocessor list and how are changes notified? | A URL and a notice period | Cursor: trust portal, reviewed annually. Claude: Trust Center. See the DPA review |
| 40 | Does the vendor publish what its controls do not do? | Limits in the documentation | Claude: "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.