Containment first: running an agent's generated code in a box you can measure

Lu guowei

View profile

Most agent demos ask what the model can build. This one asks what happens when the model builds something hostile, and answers with the kernel's own error messages.

Blast Radius Zero takes a task in plain English, plans it, writes a Python program, runs it in a fresh container, and returns an answer checked against the bytes the box produced. Nothing is mocked. The same path doubles as a containment lab: seven adversarial programs run on demand — filesystem tampering, a fork bomb, an infinite loop, network egress, credential hunting, a memory bomb and a disk-filling write. Each records what the kernel said: EROFS on the read-only root, a socket failure with no route, an OOM kill near 192 MB, BlockingIOError at 62 children against a PID cap of 64, File too large at 32 MB, a watchdog kill at ~10.16 s against a 10 s budget. The suite reports 7/7 blocked on the deployed instance and locally, and CI re-runs it on every push, failing the build if any probe escapes.

The deployment is small on purpose: control plane and sandbox share one vc2-1c-1gb Vultr instance in Seoul. gVisor (runsc) is the sandbox runtime, so the workload meets a user-space kernel and the host kernel sees only the sentry's syscall set. Planner and verifier both call Vultr Serverless Inference (glm-5.3); the key stays in the control plane's memory and never enters the container, which is why one probe finds only base-image metadata in the sandbox environment.

What it demonstrates: containment claims can be executable and re-run by anyone; one step can be bounded in memory, CPU, PIDs, wall clock, file size and output at once; and the ledger holds raw evidence beside the claim it supports.

What it deliberately does not claim: that the sandbox resists kernel exploits (it tests behaviour, not exploits); that gVisor makes escape impossible rather than reducing exposure; that the verifier proves an answer true rather than flagging unsupported claims; that the Docker socket boundary is safe — the control plane holds the socket, which is root-equivalent, so these guarantees hold for the agent's code and none for a compromised control plane; or that the demo's read endpoints are private — GET /api/runs is unauthenticated, so do not paste secrets into the task box.

- Repository: https://github.com/coldall1304/blast-radius-zero

- Live demo: https://158.247.240.81.sslip.io (public, unauthenticated, per-IP rate limited — a demo, not a service)

Comment
LGAL
2 comments · incl. Vultr Team

Join Vultr Community

Points, levels & badges

Enter challenges & submit builds

Register to events & meetups

Get your work featured

2 Comments

2
Commented: 19 days ago

Thanks Apurva, done — reposted it as a project here:

https://community.vultr.com/p/blast-radius-zero-sandboxed-agent-runtime

It has the architecture screenshot, the repo, the live demo and the Vultr setup (vc2-1c-1gb in Seoul, gVisor/runsc, Serverless Inference for planning and per-step verification). It is showing as Under Review pending text moderation, so I have left the original discussion thread up — let me know if you would rather I take it down or trim it so the two do not compete.

Also, one small template note in case it costs someone else time: the architecture-screenshot field rejected a 1920x1460 PNG and a 1400x1064 JPG with "That image could not be added. Please try another one.", while a 1200x630 PNG went through fine. Nothing wrong with the images themselves as far as I can tell.

2
1
Commented: 20 days ago

Hi Lu, thanks for your participation! Builds like this belong in Projects rather than Discussions. A project page gives you room for the repo, screenshots, demo and other useful information, and it's where other builders go looking. Could you repost it here? https://community.vultr.com/p/new

Thanks!

1

Post Comment