Security protections in agent-execution-control-plane rely on two layers:
- Control-Plane Enforcement (cross-platform Rust): authentication, request validation, default-deny policy engine, resource ceiling clamping, concurrency control, MCP parity, and SQLite audit logging.
- OS Sandbox Enforcement (Linux only): Linux namespaces, cgroups v2, seccomp-BPF, capability dropping, read-only rootfs, and network isolation via Docker Engine.
Important: Running or unit-testing the control plane on macOS does not enforce Linux kernel isolation primitives natively. Production container isolation requires Linux with cgroups v2 and seccomp enabled.
- The control-plane process requires access to the configured container engine socket (
runtime.docker_socket), e.g. rootless/run/user/<uid>/docker.sockor/var/run/docker.sock. - Never mount the Docker socket into a sandbox container or list it in
policy.workspaces. - Prefer rootless Docker (
systemdcgroup v2 delegation) so any hypothetical container escape maps only to an unprivileged host user namespace rather than hostUID 0. runtime.container_useris validated at startup and forbids0,root,0:*, orroot:*.
- Replace all example
token_sha256digests in your configuration with freshly generated 256-bit random tokens (openssl rand -hex 32-> SHA-256). - Bind
server.bind_addressto127.0.0.1or an internal mTLS/reverse-proxy interface; TLS termination should sit in front of network-exposed listeners. - Pin
policy.allowed_imagesto immutable image digests (repo/image@sha256:...) and disable mutable:latesttags. - Keep
policy.default_network = "none"andread_only = trueon all workspace rules unless write access is explicitly justified. - Protect the SQLite audit database directory (
0700) so only the control-plane service user can read/write audit history.
Do not open public GitHub issues for suspected security vulnerabilities. Please report security issues privately to the repository maintainers with:
- Affected component and version/commit SHA.
- Reproduction steps or proof-of-concept request/config.
- Observed vs. expected security boundary behavior.