Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/florianbruniaux/claude-code-plugins/sandbox-statusgit clone --depth 1 https://github.com/FlorianBruniaux/claude-code-pluginsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/florianbruniaux/claude-code-plugins/sandbox-status)<a href="https://agentmods.dev/commands/florianbruniaux/claude-code-plugins/sandbox-status"><img src="https://agentmods.dev/badge/commands/florianbruniaux/claude-code-plugins/sandbox-status.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00013 | $0.01401 |
| Opus 5 | $0.00006 | $0.00700 |
| Sonnet 5 | $0.00003 | $0.00280 |
| Haiku 4.5 | $0.00001 | $0.00140 |
Grade C, and why
sandbox-status scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
echo " Install: sudo apt-get install bubblewrap socat" Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
elif [ -f ~/.claude/settings.json ]; then How it starts
The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sandbox Status Command
Inspect the native Claude Code sandbox state, active configuration, and security events.
Usage
/sandbox-status
What It Does
-
Check sandbox availability
- Verify OS primitives installed (bubblewrap on Linux, Seatbelt on macOS)
- Display platform support status
-
Show active configuration
- Sandbox mode (Auto-allow vs Regular permissions)
- Filesystem policies (allowed writes, denied reads)
- Network policies (domain allowlist/denylist)
- Excluded commands
-
List recent sandbox violations
- Blocked filesystem access attempts
- Blocked network connections
- Escape hatch invocations (
dangerouslyDisableSandbox)
Implementation
#!/bin/bash
echo "=== Native Sandbox Status ==="
echo
# 1. Platform Check
echo "Platform:"
case "$OSTYPE" in
darwin*)
echo " ✅ macOS (Seatbelt built-in)"
;;
linux*)
if which bubblewrap >/dev/null 2>&1; then
echo " ✅ Linux (bubblewrap installed)"
bubblewrap --version 2>/dev/null | head -1
else
echo " ❌ Linux (bubblewrap NOT installed)"
echo " Install: sudo apt-get install bubblewrap socat"
fi
if which socat >/dev/null 2>&1; then
echo " ✅ socat installed"
else
echo " ❌ socat NOT installed"
fi
;;
*)
echo " ❌ Unsupported platform: $OSTYPE"
;;
esac
echo
# 2. Configuration
echo "Configuration (from settings.json):"
if [ -f .claude/settings.json ]; then
CONFIG=".claude/settings.json"
elif [ -f ~/.claude/settings.json ]; then
CONFIG="~/.claude/settings.json"
else
echo " ⚠️ No settings.json found"
CONFIG=""
fi
if [ -n "$CONFIG" ]; then
echo " Source: $CONFIG"
# Auto-allow mode
AUTO_ALLOW=$(jq -r '.sandbox.autoAllowMode // "not set"' "$CONFIG" 2>/dev/null)
echo " Auto-allow: $AUTO_ALLOW"
# Allowed write paths
WRITE_PATHS=$(jq -r '.sandbox.filesystem.allowedWritePaths[]? // empty' "$CONFIG" 2>/dev/null | tr '\n' ', ')
echo " Allowed writes: ${WRITE_PATHS:-not set}"
# Denied read paths
DENIED_READS=$(jq -r '.sandbox.filesystem.deniedReadPaths[]? // empty' "$CONFIG" 2>/dev/null | tr '\n' ', ')
echo " Denied reads: ${DENIED_READS:-not set}"
# Network policy
NET_POLICY=$(jq -r '.sandbox.network.policy // "not set"' "$CONFIG" 2>/dev/null)
echo " Network policy: $NET_POLICY"
# Allowed domains
DOMAINS=$(jq -r '.sandbox.network.allowedDomains[]? // empty' "$CONFIG" 2>/dev/null | head -3 | tr '\n' ', ')
DOMAINS_COUNT=$(jq -r '.sandbox.network.allowedDomains | length' "$CONFIG" 2>/dev/null)
if [ -n "$DOMAINS" ]; then
echo " Allowed domains: $DOMAINS... ($DOMAINS_COUNT total)"
else
echo " Allowed domains: not set"
fi
# Excluded commands
EXCLUDED=$(jq -r '.sandbox.excludedCommands[]? // empty' "$CONFIG" 2>/dev/null | tr '\n' ', ')
echo " Excluded commands: ${EXCLUDED:-not set}"
fi
echo
# 3. Recent Violations (placeholder - actual implementation would read Claude Code logs)
echo "Recent sandbox violations:"
echo " ℹ️ Log inspection not yet implemented"
echo " Tip: Check Claude Code session logs for sandbox violation notifications"
echo
# 4. Open-Source Runtime
echo "Open-Source Runtime:"
if which npx >/dev/null 2>&1; then
echo " ✅ npx available - can use @anthropic-ai/sandbox-runtime"
echo " Usage: npx @anthropic-ai/sandbox-runtime <command>"
else
echo " ⚠️ npx not found (install Node.js)"
fi
echo
# 5. Documentation
echo "Documentation:"
echo " Guide: guide/sandbox-native.md"
echo " Official: https://code.claude.com/docs/en/sandboxing"
echo " Runtime: https://github.com/anthropic-experimental/sandbox-runtime"
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today First seen · 178 lines · 13 tokens per session scan C 49b1c0788dee
sandbox-status is a command published in the GitHub repository FlorianBruniaux/claude-code-plugins (40 stars, last pushed 3d ago), licensed MIT. It adds 13 tokens to every session and 1,401 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (asks for root, reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.
Other commands, from other repositories
aso
App Store Optimization command. iOS app listing analysis via the iTunes API, keyword optimization, and competitor comparison.
changelog
Automatic changelog generation. Produces a structured changelog from commit history.
competitive-intel
Competitive analysis command. Analyzes the market, competitors, and opportunities with a comprehensive competitive-intelligence framework.
content-generate
Social media content generation command. Produces ready-to-use posts, captions, visual briefs, and hashtags for the given platform and type.
api-doc
API documentation generation. Scans route definitions and produces structured API docs.
audit
Quality audit command. Runs a systematic audit over code, structure, or process.