Introducing Sandprobe: Find the gaps in your sandbox

Introducing Sandprobe: Find the gaps in your sandbox

Like lots of software companies, we run coding agents in sandboxes.

When we asked what a hijacked agent could reach, we didn’t know - so we wrote a script to check from inside the box, as the agent.

Our initial check found API keys in the environment, readable credentials in the home folder and writable shell startup files. Our domain allowlist still let DNS traffic out.

We consolidated the checks into Sandprobe, a free, open-source tool for testing your agent’s sandbox, available today.

See what your agent can reach

Sandprobe runs 28 checks in about a minute. It tests whether an agent can reach secrets, send data out, access the host, gain privileges, reach cloud services or leave changes behind.

The report shows what it found, what it couldn’t prove and how to fix each problem. A check passes only when access is refused and a matching allowed action works; otherwise, incomplete evidence is marked unproven.

Sandprobe tests whether it can open credential files without reading them, reports environment variable names without their values and cleans up after itself.

Test a new or running sandbox with built-in support for Docker, Kubernetes and hosted providers. For other boxes you can open a shell in, use sandprobe run exec.

Find and fix sandbox gaps

The score covers six categories, with a point for each category without a problem. Our demo Docker box scores 1/6: its API key, .env file, Docker socket and startup files are all accessible to the agent.

Check

Finding

Fix

Secret-like environment variables

Found ANTHROPIC_API_KEY (name only)

Keep keys outside the box; inject them through a proxy

Credential files

Could open booking-app/.env

Remove credentials from the image and home folder

DNS and HTTPS traffic

Tagged messages reached our test server

Block outbound traffic except to required hosts

Docker socket

Could connect to /var/run/docker.sock

Don’t mount runtime sockets into the sandbox

Shell startup files

Could write ~/.bashrc, ~/.profile and ~/.zshrc

Make them read-only or reset them between sessions

Give the report to your coding agent and approve the fixes you want. Run Sandprobe again and use sandprobe compare to check the result. Keep the fixes in your image or setup script, then add a minimum score to CI.

On two hosted sandboxes, a coding agent raised the score from 0 to 4 in about 30 minutes. Running as a normal user and restricting the network did most of the work.

Test your sandbox in minutes

Paste this into Claude Code, Codex or your coding agent:

Run curl -fsSL <https://sandprobe.sh/agents.md> and follow it to install Sandprobe.
Run curl -fsSL <https://sandprobe.sh/agents.md> and follow it to install Sandprobe.
Run curl -fsSL <https://sandprobe.sh/agents.md> and follow it to install Sandprobe.
Run curl -fsSL <https://sandprobe.sh/agents.md> and follow it to install Sandprobe.

Or install it in your terminal:

curl -fsSL <https://sandprobe.sh/install.sh> | sh
curl -fsSL <https://sandprobe.sh/install.sh> | sh
curl -fsSL <https://sandprobe.sh/install.sh> | sh
curl -fsSL <https://sandprobe.sh/install.sh> | sh

Start with a disposable copy of your sandbox. Fix one finding, then run it again. Sandprobe needs no account or API key and runs on macOS, Linux and Windows with WSL 2.

Try it and see a sample report at sandprobe.sh. The source is on GitHub; if a result looks wrong, please open an issue.

Stop guessing. Start improving.

The AI analyst that turns data into dollars.

Trust

© 2026 Summation Technologies, Inc.