Security model
Full container topology (mill vs. sibling sandbox, the three code copies, the docker.sock trust boundary): docs/docker-architecture.md.
The implement agent runs LLM-chosen shell commands, and ticket text /
cloned repo content can steer that LLM (prompt injection). So command
execution is isolated from the mill process:
- File tools (
read_file/write_file/edit_file/list_dir) run in-process but are path-confined to the ticket's clone (../symlink/abs escapes are rejected). - Command execution (
run_commandand the test command) always runs in a fresh, disposable sibling container (--rm, non-root, read-only root + tmpfs/tmp, pids/memory capped, only the ticket's repo reachable). Its egress is locked down: in deploy mode it joins the internalsandbox.networkwhose only egress is thesandbox-proxytinyproxy allowlist (pypi.org/pythonhosted.org/github.com/githubusercontent.com, everything else denied — seesandbox/proxy/filter), souv lockcan re-resolve dependency bumps (e.g. an audit/CVE fix) without opening general network access; with no proxy configured it falls back to--network none. There is no in-process/local mode: it was a foot-gun that let the agent edit the host and recursively re-invoke the pipeline. Tests fake the sandbox seam instead.
See also
- index.md — documentation home
- docs/docker-architecture.md — container topology
- docs/scm/forge/github-app.md — delivery identity setup