Read-only probe that grades what a hijacked AI agent could reach from its sandbox
- Language
- Go
- License
- MIT
- Try it
curl -fsSL https://sandprobe.sh/install.sh | sh
Sandprobe is a new open-source tool that answers one question about an AI agent's sandbox: if the agent were hijacked, what could it reach? A small, read-only probe runs inside the box as the agent's own user. It checks for readable secrets, ways to get data out, places to persist across a reset, and "amplifiers" such as sudo, Linux capabilities and control sockets. The project says this takes about a minute. The host then grades the box out of six and writes a JSON report and an HTML page. The project is from a company called Summation and is MIT-licensed. It was the seventh-ranked Show HN post on Hacker News on Dec. 2, according to Trendoday's daily list.
Why it matters: coding agents increasingly run unattended in containers and hosted sandboxes, and a prompt-injected agent can do only as much harm as its box allows. Teams usually find out what a box allows by reading config files. Sandprobe tests it from inside, the way an attacker would.
What it checks
| Area | Checks | Examples from the README |
|---|---|---|
| Secrets | SEC-1 to SEC-5 | Secret-looking variable names, other processes' environments and memory, credential files, cloud metadata credentials |
| Ways out | EGR-1 to EGR-6 | DNS to the canary's name server, HTTPS direct or via a proxy, other ports, TLS interception |
| Persistence | PER-1 to PER-5 | Writable startup, PATH, schedule and access files; storage that survives the provider's reset |
| Amplifiers | AMP-1 to AMP-8 | Passwordless sudo, root or capabilities, setuid files, control sockets, local daemons, vsock, the Kubernetes API, kernel settings |
The score covers six categories: Secrets, Exfiltration, Containment, Privilege, Cloud access and Persistence.
The project's main rule is "no false passes." A check passes only on a negative proof, for example a refused connection next to an allowed one. Anything that failed quietly is reported as "unknown," and a category with no conclusive check reads "Green · not proven." Egress counts only when a separate canary server logs a random code from this run, and the host gets that receipt from the canary directly, never through the box. The probe never reads a secret's value.
The specification is also frank about its limits. It covers faults, misconfiguration and wrappers, not a box built to deceive the probe. Reading back a saved report checks only its structure and can't detect an edited one.
Where it runs
run exec works with anything you can open a shell in, such as docker exec, kubectl exec or ssh. There are also native adapters that create, probe and delete a throwaway box. The README lists local Docker, Kubernetes, E2B, Daytona, Vercel Sandbox, Cloudflare Sandbox, Fly Sprites and AWS Nitro on EKS as "stable target." Baseten, Modal, Docker Sandboxes and GKE Agent Sandbox are listed as beta. The README says that status is still being validated. It also tells users to read their provider's terms first, since some require consent for security testing.
A bundled demo builds three Docker boxes from a "vibe-coded" booking app with fake keys. The open box scores 1/6, the locked-down one 6/6, and a "regressed" one with a .env committed again 5/6. sandprobe compare flags that regression and exits with an error, so a CI job fails. A sandprobe fix command turns a report into ordered changes to try, and version 0.3.9 adds a GitHub Action for CI.
The README is candid about what 6/6 means on Docker. It reaches that in five rounds, but the box then has no network at all, so the agent can't call its model API either. No egress setting short of that is proven.
What leaves your machine
Except for run docker, which starts its own local canary, runs use a hosted canary run by Summation by default. The README says it holds the box's public address only for the run, at most 30 minutes, and the host machine's address in a rate counter for at most an hour, in memory with no access log. You can run your own canary or switch it off with -no-canary, which leaves exfiltration untested. Reports aren't uploaded and there is no telemetry, the README says.
The repo, by the numbers
From our clone of the repository on Dec. 3:
- First commit Nov. 21, 2026; 420 commits; releases from v0.2.1 (Nov. 21) to v0.3.9 (Dec. 1, Pacific time).
- Commit authors: "RC" (286), plus 134 under the names "Prakash" and "Prakash Kandavel".
- About 74,000 lines of Go, tests included. Building from source needs Go 1.25.
- Each release ships checksums and GitHub build attestations, and the README gives the exact
gh attestation verifycommand.
We read the code and docs but did not build or run Sandprobe, so the demo scores above are the project's, not ours. We could not load sandprobe.sh or the Hacker News thread this run.
Who should try it
Teams running coding agents in containers or hosted sandboxes, and anyone who has to sign off on an agent platform's isolation. Start with the Docker demo, then point run exec at a staging box rather than production. Caveats: it is 0.x software from a young project with two main authors, and the default hosted canary means trusting Summation's service unless you deploy your own.