Skip to main content
agentsSource-backed

Sandbox Boundary Review Agent

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.

by JPette1783·added 2026-06-05·
Review first review before installing

Open the source and read safety notes before installing.

Citation facts

Source-backed facts for citing this resource, derived directly from the registry — also available as plain text for AI assistants.

Source URLs
https://code.claude.com/docs/en/sandboxing, https://github.com/JSONbored/awesome-claude/blob/main/content/agents/sandbox-boundary-review-agent.mdx
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.
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.

    Pending
  • Baseline comparison available

    No baseline peer selected yet.

    Pending
  • Diverging trust signals identified

    No major trust-signal divergence found.

    Pending

Setup at a glance

Copy & paste

Copy-ready — paste the snippet to get started.

Adoption plan

Balanced adoption plan

Current risk score 24/100. Use staged verification before broader rollout.

Risk 24

Pre-adoption checks

Validate source and review signals before any execution.

  • Confirm source provenanceRequired

    Source URL/provenance metadata is present.

    Done
  • Confirm metadata review state

    No review metadata found; increase manual validation.

    Pending
  • Verify install payload

    Install/config payload exists and can be inspected.

    Done

Security checks

Confirm safety, privacy, and package integrity signals.

  • Review safety notesRequired

    Safety notes are present.

    Done
  • Review privacy notesRequired

    Privacy notes are present.

    Done
  • Verify package integrity metadata

    No package verification/checksum metadata.

    Pending

Rollout

Adopt in controlled steps based on the selected plan.

  • Run in isolated sandbox firstRequired

    Use a constrained sandbox and observe behavior across multiple tasks.

    Pending
  • Roll out graduallyRequired

    Roll out to a small cohort before wider usage.

    Pending
  • Set monitoring and fallback

    Define rollback path and monitor errors after adoption.

    Pending

Evidence readiness

Evidence readiness matrix · balanced

Missing required evidence: Metadata review. Risk score 31.

Risk 31

Source provenance

Present

Source repository/provenance is listed.

Required in this preset

Metadata review

Missing

Review metadata is missing.

Required in this preset

Safety notes

Present

Safety notes are present.

Required in this preset

Privacy notes

Present

Privacy notes are present.

Optional in this preset

Package integrity

Missing

Package integrity metadata is missing.

Optional in this preset

Install payload

Present

Install payload is available.

Required in this preset

Required gaps: Metadata review

Decision timeline

Decision timeline · balanced

Blocking gaps: Check metadata review status. Risk 28.

Risk 28

triage

Confirm source provenanceRequired

Source/provenance metadata is available.

Done

triage

Check metadata review statusRequired

Review metadata is missing.

Pending

verify

Review safety notesRequired

Safety notes are available.

Done

verify

Review privacy notes

Privacy notes are available.

Done

verify

Validate package integrity metadata

Package integrity metadata is missing.

Pending

rollout

Verify install payload and commandsRequired

Install payload is available.

Done

Blockers: Check metadata review status

Prerequisite readiness

Prerequisite readiness

3 prerequisites to line up before setup.

0/3 ready
Permissions & scopes1Network & hosting1General1

Safety & privacy surface

Safety & privacy surface

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:

  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

Source citations

Add this badge to your README

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.

Listed on HeyClaude
[![Listed on HeyClaude](https://heyclau.de/badge/agents/sandbox-boundary-review-agent.svg)](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).

Field

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.

Open dossier

Expert Claude Code sandboxed bash policy capability pack applying documented /sandbox enablement, filesystem and network boundaries, autoAllowBashIfSandboxed review, and fail-closed settings for autonomous shell workflows.

Open dossier

Define sandbox environment boundaries for Claude Code: managed settings, network egress, filesystem scope, worktree isolation, and when to fail closed.

Open dossier

Enable Claude Code bash sandboxing for autonomous agents: filesystem and network boundaries, auto-allow rules, dependency checks, and fail-closed settings.

Open dossier
Next steps
Trust
Review statusNot reviewedNot reviewedNot reviewedNot reviewed
Package trustPackage not verifiedPackage not verifiedPackage not verifiedPackage not verified
Source provenanceDiffersSource-backedSubmission linkedSource submissionSubmission linkedSource submissionSubmission linkedSource submission
SubmitterDiffersJPette1783kiannidevkiannidevkiannidev
Install riskReview firstReview firstReview firstReview first
Notes Safety ✓ Privacy ✓ Safety ✓ Privacy ✓ Safety ✓ Privacy ✓ Safety ✓ Privacy ✓
Brand
Categoryagentsskillsguidesguides
SourceSource-backedSource-backedSource-backedSource-backed
AuthorJPette1783kiannidevkiannidevkiannidev
Added2026-06-052026-06-162026-06-132026-06-13
Platforms
Harness
Source repo
Safety notesThis 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 notesThe 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.
Install
Config
Citations
ClaimUnclaimedUnclaimedUnclaimedUnclaimed
Open 4 picks in the interactive comparison tool

Related guides

Signals

Loading live community signals…

More like this, weekly

A short, calm digest of reviewed Claude resources. Unsubscribe any time.