What you are running
A mission is intentionally broken software. Its services carry real, exploitable flaws, because an agent that cannot compromise anything cannot be measured. Pulling a mission from the library means pulling a container image built to be broken into. XORCISE runs each lab mission inside a fused container — a privileged container hosting its own nested Docker daemon, which in turn runs the mission’s stack. The privilege is what makes nesting possible. It also means the fused container is not a hardened boundary: treat a container escape as possible rather than impossible. Run XORCISE on a machine you own, on a network you trust, holding data you could afford to lose. Do not run it on a production host, a build server, a jump box, or anything else shared with work you care about.The trust boundary
Three zones matter. Your machine is inside the boundary. The per-run environment is outside it, and XORCISE keeps it away from your host. The network your machine sits on is also outside it: the default bind keeps it off the operator surface, but nothing on your own machine is kept off it, and widening the bind hands the network the same unauthenticated access every local process already has.What isolation covers, and what it does not
Isolation in XORCISE is two mechanisms, both real and both narrow. Topology. Mission services live on ordinary bridge networks belonging to a Docker daemon nested inside the fused container. Your host has no route to those addresses. Your agent reaches them only across the run’s private tailnet, and only by IP address — XORCISE runs its Headscale control plane with MagicDNS off and no global nameservers, so nothing on the tailnet resolves by name. Each run carves its own/24 out of 10.200.0.0/16 and holds that reservation until it goes terminal.
A fail-closed access policy. XORCISE renders exactly one Headscale accept rule per run: that run’s agent user, to that run’s entry CIDRs, and nothing else. There is no default-allow rule, so Headscale’s default-deny covers everything the rules do not name. Before applying any policy XORCISE refuses it outright if it contains a wildcard source or destination, more than one rule per agent user, or a destination belonging to another run. Agent A can reach mission A and cannot reach mission B.
What isolation is not:
- It is not a Docker
internalnetwork. The run’s networks are ordinary bridge networks with ordinary NAT. - It is not an egress firewall. Traffic from the mission target out to the internet is not blocked. A mission that phones home, or a target an agent has compromised, reaches the internet the same way any container on your machine does.
- It is not a defence against container escape, for the privilege reason above.
Open ports and no authentication
In the defaultlocal deployment topology, the REST plus web UI plane and the OTLP receiver bind loopback — 127.0.0.1 and the IPv6 ::1 — plus, on native Linux, the Docker bridge gateway. The bridge address is what makes a container-launched agent’s host.docker.internal reachable; on Docker Desktop that name already resolves to the host loopback, so no extra address is needed there.
The bind widens to the IPv4 wildcard 0.0.0.0 in exactly two cases: you set XORCISE_HOST=0.0.0.0 yourself, or you are on Linux and XORCISE cannot determine a bindable Docker bridge gateway at boot, where a loopback-only bind would break every run rather than lock anything down.
The host setting, which defaults to 127.0.0.1, is the address XORCISE prints and health-polls. Setting it to something other than 0.0.0.0 does not narrow the bind below loopback.
Neither plane authenticates.
- The operator API —
/api/runs,/api/agents,/api/config,/api/missions,/api/catalog,/api/systemand/api/fs— accepts any caller./api/fs/listlists directory names starting from your home directory. - The per-run run-control verbs under
/api/runs/{run_id}/…do carry a per-run bearer token, but they live in the same application on the same port. That token scopes those verbs only; it protects nothing else. - The OTLP receiver’s
/v1/tracesand/v1/logstake no credential at all. Runs are separated by thexorcise.run_idresource attribute alone.
xorcise up printed rather than assuming 3001 and 4318.
What leaves your machine
XORCISE is local by default, not local unconditionally. Three things reach the network, and the judge is the one that matters most.
Docker also pulls the Headscale, Tailscale and mission-base images the first time it needs them. That is Docker’s egress on your behalf, not XORCISE reporting anything.
Everything else stays on your machine. Raw OTLP traces and logs, runs, agents, results, grades and terrain data all live in
~/.xorcise/xorcise.db; mission bundles you ingest yourself live in ~/.xorcise/missions. XORCISE has no analytics, no crash reporting, no usage beacon and no phone-home. The trace-mirror settings (otel_mirror_enabled, otel_mirror_endpoint) are a reserved seam with no exporter behind them; enabling one fails fast at boot rather than quietly forwarding anything.
Never repeat the shorter claim that nothing leaves your machine. Once a judge model is configured, the transcript of every graded run goes to that provider.
Where secrets live
Your model API keys live in~/.xorcise/.env, created at mode 0600 and re-set to 0600 on every write. That file is the only copy — nothing else on your machine holds the key.
XORCISE is careful not to hand the key back out. xorcise config show and GET /api/config return a key_hint, never the key. When a judge call fails, XORCISE stores the provider’s error text so you can diagnose it, and redacts the configured key out of that text first, because providers routinely echo a bad key back in the error body.
Three more things are worth knowing:
run_control_signing_secretships as the literal stringdev-insecure-signing-secret. It signs the short-lived attachment download URLs whose lifetimeattachment_ttl_secondscontrols. Override it on any host other than your own laptop.- The private CA that signs your local Headscale certificate lives at
~/.xorcise/headscale/certs/ca.key. Delete the wholecerts/directory or none of it — removing the key alone leaves a CA that cannot be regenerated. - Backups are not managed. Any copy of
.envyou make by hand holds the key in cleartext.
Harden a shared host
Do these three things before running XORCISE anywhere other than a machine only you can reach. Substitute the portsxorcise up printed.
1
Close the ports
Close the ports to everything except loopback and the Docker bridge, so your agent container still reaches the brain while the rest of the network does not:
2
Replace the attachment signing secret
Replace the attachment signing secret by adding a line to
~/.xorcise/.env, then restart XORCISE with xorcise down && xorcise up:3
Stop XORCISE
Stop XORCISE when you are not using it. This releases both ports, tears down the local control plane, and reaps any per-run mission containers left behind:
Next steps
- Configuration keys — every setting named on this page, with its type, default and environment variable.