Dokumentationerreichbar
Anthropic, Security
code.claude.com (externe Seite)
Die Sicherheitsseite der Herstellerdokumentation. Sie beschreibt, was Claude Code im manuellen Modus von sich aus zurückhält: Es fragt, bevor es Dateien ändert oder Befehle ausführt, die das System verändern, und bevor seine Dateiwerkzeuge Pfade außerhalb des Startordners lesen oder schreiben. Wie sich der Auto-Modus beim Lesen fremder Pfade verhält, stand bis September 2026 hier, seither beschreibt das die Quelle "Anthropic, Choose a permission mode: The first read outside the working directories". Dazu zwei Einschränkungen, die diese Seite offenlegt: Eine Allowlist-Regel für einen Teil eines Befehls hebt die Rückfrage bei einem Shell-Befehl nicht auf, den Claude Code nicht vollständig analysieren kann, und im nicht-interaktiven Lauf mit dem Schalter für einen einzelnen Auftrag entfallen die Vertrauensabfrage für ein fremdes Verzeichnis und die Freigabe der Server aus der .mcp.json ganz.
geprüft 10.11.2026
Worauf sich diese Seite beruft, wörtlich, abgerufen am 03.10.2026:
Claude Code starts with read-only permissions.
bestätigt 10.11.2026In Manual mode, Claude Code asks you before its file tools read or write outside the folder where it was started and its subfolders.
bestätigt 10.11.2026You're responsible for reviewing proposed code and commands for safety before approval.
bestätigt 10.11.2026In an interactive session, Claude Code shows the workspace trust dialog when you start it in a folder you haven't trusted.
bestätigt 10.11.2026A -p session shows neither prompt.
bestätigt 10.11.2026In Manual mode, Claude Code asks before running a Bash command it can't fully analyze.
bestätigt 10.11.2026In Manual mode, unmatched commands require approval by default
bestätigt 10.11.2026While these protections significantly reduce risk, no system is completely immune to all attacks.
bestätigt 10.11.2026The boundary is a permission prompt, so a Bash command you approve can still write anywhere your user account can
bestätigt 10.11.2026When 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.
bestätigt 10.11.2026Start Claude Code from a project subdirectory instead, where trust acceptance is saved per directory
bestätigt 10.11.2026Avoid piping untrusted content directly to Claude
bestätigt 10.11.2026Your explicit ask and deny rules still apply
bestätigt 10.11.2026Regularly audit your permission settings with /
bestätigt 10.11.2026permissions
02 Die Werkzeuge08 Berechtigungen und Rechtemodi12 Rechner und Netz pflegen