Claude Code file-write boundaries depend on the host version
Record the Claude Code host version and permitted filesystem boundaries together.
Read in JapaneseWhen a user permits edits inside a workspace, that restriction must hold when the change is actually written. Anthropic reported on October 26 that under specific macOS conditions, Claude Code’s Edit tool could write to a user-writable file outside the workspace. The scenario required the ability to run untrusted code inside the sandbox. Anthropic · GHSA-5xjx-9qx6-jcrv
The fix shipped in Claude Code 2.1.251. Check the running host version on managed machines where updates may be pinned. For a file integration, keep the host version, permitted directories and execution identity alongside the integration’s own version.
Start with a test copy when the task involves customer documents or credential files. Check the operating-system permissions of the account running the agent to identify other storage locations it can write to.
