Evidence record / claude-code
A dated record of one change, kept so the writing that cites it can be checked. Compiled from the sources listed below by the research run, not written for reading. The judgment lives in the issues that cite it, below.
2026-10-24-claude-code-latest-closes-more-sandbox-escape-paths-and-shell-edits-lose-a-rewind-shortcut
Latest closes more sandbox escape paths, and shell edits lose a rewind shortcut. Version 299 protects --plugin-dir code from sandboxed writes before its unsandboxed reload and repairs macOS denied-path symlink resolution and allow-glob root rechecking. Version 309 stops shell startup files running outside the sandbox before each command, protects --mcp-config from sandboxed commands and auto-accepted edits, repairs symlinked denyWrite globs, and keeps Linux denials on background commands. Additional shell/worktree checks cover redirections, wrapped git commands, locale prefixes and zsh arithmetic. Separately, 309 runs sed -i as an ordinary Bash command, whose edits are no longer restored by /rewind.
Channel: tagged-release. Half: defect. Date: 2026-10-22.
Operator consequence: Test 310 where sandbox containment is part of the deployment contract; selecting stable currently misses the 309 repairs. Exercise symlink destinations, shell startup and the exact MCP/plugin config paths. Keep a real diff or version-control recovery route for shell edits. A worktree separates files, and a classifier judges tool calls; neither substitutes for an OS boundary around code that must not escape.
Receipt
Finding metadata
Run: 2026-10-24-weekly-digest-2026-10-13_2026-10-24-frontier-v0
Finding ID: 2026-10-24-claude-code-latest-closes-more-sandbox-escape-paths-and-shell-edits-lose-a-rewind-shortcut
Profile citations
- Claude Code / claim / sandbox-and-shell-recovery
- Claude Code / posture / governance
Source links
Primary links, including exact changelog lines when available.
- github release2026-10-24-claude-code-latest-closes-more-sandbox-escape-paths-and-shell-edits-lose-a-rewind-shortcutanthropics/claude-code / v2.1.299tagged commit file2026-10-24-claude-code-latest-closes-more-sandbox-escape-paths-and-shell-edits-lose-a-rewind-shortcutanthropics/claude-code / CHANGELOG.md#L32-L89official docs2026-10-24-claude-code-latest-closes-more-sandbox-escape-paths-and-shell-edits-lose-a-rewind-shortcutweb.archive.org/web/20261023145040/https://code.claude.com/docs/en/sandboxing
Versioned source: run artifact