Source-backed agent that reviews Claude Code's sandboxed Bash configuration for safe boundaries, checking filesystem allow/deny paths, network allowlists, unsandboxed escape hatches, excluded commands, and credential read scope, grounded in the official Claude Code sandboxing docs.
This agent reviews sandbox configuration; it does not disable or weaken the sandbox itself., Flag broad allowWrite paths (PATH dirs, shell config), broad allowedDomains, and excludedCommands that undo isolation., Note that the default read policy can still read credential files like ~/.aws and ~/.ssh unless added to denyRead.
Privacy notes
The sandbox proxy does not inspect TLS, so a broad domain allowlist can enable exfiltration; recommend narrow domains., Recommend denyRead for credential directories and consider scrubbing provider credentials from subprocess environments., allowing the docker socket or broad unix sockets can grant host access; flag such exceptions.
Author
JPette1783
Submitted by
JPette1783
Claim status
unclaimed
Last verified
2026-06-05
Decision playbook
Review trust signals before you adopt
Signals are present but mixed. Use the checklist below to confirm the source and operational safety for your environment.
Compare context
Selected
0
Current score
63
Baseline
—
Delta
No baseline selected
No major trust-signal divergence detected in the current selection.
Source and provenance checks
Needs review
Confirm ownership and provenance before trusting install instructions.
Source link availableRequired
Open the canonical repository and verify ownership.
Done
Source provenance statusRequired
Marked as source-backed.
Done
Metadata reviewed
No reviewed flag detected in metadata.
Pending
Safety and privacy checks
Complete
Validate risk disclosures before installation or API wiring.
Safety notes presentRequired
Review the listed safety guidance before running commands.
Done
Privacy notes presentRequired
Review data handling notes before connecting accounts or secrets.
Done
Trust level risk gateRequired
Trust level does not block evaluation.
Done
Package and install checks
Needs review
Check package metadata and artifact integrity signals.
Install payload available
Install or copy payload is available for review.
Done
Package verification flag
No package verification flag provided.
Pending
Checksum metadata
No checksum provided for downloaded artifact.
Pending
Compare-driven decision checks
Needs review
Use compare context to validate trade-offs before adoption.
Compare tray has multiple entries
Add at least one more entry to compare trust differences.
3 safety and 3 privacy notes across 4 risk areas. Review closely: credentials & tokens, permissions & scopes.
4 areas
SafetyGeneralThis agent reviews sandbox configuration; it does not disable or weaken the sandbox itself.
SafetyLocal filesFlag broad allowWrite paths (PATH dirs, shell config), broad allowedDomains, and excludedCommands that undo isolation.
SafetyCredentials & tokensNote that the default read policy can still read credential files like ~/.aws and ~/.ssh unless added to denyRead.
PrivacyGeneralThe sandbox proxy does not inspect TLS, so a broad domain allowlist can enable exfiltration; recommend narrow domains.
PrivacyCredentials & tokensRecommend denyRead for credential directories and consider scrubbing provider credentials from subprocess environments.
PrivacyPermissions & scopesallowing the docker socket or broad unix sockets can grant host access; flag such exceptions.
Safety notes
This agent reviews sandbox configuration; it does not disable or weaken the sandbox itself.
Flag broad allowWrite paths (PATH dirs, shell config), broad allowedDomains, and excludedCommands that undo isolation.
Note that the default read policy can still read credential files like ~/.aws and ~/.ssh unless added to denyRead.
Privacy notes
The sandbox proxy does not inspect TLS, so a broad domain allowlist can enable exfiltration; recommend narrow domains.
Recommend denyRead for credential directories and consider scrubbing provider credentials from subprocess environments.
allowing the docker socket or broad unix sockets can grant host access; flag such exceptions.
Prerequisites
A Claude Code project with the Bash sandbox enabled, on macOS, Linux, or WSL2.
Access to the sandbox settings (filesystem, network, excludedCommands) across scopes.
Knowledge of which paths and network domains commands legitimately need.
Schema details
Install type
copy
Troubleshooting
No
Full copyable content
## Content
Sandbox Boundary Review Agent is a reusable agent prompt for reviewing Claude
Code's sandboxed Bash configuration so its boundaries are actually safe. It checks
filesystem allow/deny paths, the network allowlist, unsandboxed escape hatches,
excluded commands, and credential read scope, and flags settings that quietly
weaken isolation.
Use it when enabling the Bash sandbox or hardening it for autonomous runs and
managed deployments.
## Agent Prompt
You are a sandbox boundary reviewer for Claude Code's sandboxed Bash tool. Confirm
the filesystem and network boundaries are sound and flag anything that weakens
them. Use the official Claude Code sandboxing documentation as your reference.
Review workflow:
1. Filesystem write. Review `allowWrite` paths. Flag writes to directories with
executables on PATH, system config, or shell config files, which enable
privilege escalation.
2. Filesystem read. Note the default read policy can still read credential
directories; recommend `denyRead` for `~/.aws`, `~/.ssh`, and similar.
3. Network. Review `allowedDomains`. Because the proxy does not inspect TLS, broad
domains can enable exfiltration; recommend the narrowest set.
4. Escape hatches. Check whether unsandboxed retries are allowed and whether
`excludedCommands` removes important tools from the sandbox.
5. Managed lockdown. For organizations, recommend enforcing the sandbox, failing
closed when unavailable, and managed-only read/domain lists.
6. Scope. Remember built-in file tools and computer use are outside the sandbox,
and subagents share the parent sandbox config.
7. Decision. Boundaries sound, tighten, or block autonomous use.
Output contract:
- Boundary summary: filesystem allow/deny, network allowlist, exclusions.
- Findings: privilege-escalation paths, broad domains, weakening exceptions,
credential read exposure.
- Required changes: narrower paths/domains, denyRead for credentials, managed
lockdown.
- Decision and any cautions for unattended runs.
## Features
- Reviews sandbox filesystem allow/deny and network allowlists.
- Flags privilege-escalation write paths and broad domains.
- Checks escape hatches and excluded commands that weaken isolation.
- Recommends managed lockdown and credential-read denials.
## Use Cases
- Harden the Bash sandbox before autonomous or CI runs.
- Review a managed sandbox policy for an organization.
- Catch broad allowWrite or allowedDomains that undermine isolation.
- Deny credential-directory reads the default policy still allows.
## Source Notes
- Claude Code's sandbox restricts filesystem writes to the working directory by
default and controls network access through a proxy and an allowlist with no
domains pre-allowed, enforced via Seatbelt on macOS and bubblewrap on Linux/WSL2.
- The proxy does not inspect TLS, the default read policy still allows credential
directories unless denied, and `excludedCommands` plus unsandboxed retries can
weaken the boundary.
## Duplicate Check
The content tree and open PRs were checked for sandbox, isolation, and boundary
review agents. No sandbox boundary review agent exists. This entry is distinct: it
is an `agents` prompt focused on reviewing Claude Code's sandboxed Bash boundaries.
## Editorial Disclosure
Submitted as an independent community agent entry by `JPette1783`, based on
public Claude Code documentation. No paid placement, referral, or affiliate
relationship.
## Sources
- Claude Code sandboxing documentation: https://code.claude.com/docs/en/sandboxing
- Claude Code skills documentation: https://code.claude.com/docs/en/skills
- Claude Code features overview: https://code.claude.com/docs/en/features-overview
About this resource
Content
Sandbox Boundary Review Agent is a reusable agent prompt for reviewing Claude
Code's sandboxed Bash configuration so its boundaries are actually safe. It checks
filesystem allow/deny paths, the network allowlist, unsandboxed escape hatches,
excluded commands, and credential read scope, and flags settings that quietly
weaken isolation.
Use it when enabling the Bash sandbox or hardening it for autonomous runs and
managed deployments.
Agent Prompt
You are a sandbox boundary reviewer for Claude Code's sandboxed Bash tool. Confirm
the filesystem and network boundaries are sound and flag anything that weakens
them. Use the official Claude Code sandboxing documentation as your reference.
Review workflow:
Filesystem write. Review allowWrite paths. Flag writes to directories with
executables on PATH, system config, or shell config files, which enable
privilege escalation.
Filesystem read. Note the default read policy can still read credential
directories; recommend denyRead for ~/.aws, ~/.ssh, and similar.
Network. Review allowedDomains. Because the proxy does not inspect TLS, broad
domains can enable exfiltration; recommend the narrowest set.
Escape hatches. Check whether unsandboxed retries are allowed and whether
excludedCommands removes important tools from the sandbox.
Managed lockdown. For organizations, recommend enforcing the sandbox, failing
closed when unavailable, and managed-only read/domain lists.
Scope. Remember built-in file tools and computer use are outside the sandbox,
and subagents share the parent sandbox config.
Decision. Boundaries sound, tighten, or block autonomous use.
Required changes: narrower paths/domains, denyRead for credentials, managed
lockdown.
Decision and any cautions for unattended runs.
Features
Reviews sandbox filesystem allow/deny and network allowlists.
Flags privilege-escalation write paths and broad domains.
Checks escape hatches and excluded commands that weaken isolation.
Recommends managed lockdown and credential-read denials.
Use Cases
Harden the Bash sandbox before autonomous or CI runs.
Review a managed sandbox policy for an organization.
Catch broad allowWrite or allowedDomains that undermine isolation.
Deny credential-directory reads the default policy still allows.
Source Notes
Claude Code's sandbox restricts filesystem writes to the working directory by
default and controls network access through a proxy and an allowlist with no
domains pre-allowed, enforced via Seatbelt on macOS and bubblewrap on Linux/WSL2.
The proxy does not inspect TLS, the default read policy still allows credential
directories unless denied, and excludedCommands plus unsandboxed retries can
weaken the boundary.
Duplicate Check
The content tree and open PRs were checked for sandbox, isolation, and boundary
review agents. No sandbox boundary review agent exists. This entry is distinct: it
is an agents prompt focused on reviewing Claude Code's sandboxed Bash boundaries.
Editorial Disclosure
Submitted as an independent community agent entry by JPette1783, based on
public Claude Code documentation. No paid placement, referral, or affiliate
relationship.
Show that Sandbox Boundary Review Agent is listed on HeyClaude. Paste this Markdown into your README — it renders the badge and links back to this page.
[](https://heyclau.de/entry/agents/sandbox-boundary-review-agent)
How it compares
Sandbox Boundary Review Agent side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.
2 trust signals differ across this comparison (Source provenance, Submitter).
Source-backed agent that reviews Claude Code's sandboxed Bash configuration for safe boundaries, checking filesystem allow/deny paths, network allowlists, unsandboxed escape hatches, excluded commands, and credential read scope, grounded in the official Claude Code sandboxing docs.
Define sandbox environment boundaries for Claude Code: managed settings, network egress, filesystem scope, worktree isolation, and when to fail closed.
Enable Claude Code bash sandboxing for autonomous agents: filesystem and network boundaries, auto-allow rules, dependency checks, and fail-closed settings.
✓This agent reviews sandbox configuration; it does not disable or weaken the sandbox itself.
Flag broad allowWrite paths (PATH dirs, shell config), broad allowedDomains, and excludedCommands that undo isolation.
Note that the default read policy can still read credential files like ~/.aws and ~/.ssh unless added to denyRead.
✓Sandboxing reduces blast radius but does not replace human review of diffs.
autoAllowBashIfSandboxed auto-approves some sandboxed commands—pair with deny rules.
Missing dependencies can disable sandbox silently unless fail-closed settings apply.
Network allowlists still permit egress to listed domains—document allowed hosts.
✓Sandbox environments reduce accidental exfiltration and destructive writes but do not replace code review, secret scanning, or MCP tool governance.
Managed allowManagedDomainsOnly and read-path restrictions require complete sandbox blocks—partial managed files can be ignored if sandbox keys are missing.
Background sessions and auto mode can still trigger network permission prompts—align sandbox policy with auto mode hard-deny rules.
✓Sandboxing reduces blast radius but does not eliminate malicious code—review diffs and keep branch protection enabled.
Missing sandbox dependencies previously caused silent disable; use fail-closed settings and verify `/sandbox` status after upgrades.
autoAllowBashIfSandboxed auto-approves some commands—pair with deny rules for destructive patterns.
Privacy notes
✓The sandbox proxy does not inspect TLS, so a broad domain allowlist can enable exfiltration; recommend narrow domains.
Recommend denyRead for credential directories and consider scrubbing provider credentials from subprocess environments.
allowing the docker socket or broad unix sockets can grant host access; flag such exceptions.
✓Sandbox logs and permission prompts may capture command text and paths.
Allowed write paths may include files with secrets—keep credentials out of sandbox scope.
Policy summaries for external auditors should omit internal hostnames when possible.
✓Network allowlists define which third parties may receive tool output or package download metadata.
Filesystem allowlists still expose repository contents to local processes—classify repos before widening read paths.
Worktree isolation guards prevent shared-checkout edits but transcripts may still contain sensitive diffs—follow normal log retention policy.
✓Sandboxed commands still read repository files within allowed paths; do not store secrets in sandbox-writable directories.
Network-allowed domains determine where agent output or tokens might be sent—document allowed egress.
Sandbox logs and permission prompts may capture command text including paths and environment variable names.
Prerequisites
A Claude Code project with the Bash sandbox enabled, on macOS, Linux, or WSL2.
Access to the sandbox settings (filesystem, network, excludedCommands) across scopes.
Knowledge of which paths and network domains commands legitimately need.
Claude Code on macOS, Linux, or WSL with sandbox dependencies installable.
Permission to edit project or managed settings.json sandbox blocks.
Inventory of bash commands agents run in CI and local workflows.
Security stakeholder for production repository policy sign-off.
A team risk model separating read-only exploration from write-capable automation.
Managed settings distribution for Claude Code across developer machines.
Documented data classification for repositories and external APIs agents may call.
Platform coverage plan for macOS, Linux, and WSL sandbox dependencies.
Claude Code on macOS, Linux, or WSL with sandbox dependencies available or installable.
Permission to edit project or managed settings.json sandbox blocks.
Representative build and test commands your agents run in CI.
A rollback plan if sandbox misconfiguration blocks legitimate workflows.