Your code’s security is paramount. Claude Code is built with security at its core, developed according to Anthropic’s comprehensive security program. Learn more and access resources (SOC 2 Type 2 report, ISO 27001 certificate, etc.) at Anthropic Trust Center.
A session’s permission mode sets which actions Claude can take without asking you first. Auto mode is the built-in starting permission mode for interactive terminal and VS Code sessions. Which mode a session starts in covers earlier versions, other surfaces, and the settings that change the starting permission mode.
Auto mode: A separate classifier model reviews actions instead of you and blocks the ones it judges unsafe. How the classifier evaluates actions lists which actions Claude Code approves outright, which it sends to the classifier, and which Claude Code still asks you about. Your explicit ask and deny rules still apply, and your organization can turn auto mode off
Manual mode: Claude Code starts with read-only permissions. When it needs to edit files, run tests, or execute commands, it asks you first, and you choose whether to approve the action once or allow it from then on. It runs a built-in set of read-only commands such as ls, cat, and git status without asking
You and your organization configure these permissions directly. For detailed permission configuration, see Permissions.
Sandboxed bash tool: Sandbox bash commands with filesystem and network isolation, reducing permission prompts while maintaining security. Configure with /sandbox to define boundaries where Claude Code can work autonomously
Working directory boundary: In Manual mode, Claude Code asks you before its file tools read or write outside the folder where it was started and its subfolders. The boundary is a permission prompt, so a Bash command you approve can still write anywhere your user account can
To restrict Bash commands at the operating system level, turn on sandboxing
Prompt fatigue mitigation: Support for allowlisting frequently used safe commands per-user, per-codebase, or per-organization
Accept Edits mode: Auto-approves file edits and a fixed set of filesystem Bash commands like mkdir, touch, rm, mv, cp, and sed for paths in the working directory. Other Bash commands and out-of-scope paths still prompt
Prompt injection is a technique where an attacker attempts to override or manipulate an AI assistant’s instructions by inserting malicious text. Claude Code includes several safeguards against these attacks:
Permission system: In Manual mode, sensitive operations require explicit approval
Network command approval: Commands that fetch content from the web such as curl and wget are not auto-approved by default. In Manual mode they prompt like any other non-read-only Bash command, so you can still approve once or add an explicit allow rule like Bash(curl *). To stop Claude from running them, add them to permissions.deny. A deny rule matches the command as written; for network enforcement that doesn’t depend on the command text, see sandbox network isolation
Network request approval: In Manual mode, most tools that make network requests require user approval by default
Web page summaries: For most fetches, WebFetch runs a separate model call over the page, and Claude receives that call’s answer instead of the raw page. See WebFetch tool behavior
Trust verification: In an interactive session, Claude Code shows the workspace trust dialog when you start it in a folder you haven’t trusted. Servers in a project’s .mcp.json have their own approval prompt, and Project scope lists the sessions that skip it
Note: When you start Claude Code directly in your home directory, trust acceptance is held for the current session only and is not written to disk, so the prompt reappears on each launch. There is no setting to persist it. Start Claude Code from a project subdirectory instead, where trust acceptance is saved per directory
Command injection detection: In Manual mode, Claude Code asks before running a Bash command it can’t fully analyze. An allow rule for part of a command, such as Bash(git *), doesn’t skip that prompt. Sandboxed commands can run without it
Fail-closed matching: In Manual mode, unmatched commands require approval by default
Secure credential storage: API keys and tokens are stored in the macOS Keychain when available. On Linux they’re stored in a file with mode 0600, and on Windows in a file that inherits the access controls of your user profile directory. See Credential Management
Windows WebDAV security risk: When running Claude Code on Windows, we recommend against enabling WebDAV or allowing Claude Code to access paths such as \\* that may contain WebDAV subdirectories. WebDAV has been deprecated by Microsoft due to security risks. Enabling WebDAV may allow Claude Code to trigger network requests to remote hosts, bypassing the permission system.
Best practices for working with untrusted content:
Review suggested commands before approval
Avoid piping untrusted content directly to Claude
Verify proposed changes to critical files
Use virtual machines (VMs) to run scripts and make tool calls, especially when interacting with external web services
Report suspicious behavior with /feedback
While these protections significantly reduce risk, no system is completely
immune to all attacks. Always maintain good security practices when working
with any AI tool.
You can connect Claude Code to Model Context Protocol (MCP) servers. Project-scoped servers are defined in .mcp.json, which you can check into source control. Servers at other scopes and claude.ai connectors are configured outside the repository, and plugins can add servers too, so reviewing .mcp.json doesn’t show every server a session can load. To restrict which servers run in your organization, see Managed MCP configuration.We encourage either writing your own MCP servers or using MCP servers from providers that you trust. You are able to configure Claude Code permissions for MCP servers. Anthropic reviews connectors against its listing criteria before adding them to the Anthropic Directory, but does not security-audit or manage any MCP server.
When you use cloud sessions, additional security controls are in place. Sessions your organization routes to a self-hosted environment run on your own infrastructure, where isolation, network egress, and git credentials are your deployment’s responsibility. In Anthropic-hosted environments:
Isolated virtual machines: Each cloud session runs in an isolated, Anthropic-managed VM
Network access controls: Network access is limited by default and can be configured to be disabled or allow only specific domains
Credential protection: GitHub credentials are stored encrypted on Anthropic’s servers and never enter the session VM. The VM holds a short-lived credential scoped to that session, and GitHub traffic goes through an Anthropic proxy that attaches the GitHub credential on the server side. See GitHub authentication options for how you grant access
Push restrictions: The GitHub proxy rejects branch deletions and pushes of anything other than a branch, such as a tag. GitHub decides which branches a session can update by applying your repository’s branch protection rules and rulesets to the GitHub access you connected. A rule that access can bypass doesn’t block a session’s push
Audit logging: All operations in cloud sessions are logged for compliance and audit purposes
Automatic cleanup: Session VMs are reclaimed after a period of inactivity
For more details on cloud execution, see Use Claude Code in the cloud; to configure network access for cloud sessions, see Configure cloud environments.Remote Control sessions work differently: the web interface connects to a Claude Code process running on your local machine. All code execution and file access stays local, and session traffic travels through the Anthropic API over TLS; while connected, the session transcript is stored on Anthropic servers to sync the conversation across devices, as described in Connection and security. No cloud VMs or sandboxing are involved. The connection uses multiple short-lived, narrowly scoped credentials, each limited to a specific purpose and expiring independently, to limit the blast radius of any single compromised credential.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Claude Code Docs","description":"Official documentation for Claude Code, Anthropic's agentic coding tool available in the terminal, IDE, desktop app, and browser. Covers installation, configuration, skills, subagents, hooks, MCP, the Agent SDK, and reference material.","colors":{"primary":"#0E0E0E","light":"#D4A27F","dark":"#0E0E0E"},"logo":{"light":"https://mintcdn.com/claude-code/c5r9_6tjPMzFdDDT/logo/light.svg?fit=max\u0026auto=format\u0026n=c5r9_6tjPMzFdDDT\u0026q=85\u0026s=78fd01ff4f4340295a4f66e2ea54903c","dark":"https://mintcdn.com/claude-code/c5r9_6tjPMzFdDDT/logo/dark.svg?fit=max\u0026auto=format\u0026n=c5r9_6tjPMzFdDDT\u0026q=85\u0026s=1298a0c3b3a1da603b190d0de0e31712"},"favicon":"https://mintcdn.com/claude-code/T2WlxklWBkR5Y1mJ/favicon.ico?fit=max\u0026auto=format\u0026n=T2WlxklWBkR5Y1mJ\u0026q=85\u0026s=346a85952ae08d5ee90e3c34d4423930","appearance":{"default":"system"},"background":{"color":{"light":"#FDFDF7","dark":"#09090B"}},"navbar":{"links":[{"href":"https://platform.claude.com/","label":"Claude Developer Platform"}],"primary":{"type":"button","label":"Open Claude Code","href":"https://claude.ai/code"}},"footer":{"socials":{"x":"https://x.com/AnthropicAI","linkedin":"https://www.linkedin.com/company/anthropicresearch"},"links":[{"header":"Company","items":[{"label":"Anthropic","href":"https://www.anthropic.com/company"},{"label":"Careers","href":"https://www.anthropic.com/careers"},{"label":"Economic Futures","href":"https://www.anthropic.com/economic-futures"},{"label":"Research","href":"https://www.anthropic.com/research"},{"label":"News","href":"https://www.anthropic.com/news"},{"label":"Trust center","href":"https://trust.anthropic.com/"},{"label":"Transparency","href":"https://www.anthropic.com/transparency"}]},{"header":"Help and security","items":[{"label":"Availability","href":"https://www.anthropic.com/supported-countries"},{"label":"Status","href":"https://status.anthropic.com/"},{"label":"Support center","href":"https://support.claude.com/"}]},{"header":"Learn","items":[{"label":"Courses","href":"https://academy.claude.com/"},{"label":"MCP connectors","href":"https://claude.com/partners/mcp"},{"label":"Customer stories","href":"https://www.claude.com/customers"},{"label":"Engineering blog","href":"https://www.anthropic.com/engineering"},{"label":"Events","href":"https://www.anthropic.com/events"},{"label":"Powered by Claude","href":"https://claude.com/partners/powered-by-claude"},{"label":"Service partners","href":"https://claude.com/partners/services"},{"label":"Startups program","href":"https://claude.com/programs/startups"}]},{"header":"Terms and policies","items":[{"label":"Privacy choices","href":"https://www.anthropic.com/legal/privacy"},{"label":"Privacy policy","href":"https://www.anthropic.com/legal/privacy"},{"label":"Disclosure policy","href":"https://www.anthropic.com/responsible-disclosure-policy"},{"label":"Usage policy","href":"https://www.anthropic.com/legal/aup"},{"label":"Commercial terms","href":"https://www.anthropic.com/legal/commercial-terms"},{"label":"Consumer terms","href":"https://www.anthropic.com/legal/consumer-terms"}]}]},"seo":{"metatags":{"canonical":"https://code.claude.com/docs"}},"fonts":{"family":"Anthropic Sans"},"contextual":{"options":["copy","view","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":"en/overview"},{"language":"fr","href":"fr/overview"},{"language":"de","href":"de/overview"},{"language":"it","href":"it/overview"},{"language":"jp","href":"ja/overview"},{"language":"es","href":"es/overview"},{"language":"ko","href":"ko/overview"},{"language":"zh-CN","href":"zh-CN/overview"},{"language":"zh-TW","href":"zh-TW/overview"},{"language":"ru","href":"ru/overview"},{"language":"id","href":"id/overview"},{"language":"pt-BR","href":"pt/overview"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"claude-code","hasAudioNarration":false,"actualSubdomain":"claude-code","customDomains":["code.claude.com"],"gitSource":{"type":"github","owner":"anthropics","repo":"claude-code-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae7a28bd14d2161b5f1ff85","collectionId":"5857522b-efb8-436a-af8d-9016a7b362b7","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae7a28bd14d2161b5f1ff85"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED","enabled":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED","enabled":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae7a807e7a853c3110bf6c9","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"en","tag":"Agent SDK","count":60},{"language":"en","tag":"Plugins","count":56},{"language":"de","tag":"Neuigkeiten","count":50},{"language":"en","tag":"What's New","count":50},{"language":"es","tag":"Novedades","count":50},{"language":"fr","tag":"Nouveautés","count":50},{"language":"it","tag":"Novità","count":50},{"language":"ko","tag":"새로운 기능","count":50},{"language":"pt-BR","tag":"Novidades","count":50},{"language":"ru","tag":"Что нового","count":50},{"language":"zh-TW","tag":"最新消息","count":50},{"language":"de","tag":"Erste Schritte","count":49},{"language":"es","tag":"Primeros pasos","count":49},{"language":"fr","tag":"Premiers pas","count":49},{"language":"id","tag":"Memulai","count":49},{"language":"it","tag":"Per iniziare","count":49},{"language":"jp","tag":"はじめに","count":49},{"language":"ko","tag":"시작하기","count":49},{"language":"pt-BR","tag":"Primeiros passos","count":49},{"language":"ru","tag":"Начало работы","count":49},{"language":"zh-TW","tag":"快速入門","count":49},{"language":"en","tag":"Getting started","count":48},{"language":"zh-CN","tag":"快速入门","count":46},{"language":"en","tag":"Overview","count":41},{"language":"de","tag":"Agent SDK","count":36},{"language":"en","tag":"Setup and access","count":36},{"language":"es","tag":"Agent SDK","count":36},{"language":"id","tag":"Agent SDK","count":36},{"language":"it","tag":"Agent SDK","count":36},{"language":"jp","tag":"Agent SDK","count":36},{"language":"pt-BR","tag":"Agent SDK","count":36},{"language":"ru","tag":"Agent SDK","count":36},{"language":"zh-CN","tag":"Agent SDK","count":36},{"language":"zh-TW","tag":"Agent SDK","count":36},{"language":"de","tag":"Administration","count":34},{"language":"en","tag":"Administration","count":34},{"language":"es","tag":"Administración","count":34},{"language":"fr","tag":"Administration","count":34},{"language":"id","tag":"Administrasi","count":34},{"language":"it","tag":"Amministrazione","count":34},{"language":"jp","tag":"管理","count":34},{"language":"ko","tag":"관리","count":34},{"language":"pt-BR","tag":"Administração","count":34},{"language":"ru","tag":"Администрирование","count":34},{"language":"zh-CN","tag":"管理","count":34},{"language":"zh-TW","tag":"管理","count":34},{"language":"de","tag":"Plugins","count":32},{"language":"es","tag":"Plugins","count":32},{"language":"fr","tag":"SDK Agent","count":32},{"language":"fr","tag":"Plugins","count":32},{"language":"id","tag":"Plugin","count":32},{"language":"it","tag":"Plugin","count":32},{"language":"jp","tag":"プラグイン","count":32},{"language":"ko","tag":"Agent SDK","count":32},{"language":"ko","tag":"플러그인","count":32},{"language":"pt-BR","tag":"Plugins","count":32},{"language":"ru","tag":"Плагины","count":32},{"language":"zh-CN","tag":"插件","count":32},{"language":"zh-TW","tag":"外掛","count":32},{"language":"en","tag":"Reference","count":28},{"language":"es","tag":"Configuración","count":28},{"language":"jp","tag":"設定","count":28},{"language":"zh-TW","tag":"設定","count":28},{"language":"de","tag":"Konfiguration","count":25},{"language":"en","tag":"Configuration","count":25},{"language":"fr","tag":"Configuration","count":25},{"language":"id","tag":"Konfigurasi","count":25},{"language":"id","tag":"Apa yang Baru","count":25},{"language":"id","tag":"Yang Baru","count":25},{"language":"it","tag":"Configurazione","count":25},{"language":"jp","tag":"新機能","count":25},{"language":"jp","tag":"最新情報","count":25},{"language":"ko","tag":"구성","count":25},{"language":"pt-BR","tag":"Configuração","count":25},{"language":"ru","tag":"Конфигурация","count":25},{"language":"zh-CN","tag":"配置","count":25},{"language":"zh-CN","tag":"新功能","count":25},{"language":"zh-CN","tag":"最新动态","count":25},{"language":"en","tag":"Settings","count":24},{"language":"de","tag":"Mit Claude Code entwickeln","count":22},{"language":"es","tag":"Crea con Claude Code","count":22},{"language":"fr","tag":"Développer avec Claude Code","count":22},{"language":"id","tag":"Membangun dengan Claude Code","count":22},{"language":"it","tag":"Crea con Claude Code","count":22},{"language":"jp","tag":"Claude Code で構築","count":22},{"language":"ko","tag":"Claude Code로 만들기","count":22},{"language":"pt-BR","tag":"Desenvolva com Claude Code","count":22},{"language":"ru","tag":"Разработка с Claude Code","count":22},{"language":"zh-CN","tag":"使用 Claude Code 构建","count":22},{"language":"zh-TW","tag":"使用 Claude Code 打造","count":22},{"language":"de","tag":"Referenz","count":20},{"language":"es","tag":"Referencia","count":20},{"language":"fr","tag":"Référence","count":20},{"language":"id","tag":"Referensi","count":20},{"language":"it","tag":"Riferimento","count":20},{"language":"jp","tag":"リファレンス","count":20},{"language":"ko","tag":"레퍼런스","count":20},{"language":"pt-BR","tag":"Referência","count":20},{"language":"ru","tag":"Справочник","count":20},{"language":"zh-CN","tag":"参考","count":20},{"language":"de","tag":"Plattformen und Integrationen","count":19},{"language":"es","tag":"Plataformas e integraciones","count":19},{"language":"fr","tag":"Plateformes et intégrations","count":19},{"language":"id","tag":"Platform dan integrasi","count":19},{"language":"it","tag":"Piattaforme e integrazioni","count":19},{"language":"jp","tag":"プラットフォームと連携","count":19},{"language":"ko","tag":"플랫폼 및 통합","count":19},{"language":"pt-BR","tag":"Plataformas e integrações","count":19},{"language":"ru","tag":"Платформы и интеграции","count":19},{"language":"zh-CN","tag":"平台与集成","count":19},{"language":"zh-TW","tag":"平台與整合","count":19},{"language":"de","tag":"Code-Review und Pull Requests","count":14},{"language":"es","tag":"Revisión de código y pull requests","count":14},{"language":"fr","tag":"Revue de code et pull requests","count":14},{"language":"it","tag":"Code review e pull request","count":14},{"language":"ko","tag":"코드 리뷰 및 풀 리퀘스트","count":14},{"language":"pt-BR","tag":"Revisão de código e pull requests","count":14},{"language":"ru","tag":"Код-ревью и pull request","count":14},{"language":"zh-TW","tag":"程式碼審查與 pull request","count":14},{"language":"zh-TW","tag":"部署","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-bash","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"chat-bucketing-batched","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"button.css","content":".btn{position:relative;display:inline-flex;gap:.5rem;align-items:center;justify-content:center;flex-shrink:0;min-width:5rem;height:2.25rem;padding:.5rem 1rem;white-space:nowrap;font-family:Styrene;font-weight:600;border-radius:.5rem}"},{"filePath":"style.css","content":"@font-face{font-family:\"Anthropic Sans\";src:url(https://assets.claude.ai/Fonts/AnthropicSans-Text-Regular-Static.otf) format(\"opentype\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\"Anthropic Sans\";src:url(https://assets.claude.ai/Fonts/AnthropicSans-Text-RegularItalic-Static.otf) format(\"opentype\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:\"Anthropic Sans\";src:url(https://assets.claude.ai/Fonts/AnthropicSans-Text-Medium-Static.otf) format(\"opentype\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"Anthropic Sans\";src:url(https://assets.claude.ai/Fonts/AnthropicSans-Text-MediumItalic-Static.otf) format(\"opentype\");font-weight:500;font-style:italic;font-display:swap}@font-face{font-family:\"Anthropic Sans\";src:url(https://assets.claude.ai/Fonts/AnthropicSans-Text-Semibold-Static.otf) format(\"opentype\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:\"Anthropic Sans\";src:url(https://assets.claude.ai/Fonts/AnthropicSans-Text-SemiboldItalic-Static.otf) format(\"opentype\");font-weight:600;font-style:italic;font-display:swap}@font-face{font-family:\"Anthropic Sans\";src:url(https://assets.claude.ai/Fonts/AnthropicSans-Text-Bold-Static.otf) format(\"opentype\");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:\"Anthropic Sans\";src:url(https://assets.claude.ai/Fonts/AnthropicSans-Text-BoldItalic-Static.otf) format(\"opentype\");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:\"Anthropic Serif Display\";src:url(https://assets.claude.ai/Fonts/AnthropicSerif-Display-Regular-Static.otf) format(\"opentype\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\"Anthropic Serif Display\";src:url(https://assets.claude.ai/Fonts/AnthropicSerif-Display-RegularItalic-Static.otf) format(\"opentype\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:\"Anthropic Serif Display\";src:url(https://assets.claude.ai/Fonts/AnthropicSerif-Display-Medium-Static.otf) format(\"opentype\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"Anthropic Serif Display\";src:url(https://assets.claude.ai/Fonts/AnthropicSerif-Display-Semibold-Static.otf) format(\"opentype\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:\"Anthropic Serif Display\";src:url(https://assets.claude.ai/Fonts/AnthropicSerif-Display-Bold-Static.otf) format(\"opentype\");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:\"Anthropic Serif\";src:url(https://assets.claude.ai/Fonts/AnthropicSerif-Text-Regular-Static.otf) format(\"opentype\");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:\"Anthropic Serif\";src:url(https://assets.claude.ai/Fonts/AnthropicSerif-Text-RegularItalic-Static.otf) format(\"opentype\");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:\"Anthropic Serif\";src:url(https://assets.claude.ai/Fonts/AnthropicSerif-Text-Medium-Static.otf) format(\"opentype\");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:\"Anthropic Serif\";src:url(https://assets.claude.ai/Fonts/AnthropicSerif-Text-MediumItalic-Static.otf) format(\"opentype\");font-weight:500;font-style:italic;font-display:swap}@font-face{font-family:\"Anthropic Serif\";src:url(https://assets.claude.ai/Fonts/AnthropicSerif-Text-Semibold-Static.otf) format(\"opentype\");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:\"Anthropic Serif\";src:url(https://assets.claude.ai/Fonts/AnthropicSerif-Text-SemiboldItalic-Static.otf) format(\"opentype\");font-weight:600;font-style:italic;font-display:swap}@font-face{font-family:\"Anthropic Serif\";src:url(https://assets.claude.ai/Fonts/AnthropicSerif-Text-Bold-Static.otf) format(\"opentype\");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:\"Anthropic Serif\";src:url(https://assets.claude.ai/Fonts/AnthropicSerif-Text-BoldItalic-Static.otf) format(\"opentype\");font-weight:700;font-style:italic;font-display:swap}:root{--always-white:0 0% 100%;--always-black:0 0% 0%;--constant-book-cloth:15 55% 80%;--constant-clay:15 60% 85%;--constant-kraft:25 40% 83%;--constant-manilla:40 20% 92%;--constant-slate-000:0 0% 100%;--constant-slate-050:48 33.3% 97.1%;--constant-slate-100:53 28.6% 94.5%;--constant-slate-150:48 25% 92.2%;--constant-slate-200:50 20.7% 88.6%;--constant-slate-250:51 16.5% 84.5%;--constant-slate-300:50 11.5% 79.6%;--constant-slate-350:50 9% 73.7%;--constant-slate-400:49 6.5% 66.9%;--constant-slate-450:48 4.8% 59.2%;--constant-slate-500:53 3.2% 51.4%;--constant-slate-550:51 3.1% 43.7%;--constant-slate-600:48 2.7% 35.9%;--constant-slate-650:48 3.4% 29.2%;--constant-slate-700:60 2.5% 23.3%;--constant-slate-750:60 2.1% 18.4%;--constant-slate-800:60 2.7% 14.5%;--constant-slate-850:30 3.3% 11.8%;--constant-slate-900:30 4% 9.8%;--constant-slate-950:60 2.6% 7.6%;--constant-slate-1000:60 3.4% 5.7%}:root:not(.dark){--accent-brand:15 63.1% 59.6%;--accent-main-000:15 55.6% 52.4%;--accent-main-100:15 55.6% 52.4%;--accent-main-200:15 63.1% 59.6%;--accent-main-900:0 0% 0%;--accent-pro-000:251 34.2% 33.3%;--accent-pro-100:251 40% 45.1%;--accent-pro-200:251 61% 72.2%;--accent-pro-900:253 33.3% 91.8%;--accent-secondary-000:210 73.7% 40.2%;--accent-secondary-100:210 70.9% 51.6%;--accent-secondary-200:210 70.9% 51.6%;--accent-secondary-900:211 72% 90%;--bg-000:0 0% 100%;--bg-100:48 33.3% 97.1%;--bg-200:53 28.6% 94.5%;--bg-300:48 25% 92.2%;--bg-400:50 20.7% 88.6%;--bg-500:50 20.7% 88.6%;--border-100:30 3.3% 11.8%;--border-200:30 3.3% 11.8%;--border-300:30 3.3% 11.8%;--border-400:30 3.3% 11.8%;--danger-000:0 61.4% 22.4%;--danger-100:0 58.6% 34.1%;--danger-200:0 58.6% 34.1%;--danger-900:0 50% 95%;--oncolor-100:0 0% 100%;--oncolor-200:60 6.7% 97.1%;--oncolor-300:60 6.7% 97.1%;--text-000:60 2.6% 7.6%;--text-100:60 2.6% 7.6%;--text-200:60 2.5% 23.3%;--text-300:60 2.5% 23.3%;--text-400:51 3.1% 43.7%;--text-500:51 3.1% 43.7%}:root.dark{--accent-brand:15 63.1% 59.6%;--accent-main-000:15 55.6% 52.4%;--accent-main-100:15 63.1% 59.6%;--accent-main-200:15 63.1% 59.6%;--accent-main-900:0 0% 0%;--accent-pro-000:251 84.6% 74.5%;--accent-pro-100:251 40.2% 54.1%;--accent-pro-200:251 40% 45.1%;--accent-pro-900:250 25.3% 19.4%;--accent-secondary-000:210 71.1% 62%;--accent-secondary-100:210 70.9% 51.6%;--accent-secondary-200:210 70.9% 51.6%;--accent-secondary-900:210 55.9% 24.6%;--bg-000:60 2.1% 18.4%;--bg-100:60 2.7% 14.5%;--bg-200:30 3.3% 11.8%;--bg-300:60 2.6% 7.6%;--bg-400:60 3.4% 5.7%;--bg-500:60 3.4% 5.7%;--border-100:51 16.5% 84.5%;--border-200:51 16.5% 84.5%;--border-300:51 16.5% 84.5%;--border-400:51 16.5% 84.5%;--danger-000:0 73.1% 66.5%;--danger-100:0 58.6% 34.1%;--danger-200:0 58.6% 34.1%;--danger-900:0 23% 15.6%;--oncolor-100:0 0% 100%;--oncolor-200:60 6.7% 97.1%;--oncolor-300:60 6.7% 97.1%;--text-000:48 33.3% 97.1%;--text-100:48 33.3% 97.1%;--text-200:50 9% 73.7%;--text-300:50 9% 73.7%;--text-400:48 4.8% 59.2%;--text-500:48 4.8% 59.2%}#home-header{font-family:\"Anthropic Sans\",system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif;font-weight:400!important;font-size:50px;line-height:1.2;margin-bottom:1rem;color:--text-000;display:flex;align-items:baseline;justify-content:center;flex-wrap:nowrap}#localization-select-trigger>:has(img[src*=flags]),div[id^=localization-select-item]>:has(img[src*=flags]){display:none}@media (min-width:768px){#home-header{justify-content:center}}.build-with{font-family:\"Anthropic Sans\",system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif;letter-spacing:-.02em}.claude-wordmark-wrapper{display:inline-flex;align-items:baseline;margin-left:10px}.claude-wordmark{height:40px;width:auto;position:relative}.dark #home-header,.dark .description-text{color:#fff}.description-text{color:#000}.dark .claude-wordmark{filter:invert(1)}:root{--bg-color:#f0efea}.dark{--bg-color:#2b2b2b}#category-select,#content-container,#table-of-contents,.dropdown-item,.eyebrow,body,input{font-family:\"Anthropic Sans\",system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif}.eyebrow{text-transform:uppercase;letter-spacing:.02rem}#content-container h1,#content-container h2,#content-container h3,#content-container h4,#content-container h5,#content-container h6{font-family:\"Anthropic Serif Display\",Georgia,\"Times New Roman\",Times,serif;font-weight:400;letter-spacing:0;word-spacing:.1em}#content-container p{font-size:1rem;line-height:1.65rem}.font-extrabold{font-weight:600!important}.wide-table{width:100%;overflow-x:auto}.wide-table table{width:175%;margin-bottom:0}#prompt-library-container{margin:4rem auto;max-width:48rem;padding-left:1.25rem;padding-right:1.25rem}.prompt-library-title{font-size:24px;text-align:center;font-weight:700;color:#1f2937}.dark .prompt-library-title{color:#e5e7eb}.prompt-library-description{margin-top:1rem;text-align:center}.main-content{margin-bottom:10rem;max-width:64rem;margin-left:auto;margin-right:auto;padding-left:1.25rem;padding-right:1.25rem}.prompt-controllers{display:flex;gap:.5rem}.prompt-search-container{position:relative;flex:1 1 0%}.prompt-search-icon-container{display:flex;position:absolute;top:0;bottom:0;left:0;align-items:center;padding-left:.75rem}.prompt-search-icon{margin-left:.25rem;margin-right:.75rem;flex:none;width:1rem;height:1rem;background-color:#6b7280;mask-image:url(https://mintlify.b-cdn.net/v6.5.1/solid/magnifying-glass.svg);mask-repeat:no-repeat;mask-position:center center}input.prompt-search-bar{display:block;height:2.5rem;padding-left:2.5rem;border-radius:.75rem;border-width:1px;background-color:#fff;width:100%;color:#111827;box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}.dark input.prompt-search-bar{color:#fff;background-color:rgb(var(--background-dark));border-color:#d1d5db1a}input.prompt-search-bar:focus{outline-color:rgb(var(--primary))}.dark input.prompt-search-bar:focus{outline-color:rgb(var(--primary-light))}.dark .dropdown-icon,.dark .prompt-search-icon{background-color:#ffffff80}#category-select{padding-left:1rem;padding-right:2.5rem;height:2.5rem;display:flex;align-items:center;border-radius:.75rem;border-width:1px;color:#111827;background-color:#fff;cursor:pointer;box-shadow:0 1px 2px 0 rgba(0,0,0,.05);white-space:nowrap}.dark #category-select{background-color:rgb(var(--background-dark));border-color:#d1d5db1a;color:#fff}#category-select:hover,.dropdown-item:hover{background-color:#f9fafb}.dark #category-select:hover,.dark .dropdown-item:hover{background-color:#ffffff0d}#category-select:focus{outline-color:rgb(var(--primary))}.dark #category-select:focus{outline-color:rgb(var(--primary-light))}#categories-dropdown{top:calc(100% + 4px);padding:.5rem;display:none;position:absolute;z-index:10;border-radius:.75rem;border-width:1px;width:100%;color:#111827;background-color:#fff;box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}.dark #categories-dropdown{background-color:rgb(var(--background-dark));border-color:#d1d5db1a;color:#fff}#categories-dropdown-clickout{position:fixed;top:0;right:0;bottom:0;left:0;z-index:0}.dropdown-icon-container{display:flex;position:absolute;top:0;bottom:0;right:0;align-items:center;padding-right:.25rem}.dropdown-icon{margin-left:.25rem;margin-right:.75rem;flex:none;width:.75rem;height:.75rem;background-color:#6b7280;mask-image:url(https://mintlify.b-cdn.net/v6.5.1/solid/caret-down.svg);mask-repeat:no-repeat;mask-position:center center}#prompts-container{grid-template-columns:repeat(1,minmax(0,1fr));gap:2rem;display:grid;margin-top:2.5rem}.dropdown-item{padding:.25rem .5rem;border-radius:.375rem;display:flex;align-items:center;cursor:pointer}.check-icon{mask-image:url(https://mintlify.b-cdn.net/v6.5.1/solid/check.svg);height:.875rem;width:1rem;background-color:rgb(var(--primary-light));mask-repeat:no-repeat;mask-position:center center}.prompt-card{margin:-.75rem;padding:.75rem;display:flex;border-radius:1rem}.prompt-card:hover{background-color:#03071208}.dark .prompt-card:hover{background-color:#ffffff08}.prompt-icon-container{display:flex;flex:none;align-items:center;justify-content:center;margin-right:1.5rem;border-radius:.75rem;height:4rem;width:4rem;background-color:#cb785c1a}.prompt-icon{height:1.5rem;width:1.5rem;background-color:rgb(var(--primary-light));mask-repeat:no-repeat;mask-position:center center}.prompt-title{color:rgb(31 41 55);font-weight:600}.dark .prompt-title{color:rgb(229 231 235)}.prompt-description{margin-top:.25rem}@media (min-width:640px){#category-select{width:16rem}}@media (min-width:1024px){#prompts-container{grid-template-columns:repeat(2,minmax(0,1fr))}}.home-cards-custom{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,auto);gap:1.5rem}.home-cards-custom .card{background:0 0;border:.5px solid hsl(var(--border-300));border-radius:12px;padding:.25rem}@media (max-width:1024px){.home-cards-custom{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,auto)}}@media (max-width:768px){.home-cards-custom{grid-template-columns:1fr;grid-template-rows:repeat(6,auto)}}.relative{position:relative}.flex-1{flex:1 1 0%}.mermaid{position:relative;background-color:#fdfdfb;background-image:linear-gradient(rgba(235,219,188,.25) 1px,transparent 1px),linear-gradient(90deg,rgba(235,219,188,.25) 1px,transparent 1px),linear-gradient(rgba(235,219,188,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(235,219,188,.1) 1px,transparent 1px);background-size:20px 20px,20px 20px,4px 4px,4px 4px;background-position:-1px -1px,-1px -1px,-1px -1px,-1px -1px;padding:20px;border-radius:8px;border:1px solid rgba(235,219,188,.4);box-shadow:0 2px 4px rgba(64,64,62,.08)}.dark .mermaid{background-color:#1a1918;background-image:linear-gradient(rgba(212,162,127,.15) 1px,transparent 1px),linear-gradient(90deg,rgba(212,162,127,.15) 1px,transparent 1px),linear-gradient(rgba(212,162,127,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(212,162,127,.08) 1px,transparent 1px);border:1px solid rgba(102,102,99,.5);box-shadow:0 2px 4px rgba(0,0,0,.2)}.digest-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem 1rem;padding:.75rem 1rem;margin:1.5rem 0 2.5rem;border:1px solid hsl(var(--border-300)/.15);background:hsl(var(--bg-200));font-variant-numeric:tabular-nums;font-size:.875rem;color:hsl(var(--text-400))}#content-container .digest-meta a{color:hsl(var(--accent-main-100));font-weight:500;text-decoration:none;border-bottom:none}#content-container .digest-meta a:hover{text-decoration:underline}.digest-feature{position:relative;margin:2.5rem 0;padding:1.875rem 1.875rem 1.625rem;background:radial-gradient(circle,hsl(var(--text-000)/.025) 1px,transparent 1px) 0 0/18px 18px,linear-gradient(180deg,hsl(var(--constant-manilla)/.55),hsl(var(--constant-manilla)/.38));border:1px solid hsl(var(--border-300)/.12);box-shadow:inset 0 1px 0 hsl(var(--text-000)/.04),0 1px 2px hsl(var(--always-black)/.04)}.digest-feature::before{content:\"\";position:absolute;inset:0 auto 0 0;width:4px;background:hsl(var(--accent-brand))}.dark .digest-feature{background:radial-gradient(circle,hsl(var(--text-000)/.02) 1px,transparent 1px) 0 0/18px 18px,linear-gradient(180deg,hsl(var(--bg-000)/.75),hsl(var(--bg-000)/.5));border-color:hsl(var(--border-300)/.1);box-shadow:inset 0 1px 0 hsl(var(--text-000)/.03),0 1px 2px hsl(var(--always-black)/.25)}.digest-feature>:first-child{margin-top:0}.digest-feature>:last-child{margin-bottom:0}.digest-feature-header{display:flex;align-items:center;flex-wrap:wrap;gap:.625rem;margin:0 0 .75rem}#content-container .digest-feature-title{font-family:\"Anthropic Serif Display\",Georgia,serif;font-size:1.75rem;line-height:1.15;font-weight:500;letter-spacing:-.015em;color:hsl(var(--text-000));margin:0}#content-container .digest-feature-pill{font-family:ui-monospace,\"SF Mono\",Menlo,Consolas,monospace;font-size:.75rem;line-height:1;letter-spacing:.01em;padding:.3rem .6rem;border-radius:999px;background:hsl(var(--accent-brand)/.12);color:hsl(var(--accent-main-000));border:1px solid hsl(var(--accent-brand)/.25);white-space:nowrap;transform:translateY(1px)}#content-container .digest-feature-lede{font-size:1.0625rem;line-height:1.65;color:hsl(var(--text-100));margin:0 0 1.25rem;max-width:none}#content-container .digest-feature-lede code{font-size:.875em;padding:.1em .35em}#content-container .digest-feature-try{font-size:.875rem;color:hsl(var(--text-400));margin:1.25rem 0 .5rem}#content-container .digest-feature .frame{margin:1rem 0;border-radius:0;padding:0}#content-container .digest-feature .frame>*,#content-container .digest-feature [class*=CodeBlock],#content-container .digest-feature pre{border-radius:0}#content-container .digest-feature-link{display:inline-flex;align-items:center;gap:.35rem;font-size:.875rem;font-weight:500;color:hsl(var(--accent-main-100));text-decoration:none;border-bottom:none;margin-top:.75rem}#content-container .digest-feature-link::after{content:\"→\";transition:transform 120ms ease-out}#content-container .digest-feature-link:hover::after{transform:translateX(3px)}.digest-wins{margin:2.5rem 0;padding:1.5rem 1.75rem 1.25rem;background:hsl(var(--bg-200));border:1px solid hsl(var(--border-300)/.1)}.dark .digest-wins{background:hsl(var(--bg-200)/.6)}#content-container .digest-wins-title{font-family:\"Anthropic Serif Display\",Georgia,serif;font-size:1.25rem;font-weight:500;color:hsl(var(--text-000));margin:0 0 .75rem}.digest-wins-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));column-gap:2rem}#content-container .digest-wins-grid>div{position:relative;font-size:.875rem;line-height:1.5;color:hsl(var(--text-300));padding:.5rem 0 .5rem 1.125rem;border-top:1px solid hsl(var(--border-300)/.06);margin:0}#content-container .digest-wins-grid>div::before{content:\"+\";position:absolute;left:0;top:.5rem;font-family:ui-monospace,\"SF Mono\",Menlo,Consolas,monospace;font-size:.8125rem;font-weight:600;color:hsl(var(--accent-brand))}#content-container .digest-wins-grid>div:first-child,#content-container .digest-wins-grid>div:nth-child(2){border-top:none;padding-top:0}#content-container .digest-wins-grid>div:first-child::before,#content-container .digest-wins-grid>div:nth-child(2)::before{top:0}#content-container .digest-wins-grid code{font-size:.8125rem;padding:.1em .3em}:root{--toc-wrapper-max:92rem;--toc-wrapper-pad:2rem;--toc-col:19rem;--toc-side:28rem;--toc-btn-size:1.75rem}#toc-collapse-toggle{display:none;align-items:center;justify-content:center;position:fixed;top:10rem;right:calc(max((100% - var(--toc-wrapper-max))/2,0px) + var(--toc-wrapper-pad) + var(--toc-col) - var(--toc-btn-size) - .35rem);transition:right 200ms ease-out;z-index:30;width:var(--toc-btn-size);height:var(--toc-btn-size);border-radius:9999px;border:1px solid hsl(var(--border-300)/.15);background:hsl(var(--bg-100));color:hsl(var(--text-400));cursor:pointer}#toc-collapse-toggle:hover{background:hsl(var(--bg-300));color:hsl(var(--text-100))}#toc-collapse-toggle svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}#toc-collapse-toggle .toc-glyph{display:none;stroke-width:2}@media print{#toc-collapse-toggle{display:none!important}}@media (prefers-reduced-motion:reduce){#toc-collapse-toggle{transition:none}}@media (min-width:1280px){html:has(#table-of-contents-layout) #toc-collapse-toggle{display:flex}html.toc-collapsed #toc-collapse-toggle .toc-chevron{transform:rotate(180deg)}html.toc-collapsed #toc-collapse-toggle{right:.5rem;width:auto;padding:0 .5rem;gap:.25rem}html.toc-collapsed #toc-collapse-toggle .toc-glyph{display:block}html.toc-collapsed #table-of-contents-layout{display:none!important}html.toc-collapsed #content-side-layout:has(#table-of-contents-layout){display:none!important}html.toc-collapsed #content-container:has(#table-of-contents-layout) #content-area{width:100%!important}html.toc-collapsed #content-container:has(#table-of-contents-layout) #content-area>*{max-width:calc(var(--toc-wrapper-max) - var(--toc-side))}}@media (max-width:640px){.digest-feature{margin:1.5rem 0}#content-container .digest-feature-title{font-size:1.375rem}.digest-feature,.digest-wins{padding:1.25rem 1rem 1rem}.digest-wins-grid{grid-template-columns:1fr}#content-container .digest-wins-grid>div:nth-child(2){border-top:1px solid hsl(var(--border-300)/.06);padding-top:.5rem}#content-container .digest-wins-grid>div:nth-child(2)::before{top:.5rem}}[role=menu]:has(>.nav-dropdown-item){width:340px;max-width:calc(100vw - 32px);max-height:min(680px,calc(100vh - 130px));padding:8px;border-radius:16px}[role=menu]:has(>.nav-dropdown-item:nth-child(5)){width:640px;display:grid;grid-template-columns:1fr 1fr;column-gap:8px;align-content:start}.nav-dropdown-item{padding:9px 12px}.nav-dropdown-item span.text-sm{font-size:14.5px;font-weight:600;color:#141413}.nav-dropdown-item span.text-xs{font-size:13.5px;line-height:1.4;color:#73726c}.dark .nav-dropdown-item span.text-sm{color:#faf9f5}.dark .nav-dropdown-item span.text-xs{color:#97958c}@media (max-width:700px){[role=menu]:has(>.nav-dropdown-item:nth-child(5)){width:340px;display:block}}.nav-tabs .nav-tabs-item:focus-visible{outline:2px solid currentColor;outline-offset:-4px;border-radius:8px}#navigation-items button[aria-haspopup=menu]:not(#localization-select-trigger)~button[aria-haspopup=menu]{display:none}[data-base-ui-portal]:has(.nav-dropdown-item):has(~[data-base-ui-portal] .nav-dropdown-item){visibility:hidden;pointer-events:none}"}],"page":{"pagePath":"en/security","slug":"/en/security","pageMetadata":{"title":"Security","description":"Learn about Claude Code's security safeguards and best practices for safe usage.","href":"/en/security"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Learn about Claude Code’s security safeguards and best practices for safe usage.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`how-we-approach-security`,children:`How we approach security`}),`\n`,_jsx(Heading,{level:`3`,id:`security-foundation`,children:`Security foundation`}),`\n`,_jsxs(_components.p,{children:[`Your code’s security is paramount. Claude Code is built with security at its core, developed according to Anthropic’s comprehensive security program. Learn more and access resources (SOC 2 Type 2 report, ISO 27001 certificate, etc.) at `,_jsx(_components.a,{href:`https://trust.anthropic.com`,children:`Anthropic Trust Center`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`permission-based-architecture`,children:`Permission-based architecture`}),`\n`,_jsxs(_components.p,{children:[`A session’s permission mode sets which actions Claude can take without asking you first. Auto mode is the built-in starting permission mode for interactive terminal and VS Code sessions. `,_jsx(_components.a,{href:`/en/permission-modes#which-mode-a-session-starts-in`,children:`Which mode a session starts in`}),` covers earlier versions, other surfaces, and the settings that change the starting permission mode.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Auto mode`}),`: A separate classifier model reviews actions instead of you and blocks the ones it judges unsafe. `,_jsx(_components.a,{href:`/en/permission-modes#how-the-classifier-evaluates-actions`,children:`How the classifier evaluates actions`}),` lists which actions Claude Code approves outright, which it sends to the classifier, and which Claude Code still asks you about. Your explicit ask and deny rules still apply, and your organization can `,_jsx(_components.a,{href:`/en/permission-modes#eliminate-prompts-with-auto-mode`,children:`turn auto mode off`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Manual mode`}),`: Claude Code starts with read-only permissions. When it needs to edit files, run tests, or execute commands, it asks you first, and you choose whether to approve the action once or allow it from then on. It runs a built-in set of `,_jsx(_components.a,{href:`/en/permissions#read-only-commands`,children:`read-only commands`}),` such as `,_jsx(_components.code,{children:`ls`}),`, `,_jsx(_components.code,{children:`cat`}),`, and `,_jsx(_components.code,{children:`git status`}),` without asking`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`You and your organization configure these permissions directly. For detailed permission configuration, see `,_jsx(_components.a,{href:`/en/permissions`,children:`Permissions`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`built-in-protections`,children:`Built-in protections`}),`\n`,_jsx(_components.p,{children:`To mitigate risks in agentic systems:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Sandboxed bash tool`}),`: `,_jsx(_components.a,{href:`/en/sandboxing`,children:`Sandbox`}),` bash commands with filesystem and network isolation, reducing permission prompts while maintaining security. Configure with `,_jsx(_components.code,{children:`/sandbox`}),` to define boundaries where Claude Code can work autonomously`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Working directory boundary`}),`: In Manual mode, Claude Code asks you before its file tools read or write outside the folder where it was started and its subfolders. The boundary is a permission prompt, so a Bash command you approve can still write anywhere your user account can`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`To read a folder without the prompt, add it as an `,_jsx(_components.a,{href:`/en/permissions#working-directories`,children:`additional directory`})]}),`\n`,_jsxs(_components.li,{children:[`To restrict Bash commands at the operating system level, turn on `,_jsx(_components.a,{href:`/en/sandboxing#filesystem-isolation`,children:`sandboxing`})]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Prompt fatigue mitigation`}),`: Support for allowlisting frequently used safe commands per-user, per-codebase, or per-organization`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Accept Edits mode`}),`: Auto-approves file edits and a fixed set of filesystem Bash commands like `,_jsx(_components.code,{children:`mkdir`}),`, `,_jsx(_components.code,{children:`touch`}),`, `,_jsx(_components.code,{children:`rm`}),`, `,_jsx(_components.code,{children:`mv`}),`, `,_jsx(_components.code,{children:`cp`}),`, and `,_jsx(_components.code,{children:`sed`}),` for paths in the working directory. Other Bash commands and out-of-scope paths still prompt`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`user-responsibility`,children:`User responsibility`}),`\n`,_jsx(_components.p,{children:`You’re responsible for reviewing proposed code and commands for safety before approval.`}),`\n`,_jsx(Heading,{level:`2`,id:`protect-against-prompt-injection`,children:`Protect against prompt injection`}),`\n`,_jsx(_components.p,{children:`Prompt injection is a technique where an attacker attempts to override or manipulate an AI assistant’s instructions by inserting malicious text. Claude Code includes several safeguards against these attacks:`}),`\n`,_jsx(Heading,{level:`3`,id:`core-protections`,children:`Core protections`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Permission system`}),`: In Manual mode, sensitive operations require explicit approval`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Network command approval`}),`: Commands that fetch content from the web such as `,_jsx(_components.code,{children:`curl`}),` and `,_jsx(_components.code,{children:`wget`}),` are not auto-approved by default. In Manual mode they prompt like any other non-read-only Bash command, so you can still approve once or add an explicit allow rule like `,_jsx(_components.code,{children:`Bash(curl *)`}),`. To stop Claude from running them, add them to `,_jsx(_components.a,{href:`/en/permissions#tool-specific-permission-rules`,children:_jsx(_components.code,{children:`permissions.deny`})}),`. A deny rule matches the command `,_jsx(_components.a,{href:`/en/permissions#bash-rule-limits`,children:`as written`}),`; for network enforcement that doesn’t depend on the command text, see `,_jsx(_components.a,{href:`/en/sandboxing#network-isolation`,children:`sandbox network isolation`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`privacy-safeguards`,children:`Privacy safeguards`}),`\n`,_jsx(_components.p,{children:`We have implemented several safeguards to protect your data, including:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Limited retention periods for sensitive information (see the `,_jsx(_components.a,{href:`https://privacy.anthropic.com/en/articles/10023548-how-long-do-you-store-my-data`,children:`Privacy Center`}),` to learn more)`]}),`\n`,_jsx(_components.li,{children:`Restricted access to user session data`}),`\n`,_jsxs(_components.li,{children:[`User control over data training preferences. Consumer users can change their `,_jsx(_components.a,{href:`https://claude.ai/settings/privacy`,children:`privacy settings`}),` at any time.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`For full details, please review our `,_jsx(_components.a,{href:`https://www.anthropic.com/legal/commercial-terms`,children:`Commercial Terms of Service`}),` (for Team, Enterprise, and API users) or `,_jsx(_components.a,{href:`https://www.anthropic.com/legal/consumer-terms`,children:`Consumer Terms`}),` (for Free, Pro, Max, and Ultra users) and `,_jsx(_components.a,{href:`https://www.anthropic.com/legal/privacy`,children:`Privacy Policy`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`additional-safeguards`,children:`Additional safeguards`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Network request approval`}),`: In Manual mode, most tools that make network requests require user approval by default`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Web page summaries`}),`: For most fetches, WebFetch runs a separate model call over the page, and Claude receives that call’s answer instead of the raw page. See `,_jsx(_components.a,{href:`/en/tools-reference#webfetch-tool-behavior`,children:`WebFetch tool behavior`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Trust verification`}),`: In an interactive session, Claude Code shows the workspace trust dialog when you start it in a folder you haven’t trusted. Servers in a project’s `,_jsx(_components.code,{children:`.mcp.json`}),` have their own approval prompt, and `,_jsx(_components.a,{href:`/en/mcp#project-scope`,children:`Project scope`}),` lists the sessions that skip it`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Note: A `,_jsx(_components.code,{children:`-p`}),` session shows neither prompt. `,_jsx(_components.a,{href:`/en/permissions#what-runs-before-you-trust-a-folder`,children:`What runs before you trust a folder`}),` lists what a repository’s files can run there`]}),`\n`,_jsx(_components.li,{children:`Note: When you start Claude Code directly in your home directory, trust acceptance is held for the current session only and is not written to disk, so the prompt reappears on each launch. There is no setting to persist it. Start Claude Code from a project subdirectory instead, where trust acceptance is saved per directory`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Command injection detection`}),`: In Manual mode, Claude Code asks before running a Bash command it can’t fully analyze. An allow rule for part of a command, such as `,_jsx(_components.code,{children:`Bash(git *)`}),`, doesn’t skip that prompt. `,_jsx(_components.a,{href:`/en/permissions#how-permissions-interact-with-sandboxing`,children:`Sandboxed commands`}),` can run without it`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Fail-closed matching`}),`: In Manual mode, unmatched commands require approval by default`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Secure credential storage`}),`: API keys and tokens are stored in the macOS Keychain when available. On Linux they’re stored in a file with mode `,_jsx(_components.code,{children:`0600`}),`, and on Windows in a file that inherits the access controls of your user profile directory. See `,_jsx(_components.a,{href:`/en/authentication#credential-management`,children:`Credential Management`})]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Windows WebDAV security risk`}),`: When running Claude Code on Windows, we recommend against enabling WebDAV or allowing Claude Code to access paths such as `,_jsx(_components.code,{children:`\\\\\\\\*`}),` that may contain WebDAV subdirectories. `,_jsx(_components.a,{href:`https://learn.microsoft.com/en-us/windows/whats-new/deprecated-features#:~:text=The%20Webclient%20(WebDAV)%20service%20is%20deprecated`,children:`WebDAV has been deprecated by Microsoft`}),` due to security risks. Enabling WebDAV may allow Claude Code to trigger network requests to remote hosts, bypassing the permission system.`]})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Best practices for working with untrusted content`}),`:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Review suggested commands before approval`}),`\n`,_jsx(_components.li,{children:`Avoid piping untrusted content directly to Claude`}),`\n`,_jsx(_components.li,{children:`Verify proposed changes to critical files`}),`\n`,_jsx(_components.li,{children:`Use virtual machines (VMs) to run scripts and make tool calls, especially when interacting with external web services`}),`\n`,_jsxs(_components.li,{children:[`Report suspicious behavior with `,_jsx(_components.code,{children:`/feedback`})]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`While these protections significantly reduce risk, no system is completely\nimmune to all attacks. Always maintain good security practices when working\nwith any AI tool.`})}),`\n`,_jsx(Heading,{level:`2`,id:`mcp-security`,children:`MCP security`}),`\n`,_jsxs(_components.p,{children:[`You can connect Claude Code to Model Context Protocol (MCP) servers. Project-scoped servers are defined in `,_jsx(_components.code,{children:`.mcp.json`}),`, which you can check into source control. Servers at `,_jsx(_components.a,{href:`/en/mcp#mcp-installation-scopes`,children:`other scopes`}),` and `,_jsx(_components.a,{href:`/en/mcp#how-connectors-reach-claude-code`,children:`claude.ai connectors`}),` are configured outside the repository, and plugins can add servers too, so reviewing `,_jsx(_components.code,{children:`.mcp.json`}),` doesn’t show every server a session can load. To restrict which servers run in your organization, see `,_jsx(_components.a,{href:`/en/managed-mcp`,children:`Managed MCP configuration`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`We encourage either writing your own MCP servers or using MCP servers from providers that you trust. You are able to configure Claude Code permissions for MCP servers. Anthropic reviews connectors against its `,_jsx(_components.a,{href:`https://claude.com/docs/connectors/building/review-criteria`,children:`listing criteria`}),` before adding them to the `,_jsx(_components.a,{href:`https://claude.ai/directory`,children:`Anthropic Directory`}),`, but does not security-audit or manage any MCP server.`]}),`\n`,_jsx(Heading,{level:`2`,id:`ide-security`,children:`IDE security`}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/en/vs-code#the-built-in-ide-mcp-server`,children:`The built-in IDE MCP server`}),` for more information on running Claude Code in an IDE.`]}),`\n`,_jsx(Heading,{level:`2`,id:`cloud-execution-security`,children:`Cloud execution security`}),`\n`,_jsxs(_components.p,{children:[`When you use `,_jsx(_components.a,{href:`/en/claude-code-on-the-web`,children:`cloud sessions`}),`, additional security controls are in place. Sessions your organization routes to a `,_jsx(_components.a,{href:`/en/self-hosted-environments`,children:`self-hosted environment`}),` run on your own infrastructure, where isolation, network egress, and git credentials are your deployment’s responsibility. In Anthropic-hosted environments:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Isolated virtual machines`}),`: Each cloud session runs in an isolated, Anthropic-managed VM`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Network access controls`}),`: Network access is limited by default and can be configured to be disabled or allow only specific domains`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Credential protection`}),`: GitHub credentials are stored encrypted on Anthropic’s servers and never enter the session VM. The VM holds a short-lived credential scoped to that session, and GitHub traffic goes through an `,_jsx(_components.a,{href:`/en/cloud-environments#github-proxy`,children:`Anthropic proxy`}),` that attaches the GitHub credential on the server side. See `,_jsx(_components.a,{href:`/en/claude-code-on-the-web#github-authentication-options`,children:`GitHub authentication options`}),` for how you grant access`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Push restrictions`}),`: The `,_jsx(_components.a,{href:`/en/cloud-environments#github-proxy`,children:`GitHub proxy`}),` rejects branch deletions and pushes of anything other than a branch, such as a tag. GitHub decides which branches a session can update by applying your repository’s branch protection rules and rulesets to the GitHub access you connected. A rule that access can bypass doesn’t block a session’s push`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Audit logging`}),`: All operations in cloud sessions are logged for compliance and audit purposes`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Automatic cleanup`}),`: Session VMs are reclaimed after a period of inactivity`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Deletion`}),`: You can `,_jsx(_components.a,{href:`/en/claude-code-on-the-web#delete-sessions`,children:`delete a session`}),` at any time. See `,_jsx(_components.a,{href:`/en/data-usage#cloud-execution-data-flow-and-dependencies`,children:`Cloud execution data flow`}),` for what Anthropic stores for a cloud session`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`For more details on cloud execution, see `,_jsx(_components.a,{href:`/en/claude-code-on-the-web`,children:`Use Claude Code in the cloud`}),`; to configure network access for cloud sessions, see `,_jsx(_components.a,{href:`/en/cloud-environments#network-access`,children:`Configure cloud environments`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/en/remote-control`,children:`Remote Control`}),` sessions work differently: the web interface connects to a Claude Code process running on your local machine. All code execution and file access stays local, and session traffic travels through the Anthropic API over TLS; while connected, the session transcript is stored on Anthropic servers to sync the conversation across devices, as described in `,_jsx(_components.a,{href:`/en/remote-control#connection-and-security`,children:`Connection and security`}),`. No cloud VMs or sandboxing are involved. The connection uses multiple short-lived, narrowly scoped credentials, each limited to a specific purpose and expiring independently, to limit the blast radius of any single compromised credential.`]}),`\n`,_jsx(Heading,{level:`2`,id:`security-best-practices`,children:`Security best practices`}),`\n`,_jsx(Heading,{level:`3`,id:`working-with-sensitive-code`,children:`Working with sensitive code`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Review all suggested changes before approval`}),`\n`,_jsx(_components.li,{children:`Use project-specific permission settings for sensitive repositories`}),`\n`,_jsxs(_components.li,{children:[`For additional isolation, run the whole Claude Code (local mode) process inside the `,_jsx(_components.a,{href:`/en/sandbox-environments#sandbox-runtime`,children:`sandbox runtime`}),` or a `,_jsx(_components.a,{href:`/en/devcontainer`,children:`dev container`})]}),`\n`,_jsxs(_components.li,{children:[`Regularly audit your permission settings with `,_jsx(_components.code,{children:`/permissions`})]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`team-security`,children:`Team security`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Use `,_jsx(_components.a,{href:`/en/settings#where-settings-live`,children:`managed settings`}),` to enforce organizational standards`]}),`\n`,_jsx(_components.li,{children:`Share approved permission configurations through version control`}),`\n`,_jsx(_components.li,{children:`Train team members on security best practices`}),`\n`,_jsxs(_components.li,{children:[`Monitor Claude Code usage through `,_jsx(_components.a,{href:`/en/monitoring-usage`,children:`OpenTelemetry metrics`})]}),`\n`,_jsxs(_components.li,{children:[`Audit or block settings changes during sessions with `,_jsxs(_components.a,{href:`/en/hooks#configchange`,children:[_jsx(_components.code,{children:`ConfigChange`}),` hooks`]})]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`reporting-security-issues`,children:`Reporting security issues`}),`\n`,_jsx(_components.p,{children:`If you discover a security vulnerability in Claude Code:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Do not disclose it publicly`}),`\n`,_jsxs(_components.li,{children:[`Report it through our `,_jsx(_components.a,{href:`https://hackerone.com/4f1f16ba-10d3-4d09-9ecc-c721aad90f24/embedded_submissions/new`,children:`HackerOne program`})]}),`\n`,_jsx(_components.li,{children:`Include detailed reproduction steps`}),`\n`,_jsx(_components.li,{children:`Allow time for us to address the issue before public disclosure`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`related-resources`,children:`Related resources`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/en/security-guidance`,children:`Security guidance plugin`}),`: have Claude review and fix vulnerabilities in its own code changes during the session`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/en/commands#all-commands`,children:_jsx(_components.code,{children:`/security-review`})}),`: run an on-demand security pass over the changes on your current branch`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/en/sandbox-environments`,children:`Sandbox environments`}),`: compare isolation approaches and choose one for your threat model`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/en/sandboxing`,children:`Sandboxing`}),`: filesystem and network isolation for Bash commands`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/en/permissions`,children:`Permissions`}),`: configure permissions and access controls`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/en/monitoring-usage`,children:`Monitoring usage`}),`: track and audit Claude Code activity`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/en/devcontainer`,children:`Development containers`}),`: secure, isolated environments`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://trust.anthropic.com`,children:`Anthropic Trust Center`}),`: security certifications and compliance`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`https://claude.com/blog/ciso-guide-to-agentic-ai`,children:`CISO’s guide to agentic AI`}),`: a security leader’s framework for assessing agentic AI deployments`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Security","description":"Learn about Claude Code's security safeguards and best practices for safe usage.","href":"/en/security"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How we approach security","slug":"how-we-approach-security","depth":2,"children":[{"title":"Security foundation","slug":"security-foundation","depth":3,"children":[]},{"title":"Permission-based architecture","slug":"permission-based-architecture","depth":3,"children":[]},{"title":"Built-in protections","slug":"built-in-protections","depth":3,"children":[]},{"title":"User responsibility","slug":"user-responsibility","depth":3,"children":[]}]},{"title":"Protect against prompt injection","slug":"protect-against-prompt-injection","depth":2,"children":[{"title":"Core protections","slug":"core-protections","depth":3,"children":[]},{"title":"Privacy safeguards","slug":"privacy-safeguards","depth":3,"children":[]},{"title":"Additional safeguards","slug":"additional-safeguards","depth":3,"children":[]}]},{"title":"MCP security","slug":"mcp-security","depth":2,"children":[]},{"title":"IDE security","slug":"ide-security","depth":2,"children":[]},{"title":"Cloud execution security","slug":"cloud-execution-security","depth":2,"children":[]},{"title":"Security best practices","slug":"security-best-practices","depth":2,"children":[{"title":"Working with sensitive code","slug":"working-with-sensitive-code","depth":3,"children":[]},{"title":"Team security","slug":"team-security","depth":3,"children":[]},{"title":"Reporting security issues","slug":"reporting-security-issues","depth":3,"children":[]}]},{"title":"Related resources","slug":"related-resources","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/claude-code/f164a83c5609d421/consent-loader.js","/docs/_mintlify/custom/claude-code/a14b5f5366e4b482/antalytics-loader.js","/docs/_mintlify/custom/claude-code/4cd6fefc4e377e79/toc-collapse.js","/docs/_mintlify/custom/claude-code/f6b3e97e7cbfc8d3/settings-anchor-redirect.js","/docs/_mintlify/custom/claude-code/45be325883f4820b/plugins-anchor-redirect.js","/docs/_mintlify/custom/claude-code/7c53cb088b8331b3/nav-tab-click.js"],"subdomain":"claude-code","siteName":"Claude Code Docs","title":"Security - Claude Code Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/security","matchLevel":0},"fr":{"href":"/fr/security","matchLevel":1},"de":{"href":"/de/security","matchLevel":1},"it":{"href":"/it/security","matchLevel":1},"jp":{"href":"/ja/security","matchLevel":1},"es":{"href":"/es/security","matchLevel":1},"ko":{"href":"/ko/security","matchLevel":1},"zh-CN":{"href":"/zh-CN/security","matchLevel":1},"zh-TW":{"href":"/zh-TW/security","matchLevel":1},"ru":{"href":"/ru/security","matchLevel":1},"id":{"href":"/id/security","matchLevel":1},"pt-BR":{"href":"/pt/security","matchLevel":1}}},"lastModified":"2026-10-30T17:44:30.600Z","originalFileLocation":"en/security.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Learn about Claude Code\u0026#x27;s security safeguards and best practices for safe usage.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Claude Code Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/claude-code/pLsy-mRpNksna2sx/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/claude-code/pLsy-mRpNksna2sx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/claude-code/pLsy-mRpNksna2sx/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/claude-code/pLsy-mRpNksna2sx/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/claude-code/pLsy-mRpNksna2sx/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/claude-code/pLsy-mRpNksna2sx/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/claude-code/pLsy-mRpNksna2sx/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/claude-code/pLsy-mRpNksna2sx/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/claude-code/pLsy-mRpNksna2sx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Security - Claude Code Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Learn about Claude Code\u0026#x27;s security safeguards and best practices for safe usage.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Claude Code Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://code.claude.com/docs/en/security\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://claude-code.mintlify.app/_mintlify/api/og/v2?division=Security+and+data\u0026amp;title=Security\u0026amp;description=Learn+about+Claude+Code%27s+security+safeguards+and+best+practices+for+safe+usage.\u0026amp;theme=8d9812df31da293aba4e8103\u0026amp;signature=93284f05fe4dc46ecfdc726f5812fe73cc40ba6ce2240cb52f35304624225197\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Security - Claude Code Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Learn about Claude Code\u0026#x27;s security safeguards and best practices for safe usage.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://claude-code.mintlify.app/_mintlify/api/og/v2?division=Security+and+data\u0026amp;title=Security\u0026amp;description=Learn+about+Claude+Code%27s+security+safeguards+and+best+practices+for+safe+usage.\u0026amp;theme=8d9812df31da293aba4e8103\u0026amp;signature=93284f05fe4dc46ecfdc726f5812fe73cc40ba6ce2240cb52f35304624225197\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/claude-code/pLsy-mRpNksna2sx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Claude Code Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0E0E0E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://code.claude.com/docs/en/security\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/en/security.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://code.claude.com/docs/en/security\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://code.claude.com/docs/fr/security\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://code.claude.com/docs/de/security\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"it\" href=\"https://code.claude.com/docs/it/security\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://code.claude.com/docs/ja/security\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://code.claude.com/docs/es/security\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://code.claude.com/docs/ko/security\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-CN\" href=\"https://code.claude.com/docs/zh-CN/security\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-TW\" href=\"https://code.claude.com/docs/zh-TW/security\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://code.claude.com/docs/ru/security\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"id\" href=\"https://code.claude.com/docs/id/security\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://code.claude.com/docs/pt/security\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://code.claude.com/docs/en/security\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://code.claude.com/#organization\",\"name\":\"Claude Code Docs\",\"url\":\"https://code.claude.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/claude-code/c5r9_6tjPMzFdDDT/logo/light.svg?fit=max\u0026auto=format\u0026n=c5r9_6tjPMzFdDDT\u0026q=85\u0026s=78fd01ff4f4340295a4f66e2ea54903c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://code.claude.com/docs#website\",\"name\":\"Claude Code Docs\",\"url\":\"https://code.claude.com/docs\",\"publisher\":{\"@id\":\"https://code.claude.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://code.claude.com/docs/en/security#webpage\",\"url\":\"https://code.claude.com/docs/en/security\",\"name\":\"Security\",\"description\":\"Learn about Claude Code's security safeguards and best practices for safe usage.\",\"dateModified\":\"2026-10-30T17:44:30.600Z\",\"isPartOf\":{\"@id\":\"https://code.claude.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://code.claude.com/docs/en/security#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://code.claude.com/docs/en/security#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Claude Code Docs\",\"item\":\"https://code.claude.com/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Security\",\"item\":\"https://code.claude.com/docs/en/security\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://code.claude.com/docs/en/security#article\",\"headline\":\"Security\",\"name\":\"Security\",\"description\":\"Learn about Claude Code's security safeguards and best practices for safe usage.\",\"url\":\"https://code.claude.com/docs/en/security\",\"mainEntityOfPage\":{\"@id\":\"https://code.claude.com/docs/en/security#webpage\"},\"dateModified\":\"2026-10-30T17:44:30.600Z\",\"publisher\":{\"@id\":\"https://code.claude.com/#organization\"},\"isPartOf\":{\"@id\":\"https://code.claude.com/docs#website\"}}]}\u003c/script>","siteName":"Claude Code Docs","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Getting started","menu":[{"item":"Overview","description":"What Claude Code is and how to install it","pages":[{"title":"Overview","href":"/en/overview"}]},{"item":"Quickstart","description":"Install, start a session, make your first change","pages":[{"title":"Quickstart","href":"/en/quickstart"}]},{"item":"Core concepts","description":"How it works, what loads, what it costs","pages":[{"title":"Core concepts","href":"/en/how-claude-code-works"}]},{"item":"Use Claude Code","description":"Memory, sessions, workflows, and prompts","pages":[{"title":"Use Claude Code","href":"/en/memory"}]},{"item":"Platforms and integrations","description":"Terminal, IDEs, desktop, web, and Slack","pages":[{"title":"Platforms and integrations","href":"/en/platforms"}]},{"item":"Code review and pull requests","description":"PR reviews, local review, security, and CI","pages":[{"title":"Code review and pull requests","href":"/en/code-review"}]}],"pages":[{"title":"Getting started","href":"/en/overview"}]},{"tab":"Build with Claude Code","menu":[{"item":"Agents and parallel work","description":"Subagents, agent view, teams, worktrees","pages":[{"title":"Agents and parallel work","href":"/en/agents"}]},{"item":"MCP","description":"Connect your tools and data","pages":[{"title":"MCP","href":"/en/mcp-quickstart"}]},{"item":"Skills","description":"Package workflows Claude can run","pages":[{"title":"Skills","href":"/en/skills"}]},{"item":"Artifacts","description":"Publish a page from a session","pages":[{"title":"Artifacts","href":"/en/artifacts"}]},{"item":"Automation","description":"Hooks, channels, schedules, non-interactive runs","pages":[{"title":"Automation","href":"/en/hooks-guide"}]},{"item":"Guides","description":"Work in large codebases","pages":[{"title":"Guides","href":"/en/large-codebases"}]},{"item":"Troubleshooting","description":"Install, configuration, and error fixes","pages":[{"title":"Troubleshooting","href":"/en/troubleshoot-install"}]}],"pages":[{"title":"Build with Claude Code","href":"/en/agents"}]},{"tab":"Plugins","menu":[{"item":"Plugins","description":"What plugins are and what they add","pages":[{"title":"Plugins","href":"/en/plugins/overview"}]},{"item":"Use plugins","description":"Find plugins and add them","pages":[{"title":"Use plugins","href":"/en/plugins/install"}]},{"item":"Create plugins","description":"Create, test, and publish a plugin","pages":[{"title":"Create plugins","href":"/en/plugins/create"}]},{"item":"Mods","description":"Change the Claude Code interface","pages":[{"title":"Mods","href":"/en/plugins/mods/overview"}]},{"item":"Run a marketplace","description":"Host and share plugins","pages":[{"title":"Run a marketplace","href":"/en/plugins/create-marketplace"}]},{"item":"Manage plugins for your organization","description":"Control plugins across a team","pages":[{"title":"Manage plugins for your organization","href":"/en/plugins/org"}]},{"item":"Troubleshooting","description":"Install and loading problems","pages":[{"title":"Troubleshooting","href":"/en/plugins/troubleshooting"}]},{"item":"Reference","description":"Manifests, CLI, and marketplace schema","pages":[{"title":"Reference","href":"/en/plugins/manifest-reference"}]}],"pages":[{"title":"Plugins","href":"/en/plugins/overview"}]},{"tab":"Administration","menu":[{"item":"Setup and access","description":"Install, sign-in, and managed settings","groups":[{"group":"Setup and access","pages":[{"title":"Set up Claude Code for your organization","sidebarTitle":"Administration overview","href":"/en/admin-setup"},{"sidebarTitle":"Advanced setup","title":"Advanced setup","href":"/en/setup"},{"sidebarTitle":"Authentication","title":"Authentication","href":"/en/authentication"},{"sidebarTitle":"Managed settings","title":"Deploy managed settings","href":"/en/managed-settings"},{"sidebarTitle":"Server-managed settings","title":"Configure server-managed settings","href":"/en/server-managed-settings"},{"sidebarTitle":"Managed MCP configuration","title":"Control MCP server access for your organization","href":"/en/managed-mcp"},{"title":"Configure auto mode","sidebarTitle":"Configure auto mode","href":"/en/auto-mode-config"}]},{"group":"Deployment","pages":[{"title":"Enterprise deployment overview","sidebarTitle":"Overview","href":"/en/third-party-integrations"},{"title":"Feature availability","sidebarTitle":"Feature availability","href":"/en/feature-availability"},{"sidebarTitle":"Amazon Bedrock","title":"Claude Code on Amazon Bedrock","href":"/en/amazon-bedrock"},{"sidebarTitle":"Claude Platform on AWS","title":"Claude Code on Claude Platform on AWS","href":"/en/claude-platform-on-aws"},{"sidebarTitle":"Google Cloud's Agent Platform","title":"Claude Code on Google Cloud's Agent Platform","href":"/en/google-vertex-ai"},{"sidebarTitle":"Microsoft Foundry","title":"Claude Code on Microsoft Foundry","href":"/en/microsoft-foundry"},{"sidebarTitle":"Network configuration","title":"Enterprise network configuration","href":"/en/network-config"},{"title":"Run Claude Code behind a corporate launcher","sidebarTitle":"Corporate launcher","href":"/en/corporate-launcher"},{"title":"Development containers","href":"/en/devcontainer"}]},{"group":"Gateways","pages":[{"sidebarTitle":"Overview","title":"Run Claude Code through a gateway","href":"/en/gateways"},{"group":"Claude apps gateway","root":{"title":"Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry","sidebarTitle":"Claude apps gateway","href":"/en/claude-apps-gateway"},"pages":[{"title":"Claude apps gateway configuration","sidebarTitle":"Configuration","href":"/en/claude-apps-gateway-config"},{"title":"Claude apps gateway spend limits","sidebarTitle":"Spend limits","href":"/en/claude-apps-gateway-spend-limits"},{"title":"Claude apps gateway deployment and operations","sidebarTitle":"Deployment","href":"/en/claude-apps-gateway-deploy"},{"title":"Deploy Claude apps gateway on AWS","sidebarTitle":"Deployment example: AWS","href":"/en/claude-apps-gateway-on-aws"},{"title":"Deploy Claude apps gateway on Google Cloud","sidebarTitle":"Deployment example: Google Cloud","href":"/en/claude-apps-gateway-on-gcp"}]},{"group":"Other gateways","root":{"sidebarTitle":"Overview","title":"Other LLM gateways","href":"/en/llm-gateway"},"pages":[{"sidebarTitle":"Connect to a gateway","title":"Connect Claude Code to an LLM gateway","href":"/en/llm-gateway-connect"},{"sidebarTitle":"Organization rollout","title":"Roll out an LLM gateway for your organization","href":"/en/llm-gateway-rollout"},{"sidebarTitle":"Compatibility guide","title":"Claude Code gateway compatibility guide","href":"/en/llm-gateway-protocol"}]}]},{"group":"Usage and costs","pages":[{"title":"Monitoring","href":"/en/monitoring-usage"},{"sidebarTitle":"Costs","title":"Manage costs effectively","href":"/en/costs"},{"title":"Track team usage with analytics","description":"View Claude Code usage metrics, track adoption, and measure engineering velocity in the analytics dashboard.","href":"/en/analytics"}]},{"group":"Security and data","pages":[{"title":"Security","href":"/en/security"},{"title":"Data usage","description":"Learn about Anthropic's data usage policies for Claude","href":"/en/data-usage"},{"title":"Zero data retention","href":"/en/zero-data-retention"},{"title":"Set up Claude Code (local mode) for a HIPAA-ready organization","sidebarTitle":"HIPAA setup","href":"/en/hipaa-setup"}]},{"group":"Adoption","pages":[{"title":"Communications kit","href":"/en/communications-kit"},{"title":"Champion kit","href":"/en/champion-kit"}]}]},{"item":"Deployment","description":"Cloud providers, network, containers","pages":[{"title":"Deployment","href":"/en/third-party-integrations"}]},{"item":"Gateways","description":"Route requests through a gateway","pages":[{"title":"Gateways","href":"/en/gateways"}]},{"item":"Usage and costs","description":"Monitoring, spend, and analytics","pages":[{"title":"Usage and costs","href":"/en/monitoring-usage"}]},{"item":"Security and data","description":"Security, data use, and retention","pages":[{"title":"Security","href":"/en/security"}]},{"item":"Adoption","description":"Kits for rolling out to a team","pages":[{"title":"Adoption","href":"/en/communications-kit"}]}]},{"tab":"Configuration","menu":[{"item":"Settings","description":"Files, precedence, and keys","pages":[{"title":"Settings","href":"/en/settings"}]},{"item":"Permissions and sandboxing","description":"What Claude Code can do without asking","pages":[{"title":"Permissions and sandboxing","href":"/en/permissions"}]},{"item":"Environments","description":"Cloud and self-hosted environments","pages":[{"title":"Environments","href":"/en/cloud-environments"}]},{"item":"Model and responses","description":"Models, effort, and output styles","pages":[{"title":"Model and responses","href":"/en/model-config"}]},{"item":"Interface","description":"Terminal, keys, voice, and status line","pages":[{"title":"Interface","href":"/en/terminal-config"}]}],"pages":[{"title":"Configuration","href":"/en/settings"}]},{"tab":"Reference","menu":[{"item":"Reference","description":"Commands, flags, tools, hooks, and variables","pages":[{"title":"Reference","href":"/en/cli-reference"}]},{"item":"Glossary","description":"Terms used across the docs","pages":[{"title":"Glossary","href":"/en/glossary"}]}],"pages":[{"title":"Reference","href":"/en/cli-reference"}]},{"tab":"Agent SDK","menu":[{"item":"Agent SDK","description":"Overview, quickstart, and migration","pages":[{"title":"Agent SDK","href":"/en/agent-sdk/overview"}]},{"item":"Build agents","description":"Configuration and examples","pages":[{"title":"Build agents","href":"/en/agent-sdk/configuration"}]},{"item":"Core concepts","description":"The agent loop, features, and sessions","pages":[{"title":"Core concepts","href":"/en/agent-sdk/agent-loop"}]},{"item":"Input and output","description":"Streaming, user input, structured output","pages":[{"title":"Input and output","href":"/en/agent-sdk/streaming-vs-single-mode"}]},{"item":"Extend with tools","description":"Custom tools, MCP, and subagents","pages":[{"title":"Extend with tools","href":"/en/agent-sdk/custom-tools"}]},{"item":"Customize behavior","description":"System prompts, skills, and plugins","pages":[{"title":"Customize behavior","href":"/en/agent-sdk/modifying-system-prompts"}]},{"item":"Control and observability","description":"Permissions, hooks, cost, and tracing","pages":[{"title":"Control and observability","href":"/en/agent-sdk/permissions"}]},{"item":"Deployment","description":"Hosting and secure deployment","pages":[{"title":"Deployment","href":"/en/agent-sdk/hosting"}]},{"item":"SDK references","description":"TypeScript and Python","pages":[{"title":"SDK references","href":"/en/agent-sdk/typescript"}]}],"pages":[{"title":"Agent SDK","href":"/en/agent-sdk/overview"}]},{"tab":"What's New","pages":[{"title":"What's New","href":"/en/whats-new"}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/en/legal-and-compliance"}]}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/security"}]},{"language":"de","pages":[{"title":"de","href":"/de/security"}]},{"language":"it","pages":[{"title":"it","href":"/it/security"}]},{"language":"jp","pages":[{"title":"jp","href":"/ja/security"}]},{"language":"es","pages":[{"title":"es","href":"/es/security"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/security"}]},{"language":"zh-CN","pages":[{"title":"zh-CN","href":"/zh-CN/security"}]},{"language":"zh-TW","pages":[{"title":"zh-TW","href":"/zh-TW/security"}]},{"language":"ru","pages":[{"title":"ru","href":"/ru/security"}]},{"language":"id","pages":[{"title":"id","href":"/id/security"}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt/security"}]}]},"basePath":"","title":"Security - Claude Code Docs","buildId":"dpl_6cCEiK8XNNvaLBBkWzcBhdE9QfLC","deploymentId":"dpl_6cCEiK8XNNvaLBBkWzcBhdE9QfLC","dynamics":[],"chunks":[]}