Repository navigation
v0.2.0
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_effectdeclarations - Denied or unlisted tools are filtered out of
tools/list(tools_list.filteredaudit event) — list visibility andtools/callverdicts are driven by the same predicate - Launch binding:
binary-hash/entrypoint-hashpin the workload;tools-list-hashpins advertised tool definitions and is revalidated acrosstools/list_changed - Bidirectional control: server responses and notifications are policy-checked, not only client requests
- MRTR
input_requiredadditional requests are gated: bound to the tracked originating request, limited totools/call/resources/read/prompts/getorigins and declared elicitation/sampling/roots capabilities; one disallowed entry refuses the whole response (no partial rewriting);requestStateis treated as opaque. Policy schema v2 is the generated form;input_responsesmodes areauto/deny/allow/inspect - Confused-deputy protection (opt-in):
list_files/list_directorydiscovery plusread_fileuse 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 —
planand--reportread 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/refusedwith the verified environment each claim rests on - Warden: Linux Landlock default-deny filesystem + seccomp allowlist +
no_new_privs; macOSsandbox-execSBPL; 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 reportunsupported/partial/failed— never "no syscalls" generate-policyproduces 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-armleg); 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
appcontainercannot pin destinations — outbound is deny-all or unrestricted; a mixed allow list is refused at load psecis 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_deniedremain 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_pathsper 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