Skip to content

v0.5.2

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Nov 15:25
· 50 commits to main since this release
09b0d7c

Controls guaranteed in this release (v0.5.2)

Script / interpreter launch (fail-closed)

  • Delegating shebang launchers are refused before spawn: a script whose
    interpreter is itself a launcher that re-dispatches to another leaf can no
    longer swap the executed payload. Kernel shebang parsing — including the
    env -S multi-token form — is shared between the resolver and the launch
    driver, so the leaf the OS actually executes is the one the policy and the
    pin cover; token drift between the two parsers is closed
  • Log-share overlap is closed: a log directory that traverses into artifacts
    the launch needs refuses, and CRT lookup directories plus interpreter
    arguments that would divert the executed leaf are covered by the same
    validation
  • DNS alias judgment is hardened — chained or ambiguous alias targets are
    judged against explicit rules only
  • macos-proxy-run enforces the require_lifetime_boundary gate on
    supervised launches

Pinned workloads / verifier

  • Launch targets are hashed once through the held pin and re-proved by stamp
    instead of being re-read per stage; mid-read rewrites are detected when
    re-pinning the held target. pin.rs is split into
    anchor/bind/plan/spawn/stamp/workload modules

Policy

  • arguments { opaque "field" … } declares free-form argument fields that
    skip resource classification — for fields that never carry a path, host, or
    URL. An object or array value makes the whole subtree below it opaque.
    Candidates surface as escaped /params/arguments JSON pointers, audit
    counts them separately, and plan reports their limits
  • generate-policy --policy-version 3 emits a draft whose only difference
    is the declared policy version=3 line

Filesystem grants (macOS exec)

  • mode="exec" on a global defaults.filesystem allow marks a directory
    the workload may map code from: macOS emits file-read* +
    file-map-executable so dyld loads non-system dylibs; Linux treats it as
    read (Landlock read rights already include Execute); Windows lands it as
    a read-only grant. Exec implies read, never write — an overlap with a
    writable grant, in either direction, is refused at load. The spelling is
    global-only and refused per-tool
  • Independently of policy, every macOS launch derives the workload's own
    code roots — the installed runtime prefix, the transitive Mach-O dylib
    closure, and an interpreted payload's project dir — and grants them
    read+map-executable

Linux / namespaced

  • A workload resolving under a masked tree (/run, /tmp bridges) is
    refused before spawn instead of dying at exec; the exec ENOENT stage hint
    names the masked tree and the --linux-mechanism native fallback
  • Workload-masked tokens no longer leak into probe-attributed refusal prose

CLI / discovery

  • --unsafe-discovery-best-effort-lifetime keeps live discovery inside the
    Warden sandbox while waiving only the kernel descendant-lifetime boundary —
    for macOS / Linux without writable cgroup v2 (descendants can outlive the
    run and are reaped best-effort). Conflicts with --static-only and
    --unsafe-unsandboxed-discovery

Performance

  • Launch-time hashing reads each pinned target once (held pin + stamp)
  • Auditor: per-tool check storage is shared via Rc, plain-ASCII argument
    classification short-circuits, and normalization is reused — the
    extraction and secret-path hot paths no longer allocate redundantly

CI / fuzzing

  • A boundary fuzzing harness (fuzz/ workspace, fuzzing feature gate,
    fuzz.yml workflow) covers framing, JSON-RPC, DNS-gate wire, and
    namespaced-packet inputs with input format tags, in-flight crash
    persistence with per-generation crash-dir rotation, chunked framing, and
    NAT cap coverage
  • CI, Linux tests, and MCP server verification now run weekly on main
    (schedule), isolated from push-triggered concurrency so a scheduled run
    cannot cancel release evidence

Docs / operations

  • SECURITY.md is published and ships inside every release archive; the
    remote-gateway deployment guide and maintainer runbooks document driver
    placement, adding a protocol revision, and serial composition; Windows
    audit-log rotation and per-request protocol revisions are documented

Compatibility / migration

  • Delegating shebang launchers are refused — invoke scripts through a real
    interpreter
  • Discovery on hosts without writable cgroup v2 now needs
    --unsafe-discovery-best-effort-lifetime (keeps the sandbox, waives the
    descendant lifetime boundary) or --unsafe-unsandboxed-discovery
  • Workloads resolving under masked trees refuse on the namespaced route —
    relocate the workload or pass --linux-mechanism native
  • arguments { opaque } fields are never inspected — a field that can
    carry a path/host/URL must not be declared opaque
  • mode="exec" is global-only and incompatible with writable overlaps —
    an overlap refuses at load
  • The darwin-amd64 archive is dropped (GitHub retired the last Intel
    macOS runner image): x86-64 macOS users build from source; the release
    ships five archives
  • Pinned-launch hashing moved to held-pin + stamp — a payload rewritten
    mid-launch surfaces as a refusal instead of a post-spawn mismatch

Validation

The release-preflight gate held: all six required workflows green on the
exact tagged commit (09b0d7c) — CI, Platform tests, Container tests, Go
runtime, Linux tests (real AArch64), and MCP server verification. New
coverage: the boundary fuzz targets in CI, in-flight crash persistence,
masked-tree workload refusal, arguments { opaque } e2e, exec-grant dylib
loading on macOS, shebang/CRT share-traversal fixtures, and
substrate_boundary_gap-gated runner-launch legs.

Remaining limitations

  • entrypoint-hash: on POSIX-native and Windows the verify→exec window
    narrows to the pre-spawn path re-check (Windows additionally holds the
    share-mode pin); only the namespaced bind-mount removes it
  • v3 migration is preview-only: generate-policy --policy-version 3 stamps
    the declared version but emitted rules stay v2-shaped; check's
    migration preview remains informational
  • arguments { opaque } subtrees are uninspected by design —
    over-declaring widens the uninspected surface
  • The discovery sandbox covers the interpreted runtimes exercised in CI
    (Node, Python, Go fixture); loaders outside the documented runtime
    surface may still need --unsafe-unsandboxed-discovery
  • ebpf-run/macos-proxy-run remain opt-in PoCs; namespaced-run stays
    poc in the capability matrix
  • namespaced: names sharing an IP are indistinguishable; DoH via an allowed
    destination and DoT remain structural limits; link-local v6 is refused;
    external v6 needs host reachability
  • Windows unchanged: no destination pinning under AppContainer, psec
    conditional, os.fs = unknown by default
  • Landlock ABI < 6 → AF_UNIX/signal not_applied; path unix= needs
    ABI ≥ 9
  • Kernel-internal denials remain unobservable (file_denied/
    process_denied stay reserved event types)
  • defaults.environment gaps are diagnosed, not auto-corrected
  • No darwin-amd64 archive — x86-64 macOS builds from source
  • The six release workflows run on manual dispatch
  • TOCTOU between RPC checks and internal server behavior remains a design
    boundary; SIGKILL can lose the audit tail — use --audit-sync