Skip to content

Security: CodeCrafter-AT/Agent-execution-control-plane

Security

SECURITY.md

Security Policy

Supported Scope

Security protections in agent-execution-control-plane rely on two layers:

  1. Control-Plane Enforcement (cross-platform Rust): authentication, request validation, default-deny policy engine, resource ceiling clamping, concurrency control, MCP parity, and SQLite audit logging.
  2. 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.

Privileged Components

  • The control-plane process requires access to the configured container engine socket (runtime.docker_socket), e.g. rootless /run/user/<uid>/docker.sock or /var/run/docker.sock.
  • Never mount the Docker socket into a sandbox container or list it in policy.workspaces.
  • Prefer rootless Docker (systemd cgroup v2 delegation) so any hypothetical container escape maps only to an unprivileged host user namespace rather than host UID 0.
  • runtime.container_user is validated at startup and forbids 0, root, 0:*, or root:*.

Production Hardening Checklist

  1. Replace all example token_sha256 digests in your configuration with freshly generated 256-bit random tokens (openssl rand -hex 32 -> SHA-256).
  2. Bind server.bind_address to 127.0.0.1 or an internal mTLS/reverse-proxy interface; TLS termination should sit in front of network-exposed listeners.
  3. Pin policy.allowed_images to immutable image digests (repo/image@sha256:...) and disable mutable :latest tags.
  4. Keep policy.default_network = "none" and read_only = true on all workspace rules unless write access is explicitly justified.
  5. Protect the SQLite audit database directory (0700) so only the control-plane service user can read/write audit history.

Reporting a Vulnerability

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.

There aren't any published security advisories