What is sandbox?
sandbox is a Claude Code mod by bendrucker that refuse a sandbox bypass whose commands already escape through sandbox.excludedCommands, naming the form that escapes without the flag. It is listed under Security and has 18 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | bendrucker |
| Repository | bendrucker/claude |
| Popularity | 18 GitHub stars |
| Category | Security |
| Security | Low risk (96/100) |
| Rank | #561 of 9,397 Claude Code mods; #72 in Security |
| License | MIT |
| Last commit | 2026-12-01 |
| Hooks | 2 events |
| Sees | Bash calls |
| Draws on | nothing |
Is sandbox safe to install?
sandbox scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 7 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.modEvents.emit | |
$.session.cwd | |
$.settings.read | reads settings |
How do I install sandbox?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/bendrucker/claude claude plugin validate ./claude/plugins/sandbox
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add bendrucker/claude && claude plugin install sandbox@bendrucker
Or ask Claude to set it up
Paste this into Claude Code and it installs sandbox for you:
Install the "sandbox" Claude Code mod from https://github.com/bendrucker/claude/tree/main/plugins/sandbox. Run claude plugin validate on it first and show me what it can access before you enable it.
More from bendrucker/claude
This repository has at least 9 Claude Code mods on MCPMods.
- github: GitHub Actions monitoring and pull request tooling (Low risk)
- gitlab: GitLab workflow best practices and glab CLI usage (Low risk)
- herdr: Drive the herdr terminal workspace manager: panes, tabs, workspaces, and sibling coding agents (Review before installing)
- load: Pace Claude's heavy work to the machine it runs on, with configurable hard caps (Low risk)
- mod-events: Structured event log for mods: `$.modEvents.emit` writes per-session OTel log records as JSONL (Review before installing)
- plan: Planning mode guidelines and context injection (Low risk)
- run-command: Pick a reply's `! ` suggestion by click or digit to fill it into the shell prompt (Low risk)
- session-config: Shows the session model, and off-default effort, in the prompt footer (Low risk)