All insights

How-to guides

How Secure Is Claude? What to Check Before Using It

Claude’s security depends on the product, data, and workflow. Learn what Anthropic’s commercial API retention policy says and what to verify before production use.

Illustration for How secure is claude

Short answer: Claude is not universally secure or risk-free. Whether it is suitable depends on the product and account, the data and task, applicable terms, connected systems, and the consequences if information is exposed or an output is wrong. Anthropic publishes data-handling policies for its commercial products, including the API, but those policies do not prevent inaccurate answers, prompt injection, exposed API keys, excessive permissions, or unsafe actions in your application.

For a low-risk, reversible task using non-sensitive information, Claude may be reasonable to use. For production, check the terms and retention rules for your specific API setup, limit what the system can access, test the workflow, and require human approval when errors could have significant effects. ([1])

What “secure” means for a Claude workflow

A useful assessment separates three layers:

  1. Anthropic’s service and data handling: What information the provider processes or retains, whether it is used for training, and what security or assurance documentation applies to the service you use.
  2. Claude’s outputs: Whether an answer is accurate, appropriately limited, or safe to rely on. Safeguards may reduce some risks, but do not guarantee every output is correct or harmless.
  3. Your application and operations: Which data, tools, credentials, and actions you make available—and what checks happen before a result is used.

A control at one layer does not secure the others. A compliance report does not validate a generated answer, and a careful prompt does not protect an API key committed to a public repository. Do not assume the terms or controls for Claude’s consumer app, commercial/API use, and cloud-provider offerings are interchangeable. ([1], [2])

What Anthropic’s commercial API policy says about data

For Anthropic API users, the commercial data-retention policy says inputs and outputs are automatically deleted from Anthropic’s backend within 30 days, subject to exceptions. Exceptions include features with longer retention under the customer’s control, such as the Files API; a different agreement, such as a zero data retention (ZDR) agreement; retention to enforce the Usage Policy; and legal requirements. ([1])

The same policy describes longer periods for specific cases: if automated trust-and-safety systems flag a chat as violating the Usage Policy, Anthropic says it retains the related inputs and outputs for up to two years and trust-and-safety classification scores for up to seven years. Data associated with submitted feedback or bug reports is retained for five years. These are stated exceptions to the general API period, not the default retention period for every API request. ([1])

Anthropic says commercial-product inputs and outputs are not used to train models by default. Its policy says data may be used when a customer expressly permits it, such as by providing feedback. Consumer plans have separate terms and settings; do not apply consumer chat descriptions to API traffic. ([3])

ZDR is an arrangement to confirm, not an automatic default. Anthropic says ZDR arrangements are subject to its approval and apply only to eligible APIs and specified commercial products. It also says safety-classifier results may still be retained under these arrangements. For models Anthropic identifies as Covered Models in its current notice, prompts and outputs are retained for 30 days for safety work. Check the current Covered Model notice and your organization’s eligibility before assuming a ZDR arrangement covers a particular model. ([2], [4], [5])

For Amazon Bedrock and Claude on Google Cloud when Google is the managing provider, Anthropic’s API documentation says the cloud provider is the data processor; consult that provider’s retention and compliance documentation for the applicable controls. Confirm the applicable arrangement for any other access route rather than assuming which party acts as processor. ([2])

Production API risks—and practical controls

Risk Practical control
Sensitive data is sent or retained through a feature Classify the input first. Minimize it and remove identifiers where possible. Check the exact API, model, feature, agreement, and retention terms. Do not send restricted data until you have authorization and the applicable protections are confirmed.
An answer is false, incomplete, or unsupported Validate important output against approved sources. Check numbers, names, citations, and instructions before they affect a customer, record, or decision. Treat output as a proposal, not established fact.
Retrieved text tries to manipulate the model Treat documents, websites, and messages as untrusted content, not authoritative instructions. Limit available tools and test how the application handles conflicting or malicious instructions.
A connected source gives the model too much access Grant access only to data and actions needed for the task. Review connected-system permissions; even read-only access to an entire drive may expose more information than intended.
An API key is exposed or misused Keep keys on the server, store them securely, and never put them in browser or mobile code or public repositories. Anthropic’s API documentation describes service-account keys for shared workloads, with expiration and workspace-scoping options. Monitor use and apply available spending controls. ([6])
An output triggers an unsafe external action Separate drafting from sending, and recommendations from approvals. Require a person to confirm consequential actions, with the destination and effect visible. Keep a way to stop the workflow and continue manually.

These are application and operational controls, not claims that Anthropic provides or guarantees a particular system design. Third-party safety guidance also identifies fabricated output, prompt injection, overreliance, and excess access through integrations as potential workflow risks; their presence and severity depend on how the system is built and used. ([7])

A small pre-production test

Before connecting real customer data or credentials, create synthetic test material containing: (1) a misleading instruction embedded in a document, (2) a missing field, (3) conflicting source statements, and (4) a request to perform an action the test user is not authorized to take.

Run the intended workflow and record whether it flags uncertainty, asks for missing information, uses the appropriate source, and stops before unauthorized action. Verify that your application—not just the model—blocks the action and that a reviewer can reject it. This is evidence about that configuration, not a permanent certification of Claude or your production system. Re-test when models, prompts, connected tools, or permissions change. ([7])

Decide: proceed, add controls, or stop

Ask four questions before approving a use case:

  • Sensitivity: Is the information approved for this exact product, account, and API arrangement?
  • Action: Does Claude only help someone think, or can the workflow change data, send messages, spend money, or affect access?
  • Failure: What would happen if the answer were wrong, manipulated, or exposed?
  • Evidence: Can a responsible person verify the result before it is used?

Proceed when the data is low-risk, the task is reversible, and a person can check the result. Add controls when data is internal, integrations broaden access, or an error could have material consequences. Pause or choose another process when restricted data, serious potential harm, or an unreviewed external action is involved and you have not confirmed authorization, applicable terms, and effective safeguards.

For a production API decision, verify the current terms for your exact provider, model, features, and retention arrangement. In particular, confirm whether the relevant organization and model are covered by ZDR, whether a Covered Model exception applies, and which provider is the data processor. ([2], [4], [5])

Sources

[1] Anthropic Privacy Center, “How long do you store my organization’s data?” [2] Claude Platform Docs, “API and data retention” [3] Anthropic Privacy Center, “Is my data used for model training?” [4] Anthropic Privacy Center, “I have a zero data retention agreement with Anthropic. What products does it apply to?” [5] Anthropic Privacy Center, “Data retention practices for Covered Models” [6] Claude Platform Docs, “Get your Claude API key” [7] Coursiv, “Is Claude AI Safe? Risks & Best Practices”

Sources

How long do you store my organization’s data? — Anthropic Privacy Center

API and data retention — Claude Platform Docs

Is my data used for model training? — Anthropic Privacy Center

I have a zero data retention agreement with Anthropic. What products does it apply to?

Data retention practices for Covered Models — Anthropic Privacy Center

Get your Claude API key — Claude Platform Docs

Is Claude AI Safe? Risks & Best Practices

Contact us