{"version":"2.1.327","anchor":"remote-session-tool-output-gains-a-keptinsandboxbycheck-fi","canonical_anchor":"remote-session-tool-output-gains-a-keptinsandboxbycheck-fi","heading":"Bash results can say a command stayed sandboxed only because of its permission check","tier":"internal","area":"Sandbox","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/remote-session-tool-output-gains-a-keptinsandboxbycheck-fi","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Bash results can say a command stayed sandboxed only because of its permission check\n\nBash tool results gain an optional field marking commands kept in the sandbox only because their permission check relied on it\n\n**What**\n\nThe sandbox is a restricted space Claude Code can run commands in. Your settings can exempt some commands from it. The results of the Bash tool, which Claude uses to run shell commands, gain an optional true\/false field, `keptInSandboxByCheck`. It is true when a command ran in the sandbox only because its permission check relied on the sandbox, even though your settings would otherwise have exempted it.\n\n**Why**\n\nSome commands your settings exempt may now still run sandboxed, and this field shows when that happened.\n\n- Area: Sandbox\n- Names: `keptInSandboxByCheck`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}