EscapeDrill passed --network none on 5 of 6 probes and caught 3 escapes in a leaky config
EscapeDrill runs the same egress and host-access probes in your sandbox and in an open twin. A hardened Docker run passed 5 of 6, a leaky one failed on 3, and smolvm never ran.
By David Discua
Measured in the lab
- 5/6
- probes passed, --network none
- 3
- escapes in the leaky Docker config
- 5
- inconclusive probes without python3
- 0
- smolvm drills run
- --network none blocked dns, tcp_local, tcp_public, host_path and the Docker socket
- Bridge network plus Docker socket failed on dns, tcp_public and docker_socket
- Image without python3 came back inconclusive, never pass
- ai-jail 2.11.1 default posture passed in a Linux container
- Custom Inspect compose without network_mode none failed on 3 probes
From reports/measured.json · run on October 21, 2026. macOS x86_64 with Docker 20.10.23, plus Linux drills in privileged containers (Docker 29.9.0 dind); inspect-ai 0.3.282, ai-jail 2.11.1; no GitHub runner
How it is wired
01/04EscapeDrill starts your sandbox with your flags.
EscapeDrill is a GitHub Action and CLI that checks whether an agent sandbox really blocks egress and host access. Each drill runs the same probes twice, once in your sandbox and once in an open control twin, and a probe passes only when the control reached the target and the sandbox did not. On an Intel Mac, Docker with --network none passed 5 of 6 probes and a leaky config failed on 3. The catch is that the Linux results came from privileged containers on that same Mac, the GitHub workflows had not run on a hosted runner when we measured, and smolvm was never executed anywhere.
The catch
The drill is a point-in-time check of a fixed probe list: DNS, a local and a public TCP connection, the cloud metadata address, a host path and the Docker socket. It does not try kernel, runtime or VMM escapes, side channels, IPv6-only paths or UDP other than DNS. The metadata probe stays inconclusive on a laptop, because no control there can reach 169.254.169.254.
Coverage is uneven. Inspect was skipped on macOS, since inspect-ai 0.3.282 refuses Docker Engine below 24.0.6 and the Mac had 20.10.23. ai-jail has no macOS x86_64 release, so it ran only in a privileged Linux container where user namespaces are allowed. smolvm needs Apple silicon or Linux /dev/kvm, and neither was available, so its drill code is checked against the pinned source only. The optional Gemini summary step was not observed producing a summary; the live path was not run in this lab. ai-jail also describes itself as accident prevention, and passing this drill does not change that.
What we ran (keyless)
uv sync --frozen --all-extras
uv run escapedrill run --drills docker --out escapedrill-out
bash scripts/linux-lab.sh
From reports/measured.json, run on October 21, 2026:
| Scenario | Drill | Sandbox config | Result | Pass/fail/inconcl. |
|---|---|---|---|---|
| local-hardened | docker | --network none | pass | 5/0/1 |
| local-leaky | docker | bridge + Docker socket | fail | 2/3/1 |
| local-no-python | docker | --network none, no python3 | inconclusive | 0/0/5 |
| linux-ai-jail-default | ai-jail | default posture | pass | 5/0/1 |
| linux-ai-jail-network | ai-jail | --network | fail | 2/3/1 |
| linux-docker-inspect-hardened | docker | --network none | pass | 5/0/1 |
| linux-docker-inspect-hardened | inspect | inspect-hardened.yaml | pass | 5/0/1 |
| linux-inspect-leaky | inspect | inspect-leaky.yaml | fail | 2/3/1 |
The leaky Docker config escaped on dns, tcp_public and docker_socket. With --network, ai-jail escaped on dns, tcp_local and tcp_public while its private home and the missing Docker socket still held. A custom Inspect compose file without network_mode: none failed the same three network probes, which matches Inspect's own warning that a custom compose file replaces the generated setting. The image with no python3 could not run the probe and came back inconclusive instead of passing.
How it is wired
The action starts your image with your docker run flags, or the default service of your Inspect compose file, or ai-jail or smolvm with your posture flags. Next to it runs a control twin with the network on, a host canary directory mounted and the Docker socket exposed. Both run the same stdlib-only Python probe. The run exits 0 on pass, 1 on fail and 2 on inconclusive, and writes evidence.json, a shields.io badge.json and a job summary.
Minilab (open source)
The drills target UKGovernmentBEIS/inspect_ai (3,077 stars, MIT, Python), akitaonrails/ai-jail (1,412 stars, GPL-3.0, Rust) and smol-machines/smolvm (6,823 stars, Apache-2.0, Rust), as of October 24, 2026. Point the docker drill at your own agent image with your real flags and check that no required probe comes back inconclusive.
Run it yourself
SkilledDragonCorp/escapedrill-ci
Clone, install and run the report with no API keys. The numbers above are what that run writes.
uv sync --frozen --all-extras && uv run escapedrill run --drills docker --out escapedrill-outSkilledDragon is not affiliated with the UK AI Security Institute, the Inspect project, ai-jail, smol machines, Docker or GitHub. Numbers are from our own keyless lab run; re-run the drills on your own runner before relying on them. Marks belong to their owners.
All labs