{"version":"2.1.326","anchor":"sandbox-scrub-moves-aside-planted-links-in-git-folders","canonical_anchor":"sandbox-scrub-moves-aside-planted-links-in-git-folders","heading":"Sandboxed commands can no longer plant links inside .git folders","tier":"notice","area":"Sandbox","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/sandbox-scrub-moves-aside-planted-links-in-git-folders","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Sandboxed commands can no longer plant links inside .git folders\n\nAfter a sandboxed command, new links and stray ref files in a .git folder are renamed so git outside the sandbox ignores them\n\n**Unclear.** It is not clear which sandbox mode or setting turns this check on.\n\n**What**\n\nThe sandbox is a restricted space where Claude Code runs commands so they cannot reach the rest of your computer. After a sandboxed command finishes, Claude Code now looks in git's `.git` folder for anything new of these kinds:\n\n- symbolic links, files that point to another location\n\n- junctions, the Windows form of a folder link\n\n- ref files placed outside the folder where git normally keeps branch and tag references\n\nEach one is renamed to a quarantine name, so that git running outside the sandbox does not follow them. Claude Code tells the model how many it set aside and not to rename them back.\n\n**Why**\n\nThis closes a way for a command in the sandbox to escape it, by planting git settings, git hooks (scripts git runs automatically) or references that git outside the sandbox would then use.\n\n- Area: Sandbox\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: yes"}