{
  "query": "claude code sandbox",
  "tools": [],
  "concepts": [],
  "notes": [
    {
      "slug": "claude-code-sandbox-secrets-access-boundaries",
      "title": "Claude Code Sandbox: Can It Still Read Your Secrets?",
      "summary": "The Claude Code sandbox covers shell commands; the Read tool, inherited variables, hooks and MCP follow other controls. Tested on Claude Code 2.1.318 with dummy canaries: what denyRead, Read deny rules and credential entries actually blocked.",
      "url": "https://starkslab.com/notes/claude-code-sandbox-secrets-access-boundaries",
      "markdownUrl": "https://starkslab.com/notes/claude-code-sandbox-secrets-access-boundaries.md",
      "apiUrl": "https://starkslab.com/api/v1/notes/claude-code-sandbox-secrets-access-boundaries",
      "published": "2026-11-15",
      "updated": "2026-11-24",
      "format": "guide",
      "evidence": {
        "label": "tested",
        "versions": [
          {
            "name": "Claude Code (shell, Read tool and hook routes exercised)",
            "version": "2.1.318"
          },
          {
            "name": "bubblewrap",
            "version": "0.9.0"
          },
          {
            "name": "socat",
            "version": "1.8.0.0"
          },
          {
            "name": "Ubuntu",
            "version": "24.04.5 LTS"
          },
          {
            "name": "@anthropic-ai/sandbox-runtime (5 Nov shell probes)",
            "version": "0.0.81"
          },
          {
            "name": "Codex",
            "version": "Not run; documentation retained 2026-10-29"
          }
        ],
        "verifiedAt": "2026-11-06"
      },
      "tools": [
        "claude-code",
        "codex"
      ],
      "concepts": [
        "agent-sandboxing",
        "secrets-management",
        "mcp"
      ]
    }
  ]
}
