Skip to main content
guidesSource-backedReview first Safety Privacy

Claude Code in Regulated Finance Environments

How to deploy Claude Code in a security- and compliance-sensitive financial-services environment, using its documented data-handling, ZDR, network, IAM, and sandboxing controls.

by JSONbored·added 2025-10-27·
HarnessClaude Code
Review first review before installing

Open the source and read safety notes before installing.

Citation facts

Source-backed facts for citing this resource, derived directly from the registry — also available as plain text for AI assistants.

Source URLs
https://code.claude.com/docs/en/security, https://github.com/JSONbored/awesome-claude/blob/main/content/guides/financial-services-guide.mdx
Safety notes
Claude Code runs agentic Bash and file edits in your environment; it requests permission for non-read-only actions, but you are responsible for reviewing proposed commands and code before approval. In regulated environments, run it in sandboxed or containerized contexts and avoid granting blanket allowlists.
Privacy notes
Financial-data prompts and outputs leave the machine over TLS to your model provider. Standard commercial retention is 30 days; Zero Data Retention is a separate per-org enablement. Transcripts also cache locally in plaintext under ~/.claude/projects/. Confirm provider, retention, and telemetry settings first.
Author
JSONbored
Claim status
unclaimed
Last verified
2025-10-27

Decision playbook

Review trust signals before you adopt

Signals are present but mixed. Use the checklist below to confirm the source and operational safety for your environment.

Compare context
Selected

0

Current score

78

Baseline

Delta

No baseline selected

No major trust-signal divergence detected in the current selection.

Source and provenance checks

Complete

Confirm ownership and provenance before trusting install instructions.

  • Source link availableRequired

    Open the canonical repository and verify ownership.

    Done
  • Source provenance statusRequired

    Marked as source-backed.

    Done
  • Metadata reviewed

    Registry metadata indicates a reviewed listing.

    Done

Safety and privacy checks

Complete

Validate risk disclosures before installation or API wiring.

  • Safety notes presentRequired

    Review the listed safety guidance before running commands.

    Done
  • Privacy notes presentRequired

    Review data handling notes before connecting accounts or secrets.

    Done
  • Trust level risk gateRequired

    Trust level does not block evaluation.

    Done

Package and install checks

Needs review

Check package metadata and artifact integrity signals.

  • Install payload available

    Install or copy payload is available for review.

    Done
  • Package verification flag

    No package verification flag provided.

    Pending
  • Checksum metadata

    No checksum provided for downloaded artifact.

    Pending

Compare-driven decision checks

Needs review

Use compare context to validate trade-offs before adoption.

  • Compare tray has multiple entries

    Add at least one more entry to compare trust differences.

    Pending
  • Baseline comparison available

    No baseline peer selected yet.

    Pending
  • Diverging trust signals identified

    No major trust-signal divergence found.

    Pending

Setup at a glance

Copy & paste

Copy-ready — paste the snippet to get started.

Install command

Not provided

Config snippet

Not provided

Copy snippet

Provided

Prerequisites

None

Platforms

1 listed

Difficulty

55/100

Adoption plan

Balanced adoption plan

Current risk score 16/100. Use staged verification before broader rollout.

Risk 16

Pre-adoption checks

Validate source and review signals before any execution.

  • Confirm source provenanceRequired

    Source URL/provenance metadata is present.

    Done
  • Confirm metadata review state

    Listing has review metadata.

    Done
  • Verify install payload

    Install/config payload exists and can be inspected.

    Done

Security checks

Confirm safety, privacy, and package integrity signals.

  • Review safety notesRequired

    Safety notes are present.

    Done
  • Review privacy notesRequired

    Privacy notes are present.

    Done
  • Verify package integrity metadata

    No package verification/checksum metadata.

    Pending

Rollout

Adopt in controlled steps based on the selected plan.

  • Run in isolated sandbox firstRequired

    Use a constrained sandbox and observe behavior across multiple tasks.

    Pending
  • Roll out graduallyRequired

    Roll out to a small cohort before wider usage.

    Pending
  • Set monitoring and fallback

    Define rollback path and monitor errors after adoption.

    Pending

Evidence readiness

Evidence readiness matrix · balanced

Required evidence gates are covered (5/6 signals complete).

Risk 15

Source provenance

Present

Source repository/provenance is listed.

Required in this preset

Metadata review

Present

Review metadata is present.

Required in this preset

Safety notes

Present

Safety notes are present.

Required in this preset

Privacy notes

Present

Privacy notes are present.

Optional in this preset

Package integrity

Missing

Package integrity metadata is missing.

Optional in this preset

Install payload

Present

Install payload is available.

Required in this preset

Required evidence gates are covered for this preset.

Decision timeline

Decision timeline · balanced

5/6 steps complete with no blocking gaps for this preset.

Risk 14

triage

Confirm source provenanceRequired

Source/provenance metadata is available.

Done

triage

Check metadata review statusRequired

Review metadata is available.

Done

verify

Review safety notesRequired

Safety notes are available.

Done

verify

Review privacy notes

Privacy notes are available.

Done

verify

Validate package integrity metadata

Package integrity metadata is missing.

Pending

rollout

Verify install payload and commandsRequired

Install payload is available.

Done

No required blockers for this timeline preset.

Safety & privacy surface

Safety & privacy surface

1 safety and 1 privacy notes across 2 risk areas. Review closely: permissions & scopes, third-party handling.

2 areas
  • SafetyPermissions & scopesClaude Code runs agentic Bash and file edits in your environment; it requests permission for non-read-only actions, but you are responsible for reviewing proposed commands and code before approval. In regulated environments, run it in sandboxed or containerized contexts and avoid granting blanket allowlists.
  • PrivacyThird-party handlingFinancial-data prompts and outputs leave the machine over TLS to your model provider. Standard commercial retention is 30 days; Zero Data Retention is a separate per-org enablement. Transcripts also cache locally in plaintext under ~/.claude/projects/. Confirm provider, retention, and telemetry settings first.

Safety notes

  • Claude Code runs agentic Bash and file edits in your environment; it requests permission for non-read-only actions, but you are responsible for reviewing proposed commands and code before approval. In regulated environments, run it in sandboxed or containerized contexts and avoid granting blanket allowlists.

Privacy notes

  • Financial-data prompts and outputs leave the machine over TLS to your model provider. Standard commercial retention is 30 days; Zero Data Retention is a separate per-org enablement. Transcripts also cache locally in plaintext under ~/.claude/projects/. Confirm provider, retention, and telemetry settings first.

Schema details

Install type
copy
Reading time
6 min
Difficulty score
55
Troubleshooting
No
Breaking changes
No
Skill and platform metadata
Retrieval sources
https://code.claude.com/docs/en/securityhttps://code.claude.com/docs/en/data-usagehttps://code.claude.com/docs/en/zero-data-retentionhttps://code.claude.com/docs/en/network-confighttps://code.claude.com/docs/en/authentication
Full copyable content
## Overview

Financial-services teams operate under strict expectations for where data goes, who can access it, and how every action is logged and auditable. Adopting an agentic coding tool like Claude Code in that environment is less about productivity claims and more about whether you can configure it to fit your existing controls.

The good news is that Claude Code is built around a permission-first model and exposes the enterprise primitives you need: configurable data retention (including Zero Data Retention for qualified Enterprise accounts), proxy and mutual-TLS network controls, multiple authentication paths including SSO via Claude for Enterprise, and filesystem/network sandboxing for autonomous work. This guide maps those documented capabilities to the control areas a security or compliance reviewer will ask about, then gives concrete hardening steps.

This is an architecture and configuration guide, not a compliance attestation. Claude Code's security program documentation (SOC 2 Type 2, ISO 27001 and related artifacts) is published in the [Anthropic Trust Center](https://trust.anthropic.com). What your specific deployment must satisfy for any given regulation remains your organization's responsibility.

> **Prerequisites**
>
> A clear picture of which model provider you will use (Anthropic first-party API, Claude for Enterprise, Amazon Bedrock, Google Vertex AI, or Microsoft Foundry) — this drives retention, encryption-at-rest, and default telemetry behavior. You should also know your network egress policy (proxy, TLS inspection, allowlists) and your identity model (SSO, console roles, or cloud-provider credentials) before rollout.

## How Claude Code handles your data

Claude Code runs locally and sends prompts and model outputs over the network to your chosen model provider, encrypted in transit with TLS 1.2+. It is compatible with most VPNs and LLM proxies.

A few facts that matter for a finance deployment:

- **Training.** Under commercial terms (Team, Enterprise, API, and third-party platforms), Anthropic does not train generative models on code or prompts sent to Claude Code, unless the customer explicitly opts in (for example, the Development Partner Program). Consumer Free/Pro/Max accounts have a separate, user-toggled training setting — which is one reason to standardize on commercial plans for regulated work.
- **Standard retention.** For commercial users the standard retention period is 30 days. Encryption at rest depends on the provider (for the Anthropic API, infrastructure-level AES-256 disk encryption).
- **Local cache.** Claude Code stores session transcripts locally in plaintext under `~/.claude/projects/` for 30 days by default to support session resumption. Adjust this with the `cleanupPeriodDays` setting, and account for these files in your endpoint data-handling policy.
- **Telemetry and feedback.** Operational metrics (latency, reliability, usage — no code or file paths) and Sentry error reporting are on by default on the Anthropic API and off by default on Bedrock/Vertex/Foundry. The `/feedback` command sends conversation history including code only when you run it. These are independently controllable (see hardening below).

## Control mapping

The table below maps common control areas to the specific, documented Claude Code capability that supports them. Treat it as a starting point for your own control matrix.

| Control area | Claude Code capability (documented) |
| --- | --- |
| Data retention / minimization | Standard commercial retention is 30 days. **Zero Data Retention (ZDR)** is available to qualified Claude for Enterprise accounts: prompts and responses are processed in real time and not stored after the response returns (except where required by law or to address misuse). ZDR is enabled per-organization by your Anthropic account team, not from admin settings. |
| Local data footprint | Session transcripts cached in plaintext under `~/.claude/projects/`; retention tunable via `cleanupPeriodDays`. Credentials stored in the macOS Keychain, or file-permission-protected on Linux (`~/.claude/.credentials.json`, mode `0600`) and Windows. |
| Encryption in transit | All prompt/response traffic encrypted with TLS 1.2+. |
| Encryption at rest | Provider-dependent: Anthropic API uses AES-256 disk encryption; Bedrock supports AWS-managed or customer-managed keys via KMS; Vertex supports Google-managed keys or CMEK. |
| Network egress control | Standard `HTTPS_PROXY` / `HTTP_PROXY` / `NO_PROXY` env vars are respected. A documented allowlist of required URLs (for example `api.anthropic.com`, `claude.ai`, `platform.claude.com`) lets you constrain firewall rules. SOCKS proxies are not supported. |
| TLS inspection / custom CA | TLS-inspection proxies work when their root cert is in the OS trust store; `CLAUDE_CODE_CERT_STORE` selects `bundled`/`system`/both, and `NODE_EXTRA_CA_CERTS` adds a custom CA. |
| Mutual TLS / client auth | Client-certificate auth via `CLAUDE_CODE_CLIENT_CERT`, `CLAUDE_CODE_CLIENT_KEY`, and optional `CLAUDE_CODE_CLIENT_KEY_PASSPHRASE`. |
| Authentication / IAM | Claude for Enterprise adds SSO, domain capture, role-based permissions, a compliance API, and managed policy settings. Console auth supports SSO and scoped roles (a "Claude Code" role limited to Claude Code API keys). Cloud-provider auth uses Bedrock/Vertex/Foundry credentials. Rotating creds via `apiKeyHelper`. |
| Authorization / least privilege | Read-only by default; non-read-only Bash and file edits require explicit approval. Write access is confined to the working directory and subfolders. Allowlists are per-user, per-codebase, or per-organization. |
| Isolation / sandboxing | `/sandbox` provides filesystem and network isolation for Bash commands; dev containers add stronger isolation. Web fetch runs in an isolated context window; new codebases and MCP servers require trust verification. |
| Centralized policy & monitoring | Server-managed / managed settings enforce org standards (and can be locked); OpenTelemetry metrics enable monitoring; `ConfigChange` hooks can audit or block in-session settings changes. Enterprise/ZDR orgs get audit logs. |

## Practical hardening

Concrete steps, grounded in the docs above:

1. **Standardize on a commercial plan and pin the provider.** Use Claude for Enterprise, Console/API, or a cloud provider (Bedrock/Vertex/Foundry) — not consumer accounts — so the no-training commercial policy applies and you control retention and encryption-at-rest keys.
2. **Request ZDR if your data policy requires it.** ZDR is not part of the standard Enterprise plan; contact your Anthropic account team to confirm eligibility and enable it per organization. Note that ZDR disables features that require server-side storage (Claude Code on the web, Desktop cloud sessions, `/feedback`) and that some models requiring retention are unavailable under ZDR.
3. **Constrain network egress.** Route traffic through your corporate proxy with `HTTPS_PROXY`, set `NO_PROXY` for internal hosts, and allowlist only the documented required URLs at the firewall. Add `NODE_EXTRA_CA_CERTS` for your internal CA and configure mTLS with `CLAUDE_CODE_CLIENT_CERT` / `CLAUDE_CODE_CLIENT_KEY` if your gateway requires client certs.
4. **Disable non-essential traffic.** Set `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC` to turn off optional outbound traffic in one move, or target individually with `DISABLE_TELEMETRY`, `DISABLE_ERROR_REPORTING`, and `DISABLE_FEEDBACK_COMMAND=1`. Check these into `settings.json` so they apply org-wide. (The WebFetch domain safety check has its own `skipWebFetchPreflight` control.)
5. **Lock down permissions and run sandboxed.** Keep the default read-only posture, avoid broad allowlists like `Bash(* )`, enable `/sandbox` for filesystem/network isolation, and use dev containers for higher-risk work. Use `permissions.deny` to block tools you never want (for example network fetch commands).
6. **Centralize and audit configuration.** Distribute approved permissions and env vars through managed/server-managed settings under version control, enforce them at the org level, add `ConfigChange` hooks to catch in-session changes, and stream OpenTelemetry metrics to your own collector for monitoring and audit.
7. **Manage the local footprint.** Tune `cleanupPeriodDays` to match your data-handling policy, keep `~/.claude/projects/` transcripts and `.credentials.json` within managed/encrypted endpoints, and treat both as in-scope for any data-deletion or incident process.
8. **Train reviewers.** Because Claude Code only has the permissions you grant, the human approving a command is the last control. Reviewing proposed Bash and code changes before approval — especially anything touching customer data, payments, or production — is part of the control, not a formality.

## Not legal or compliance advice

This guide describes Claude Code's documented technical controls and how to configure them. It is not legal advice and is not a compliance attestation for any specific regulation, framework, or jurisdiction. Mapping these controls to your obligations, validating them against your risk and audit requirements, and deciding what data may be processed are your organization's responsibility. For Anthropic's compliance artifacts and certifications, see the [Anthropic Trust Center](https://trust.anthropic.com); for legal terms, review the applicable Commercial Terms of Service and Privacy Policy.

## Related resources

- [Claude Code security](https://code.claude.com/docs/en/security)
- [Zero Data Retention](https://code.claude.com/docs/en/zero-data-retention)
- [Data usage](https://code.claude.com/docs/en/data-usage)
- [Enterprise network configuration](https://code.claude.com/docs/en/network-config)

About this resource

Overview

Financial-services teams operate under strict expectations for where data goes, who can access it, and how every action is logged and auditable. Adopting an agentic coding tool like Claude Code in that environment is less about productivity claims and more about whether you can configure it to fit your existing controls.

The good news is that Claude Code is built around a permission-first model and exposes the enterprise primitives you need: configurable data retention (including Zero Data Retention for qualified Enterprise accounts), proxy and mutual-TLS network controls, multiple authentication paths including SSO via Claude for Enterprise, and filesystem/network sandboxing for autonomous work. This guide maps those documented capabilities to the control areas a security or compliance reviewer will ask about, then gives concrete hardening steps.

This is an architecture and configuration guide, not a compliance attestation. Claude Code's security program documentation (SOC 2 Type 2, ISO 27001 and related artifacts) is published in the Anthropic Trust Center. What your specific deployment must satisfy for any given regulation remains your organization's responsibility.

Prerequisites

A clear picture of which model provider you will use (Anthropic first-party API, Claude for Enterprise, Amazon Bedrock, Google Vertex AI, or Microsoft Foundry) — this drives retention, encryption-at-rest, and default telemetry behavior. You should also know your network egress policy (proxy, TLS inspection, allowlists) and your identity model (SSO, console roles, or cloud-provider credentials) before rollout.

How Claude Code handles your data

Claude Code runs locally and sends prompts and model outputs over the network to your chosen model provider, encrypted in transit with TLS 1.2+. It is compatible with most VPNs and LLM proxies.

A few facts that matter for a finance deployment:

  • Training. Under commercial terms (Team, Enterprise, API, and third-party platforms), Anthropic does not train generative models on code or prompts sent to Claude Code, unless the customer explicitly opts in (for example, the Development Partner Program). Consumer Free/Pro/Max accounts have a separate, user-toggled training setting — which is one reason to standardize on commercial plans for regulated work.
  • Standard retention. For commercial users the standard retention period is 30 days. Encryption at rest depends on the provider (for the Anthropic API, infrastructure-level AES-256 disk encryption).
  • Local cache. Claude Code stores session transcripts locally in plaintext under ~/.claude/projects/ for 30 days by default to support session resumption. Adjust this with the cleanupPeriodDays setting, and account for these files in your endpoint data-handling policy.
  • Telemetry and feedback. Operational metrics (latency, reliability, usage — no code or file paths) and Sentry error reporting are on by default on the Anthropic API and off by default on Bedrock/Vertex/Foundry. The /feedback command sends conversation history including code only when you run it. These are independently controllable (see hardening below).

Control mapping

The table below maps common control areas to the specific, documented Claude Code capability that supports them. Treat it as a starting point for your own control matrix.

Control area Claude Code capability (documented)
Data retention / minimization Standard commercial retention is 30 days. Zero Data Retention (ZDR) is available to qualified Claude for Enterprise accounts: prompts and responses are processed in real time and not stored after the response returns (except where required by law or to address misuse). ZDR is enabled per-organization by your Anthropic account team, not from admin settings.
Local data footprint Session transcripts cached in plaintext under ~/.claude/projects/; retention tunable via cleanupPeriodDays. Credentials stored in the macOS Keychain, or file-permission-protected on Linux (~/.claude/.credentials.json, mode 0600) and Windows.
Encryption in transit All prompt/response traffic encrypted with TLS 1.2+.
Encryption at rest Provider-dependent: Anthropic API uses AES-256 disk encryption; Bedrock supports AWS-managed or customer-managed keys via KMS; Vertex supports Google-managed keys or CMEK.
Network egress control Standard HTTPS_PROXY / HTTP_PROXY / NO_PROXY env vars are respected. A documented allowlist of required URLs (for example api.anthropic.com, claude.ai, platform.claude.com) lets you constrain firewall rules. SOCKS proxies are not supported.
TLS inspection / custom CA TLS-inspection proxies work when their root cert is in the OS trust store; CLAUDE_CODE_CERT_STORE selects bundled/system/both, and NODE_EXTRA_CA_CERTS adds a custom CA.
Mutual TLS / client auth Client-certificate auth via CLAUDE_CODE_CLIENT_CERT, CLAUDE_CODE_CLIENT_KEY, and optional CLAUDE_CODE_CLIENT_KEY_PASSPHRASE.
Authentication / IAM Claude for Enterprise adds SSO, domain capture, role-based permissions, a compliance API, and managed policy settings. Console auth supports SSO and scoped roles (a "Claude Code" role limited to Claude Code API keys). Cloud-provider auth uses Bedrock/Vertex/Foundry credentials. Rotating creds via apiKeyHelper.
Authorization / least privilege Read-only by default; non-read-only Bash and file edits require explicit approval. Write access is confined to the working directory and subfolders. Allowlists are per-user, per-codebase, or per-organization.
Isolation / sandboxing /sandbox provides filesystem and network isolation for Bash commands; dev containers add stronger isolation. Web fetch runs in an isolated context window; new codebases and MCP servers require trust verification.
Centralized policy & monitoring Server-managed / managed settings enforce org standards (and can be locked); OpenTelemetry metrics enable monitoring; ConfigChange hooks can audit or block in-session settings changes. Enterprise/ZDR orgs get audit logs.

Practical hardening

Concrete steps, grounded in the docs above:

  1. Standardize on a commercial plan and pin the provider. Use Claude for Enterprise, Console/API, or a cloud provider (Bedrock/Vertex/Foundry) — not consumer accounts — so the no-training commercial policy applies and you control retention and encryption-at-rest keys.
  2. Request ZDR if your data policy requires it. ZDR is not part of the standard Enterprise plan; contact your Anthropic account team to confirm eligibility and enable it per organization. Note that ZDR disables features that require server-side storage (Claude Code on the web, Desktop cloud sessions, /feedback) and that some models requiring retention are unavailable under ZDR.
  3. Constrain network egress. Route traffic through your corporate proxy with HTTPS_PROXY, set NO_PROXY for internal hosts, and allowlist only the documented required URLs at the firewall. Add NODE_EXTRA_CA_CERTS for your internal CA and configure mTLS with CLAUDE_CODE_CLIENT_CERT / CLAUDE_CODE_CLIENT_KEY if your gateway requires client certs.
  4. Disable non-essential traffic. Set CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC to turn off optional outbound traffic in one move, or target individually with DISABLE_TELEMETRY, DISABLE_ERROR_REPORTING, and DISABLE_FEEDBACK_COMMAND=1. Check these into settings.json so they apply org-wide. (The WebFetch domain safety check has its own skipWebFetchPreflight control.)
  5. Lock down permissions and run sandboxed. Keep the default read-only posture, avoid broad allowlists like Bash(* ), enable /sandbox for filesystem/network isolation, and use dev containers for higher-risk work. Use permissions.deny to block tools you never want (for example network fetch commands).
  6. Centralize and audit configuration. Distribute approved permissions and env vars through managed/server-managed settings under version control, enforce them at the org level, add ConfigChange hooks to catch in-session changes, and stream OpenTelemetry metrics to your own collector for monitoring and audit.
  7. Manage the local footprint. Tune cleanupPeriodDays to match your data-handling policy, keep ~/.claude/projects/ transcripts and .credentials.json within managed/encrypted endpoints, and treat both as in-scope for any data-deletion or incident process.
  8. Train reviewers. Because Claude Code only has the permissions you grant, the human approving a command is the last control. Reviewing proposed Bash and code changes before approval — especially anything touching customer data, payments, or production — is part of the control, not a formality.

Not legal or compliance advice

This guide describes Claude Code's documented technical controls and how to configure them. It is not legal advice and is not a compliance attestation for any specific regulation, framework, or jurisdiction. Mapping these controls to your obligations, validating them against your risk and audit requirements, and deciding what data may be processed are your organization's responsibility. For Anthropic's compliance artifacts and certifications, see the Anthropic Trust Center; for legal terms, review the applicable Commercial Terms of Service and Privacy Policy.

Related resources

Source citations

Add this badge to your README

Show that Claude Code in Regulated Finance Environments is listed on HeyClaude. Paste this Markdown into your README — it renders the badge and links back to this page.

Listed on HeyClaude
[![Listed on HeyClaude](https://heyclau.de/badge/guides/financial-services-guide.svg)](https://heyclau.de/entry/guides/financial-services-guide)

How it compares

Claude Code in Regulated Finance Environments side by side with 2 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.

2 trust signals differ across this comparison (Source provenance, Submitter).

Field

How to deploy Claude Code in a security- and compliance-sensitive financial-services environment, using its documented data-handling, ZDR, network, IAM, and sandboxing controls.

Open dossier

The Claude Code data-handling controls that matter for teams working near PHI: no-training commercial policy, retention windows, Zero Data Retention, encryption, local transcript handling, telemetry opt-outs, and security model.

Open dossier

Enterprise guide to zero data retention planning for Claude Code: contractual ZDR scope, logging boundaries, MCP data paths, and verification checkpoints.

Open dossier
Next steps
Trust
Review statusReviewedMaintainer reviewedReviewedMaintainer reviewedReviewedMaintainer reviewed
Package trustPackage not verifiedPackage not verifiedPackage not verified
Source provenanceDiffersSource-backedSource-backedSubmission linkedSource submission
SubmitterDifferskiannidev
Install riskReview firstReview firstReview first
Notes Safety Privacy Safety Privacy Safety Privacy
Brand
Categoryguidesguidesguides
Sourcesource-backedsource-backedsource-backed
AuthorJSONboredJSONboredkiannidev
Added2025-10-272025-10-272026-06-14
Platforms
Claude Code
Claude Code
Claude Code
Source repo
Safety notesClaude Code runs agentic Bash and file edits in your environment; it requests permission for non-read-only actions, but you are responsible for reviewing proposed commands and code before approval. In regulated environments, run it in sandboxed or containerized contexts and avoid granting blanket allowlists.Claude Code stores session transcripts locally in plaintext under `~/.claude/projects/` for 30 days by default; tune retention with `cleanupPeriodDays`. Telemetry, error reporting, and `/feedback` send data off-machine on the Anthropic API by default; disable with `DISABLE_TELEMETRY`, `DISABLE_ERROR_REPORTING`, `DISABLE_FEEDBACK_COMMAND`, or `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`. Zero Data Retention is not part of the standard Enterprise plan—it requires separate Anthropic enablement and disables features such as Claude Code on the web and `/feedback`.ZDR policy does not eliminate local repository risk—developers can still commit secrets; pair ZDR with secret scanning and MCP review. Third-party MCP servers may retain data outside Claude Code ZDR guarantees; block or review them explicitly. Do not assume analytics dashboards are ZDR-compatible without verifying their data collection scope.
Privacy notesFinancial-data prompts and outputs leave the machine over TLS to your model provider. Standard commercial retention is 30 days; Zero Data Retention is a separate per-org enablement. Transcripts also cache locally in plaintext under ~/.claude/projects/. Confirm provider, retention, and telemetry settings first.PHI-sensitive: transcripts saved locally in plaintext may contain prompt and file content; control them via `cleanupPeriodDays` and disk-level protections. Under commercial terms (Team/Enterprise/API) Anthropic does not train models on Claude Code prompts unless you opt in to the Development Partner Program; consumer plans may be used for training when the setting is on. `/feedback` transcripts are retained for up to 5 years; standard commercial retention is 30 days; consumer retention is 30 days or 5 years depending on the training setting.Document which subsystems may temporarily process prompts for abuse prevention versus training exclusions under ZDR. Map cross-border data flows if developers connect from multiple regions. Maintain records of ZDR verification dates and responsible owners for audits.
Prerequisites— none listed
  • Confirm your account type (Free/Pro/Max vs. Team/Enterprise/API), since data-training and retention behavior differ by type.
  • Engage your compliance/legal team and review HHS HIPAA guidance before processing any PHI; this guide does not establish HIPAA compliance.
  • Identify your model provider (Anthropic API, Bedrock, Vertex AI, or Foundry), since encryption-at-rest and default telemetry differ by provider.
  • Enterprise agreement terms or security questionnaire requiring zero data retention alignment.
  • [object Object]
  • Legal, security, and platform engineering stakeholders for sign-off.
  • Test tenant or pilot group to validate retention behavior before broad rollout.
Install
Config
Citations
ClaimUnclaimedUnclaimedUnclaimed
Open 3 picks in the interactive comparison tool

Related guides

Signals

Loading live community signals…

More like this, weekly

A short, calm digest of reviewed Claude resources. Unsubscribe any time.