What leaves your process
Every SDK call sends prompts, system instructions, attached files, and tool definitions to Anthropic's servers (or Bedrock/Vertex). The reverse-direction surface is what the model can do — read files, run shell, hit URLs. Both directions are part of your security model.
Secrets discipline
API keys belong in environment variables and secret managers, never in code, never in prompts, never in tool descriptions. JSONL logs are particularly dangerous — value-pattern keys (sk-ant-...) leak into git history if you log the system prompt or request body unredacted.
Data residency and retention
Anthropic's default API does not train on your inputs. Bedrock and Vertex respect their cloud's data residency commitments. Zero Data Retention (ZDR) is a feature available on certain plans and changes the privacy story for regulated workloads. Know what your account has signed up for before classifying data as 'safe to send'.