Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 07 Oct 11:18
· 397 commits to main since this release

Controls guaranteed in this release (v0.2.0)

First tagged release — establishes the baseline that later notes build on.

Policy & Auditor

  • KDL policy: per-tool allow/deny (default deny), filesystem and host argument constraints, args_schema, side_effect declarations
  • Denied or unlisted tools are filtered out of tools/list (tools_list.filtered audit event) — list visibility and tools/call verdicts are driven by the same predicate
  • Launch binding: binary-hash/entrypoint-hash pin the workload; tools-list-hash pins advertised tool definitions and is revalidated across tools/list_changed
  • Bidirectional control: server responses and notifications are policy-checked, not only client requests
  • MRTR input_required additional requests are gated: bound to the tracked originating request, limited to tools/call/resources/read/prompts/get origins and declared elicitation/sampling/roots capabilities; one disallowed entry refuses the whole response (no partial rewriting); requestState is treated as opaque. Policy schema v2 is the generated form; input_responses modes are auto/deny/allow/inspect
  • Confused-deputy protection (opt-in): list_files/list_directory discovery plus read_file use on the fixed names only; ../ (including percent-encoded forms) is always refused; calls whose path cannot be extracted are refused
  • The child environment is restricted to an explicit allowlist (defaults.environment)

Enforcement & reporting

  • One enforcement model: control plan / observations / process grants — plan and --report read the same source
  • Per-OS applied state is reported honestly; a method that cannot express a policy refuses instead of degrading. The execution-method matrix records adopted/conditional/candidate/refused with the verified environment each claim rests on
  • Warden: Linux Landlock default-deny filesystem + seccomp allowlist + no_new_privs; macOS sandbox-exec SBPL; Windows AppContainer + Job kill-on-close + DACL grants. --windows-mechanism psec (ProcessSecurityEnvironment v1.0) is an opt-in mechanism: capability is probed before every launch and never falls back to AppContainer
  • Isolation backends, each declaring its host capability and refusing mismatches rather than substituting silently: OCI container (docker/podman) via wrap-image/containerize/run-image, Kata (Linux), Apple Container (macOS arm64), Hyper-V isolated Windows containers (+ Windows guest runner), Windows Sandbox behind the stdio relay, WSLc engine (--engine wslc, explicit opt-in only)

Analysis

  • Inspector decodes syscall sites in ELF x86-64 and AArch64 (syscall/rax, svc/x8) and Mach-O arm64 including universal binaries (svc #0x80/x16, XNU BSD syscall + Mach trap tables); scripts are analyzed by source/AST, not native decoding. Unsupported formats report unsupported/partial/failed — never "no syscalls"
  • generate-policy produces reviewable drafts with self-tests and dry-run auditing

Platform coverage

  • The CLI builds and runs on Windows, Linux, and macOS on x86-64 and ARM64 — six release archives
  • AArch64 Linux enforcement is verified on real hardware (ubuntu-24.04-arm leg); x86-64 decode stays on iced-x86 after a decoder comparison

Remaining limitations

  • Name-layer egress is Auditor-only on Linux: Landlock ABI 4 controls TCP ports, not hostnames — non-numeric entries are skipped with a warning
  • Windows appcontainer cannot pin destinations — outbound is deny-all or unrestricted; a mixed allow list is refused at load
  • psec is conditional: preview-documented wire contract, bare IPv4 destinations only, no loopback exemption, no environment allow-list — validated on a single host build (25H2 26200.9457)
  • macOS SBPL cannot express remote destinations — only loopback ports carry OS rules; remote hostnames refuse the spawn
  • Kernel-internal denials produce no userspace notification; file_denied/process_denied remain reserved event types — unobservable is a specification, not "nothing was denied"
  • Confused-deputy protection is opt-in, covers three fixed tool names, and shares known_paths per process — one client / one child is the recommended shape
  • Windows arm64 and macOS x86-64 build archives exist but sandbox enforcement is unverified on those targets
  • Kata / Hyper-V / Apple Container / Windows Sandbox / WSLc are conditional — each claims only its recorded verified environment (docs/validation/)
  • Audit records are buffered in-process; a SIGKILL of the supervisor can lose buffered tail records
  • TOCTOU between RPC argument checks and internal server behavior is a design boundary; for npx-style launches pin the entrypoint hash and the interpreter together
  • Data-plane inspection (response DLP, HTTP/SSE gateways) is out of scope — deploy mcp-writ in series with such inspectors