Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.309 ·

macOS sandbox deny rules with wildcards can follow the real path

On macOS, sandbox deny rules that use wildcards can now also be applied to the real path behind a symlink

You'll notice Improvements
JSON All of v2.1.309
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SandboxArea: what it touches
ImprovementsKind: in v2.1.309,
ImprovementsSection of the release

Unclear It is not clear when the option that turns this on is set, so it may not apply to every wildcard deny rule.

What

The sandbox is the walled-off area that limits which files Claude Code's commands can reach. A deny rule blocks a path. On macOS, a path can be a symlink (a shortcut) to a real path somewhere else, and Claude Code adds a matching rule for that real path.

This used to skip any rule containing a wildcard such as *, ? or [. Now, when a new option is set and the rule is one you wrote, Claude Code resolves the part of the path before the wildcard and adds the wildcard back on the end.

Why

Wildcard deny rules can now be enforced on both the shortcut and the real path, closing a way around them.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear when the option that turns this on is set, so it may not apply to every wildcard deny rule.

See this entry in the whole of v2.1.309 →

Feedback