Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v1.0.114 Home All releases olderv1.0.113 v1.0.115newer
Claude Code v1.0.114

Filesystem Sandboxing for macOS

What: Fine-grained filesystem access controls using macOS sandbox-exec, allowing you to restrict which files and directories bash commands can read or write.

How to use: Configure in .claude/settings.json:

{
  "sandbox": {
    "filesystem": {
      "read": {
        "allow": ["~/projects/*", "~/data"],
        "deny": ["/etc/passwd"]
      },
      "write": {
        "allow": ["~/projects/output/*"],
        "deny": ["~/projects/output/protected"]
      }
    }
  }
}

Details:

  • Complements existing network sandboxing (v1.0.113 only had network restrictions)
  • Read allow-list mode denies all reads except specified paths
  • Write deny-list blocks specific paths while allowing essential system paths
  • Automatically allows stdout/stderr, temp directories, and Claude config paths
  • Supports path expansion (~, ./, ../) and wildcards (/* suffix only)
  • Path validation prevents shell metacharacters (&&, ||, ;, backticks, $)
  • Evidence: QBB() at line 374281, y41() at line 353864

See this entry in the whole of v1.0.114 →