Skip to content

v2.17.0

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Oct 09:18
· 5 commits to main since this release
90311e7

[2.17.0] - 2026-10-29

Added

  • vaara review purge --db QUEUE.db --older-than-days N [--dry-run] and ReviewQueue.purge_older_than(seconds): delete resolved and expired review queue items whose case closed more than N days ago. The queue holds a second copy of the call's parameters, context and reason and the reviewers' free text, and neither vaara trail purge nor vaara trail erase reaches it. The delete runs with secure_delete on and truncates the WAL, as trail purge does; when another process holds the WAL the command says so on stderr. Pending and claimed items are kept whatever their age, and the command counts them on stderr.
  • Execution receipt outcome status unobserved: the request was sent and no outcome was observed, so the issuer cannot say whether the action ran. The MCP proxy writes it when an upstream call raises in the state its trail records as unobserved (the request may have reached the server, no reply was read), with no resultCommitment; not_sent and failed stay errored. Parsers, record conformance and every independent checker accept executed, refused, errored and unobserved and reject any other value; an unobserved receipt carrying a resultCommitment is an advisory. vaara receipt verify reports outcome_observed and, for unobserved, says to read it as neither executed nor errored. The execution_receipt_v0 vectors gain hs256_unobserved_no_commitment and neg_unknown_status, and the independent checker now checks the status set; the existing cases are unchanged. The SEP-2828 conformance corpus moves to 1.0.1 (its checkers accept unobserved; no fixture verdict changes).
  • vaara trail verify-anchor takes --tsa-cert (pin the TSA signer certificate) and --tsa-issuer (pin the CA that issued it), each PEM or DER. A token signed by any other certificate is refused with exit 1; a pin file that is missing or is not a certificate exits 2. verify_anchor and verify_anchor_over_records take the same pins as trusted_signer_cert and trusted_issuer_cert.
  • vaara verify-contiguity says what it found at a seq held twice: duplicate seq: N (different records) for a fork, duplicate seq: N (same record) for a byte-identical replay. Both still fail the set. The --json verdict gains duplicates, a list of {seq, kind} with kind fork or replay. ContiguityReport gains duplicates; verify_contiguity takes an optional records list (the whole receipt behind each evidence record) to decide the kind, and completeness_from_execution_receipts keeps each receipt beside its block for the same reason. The contiguity_v0 vectors gain fork and replay cases, which the independent checker reproduces.

Fixed

  • The MCP proxy refuses a tools/call whose params or params.arguments is not a JSON object. A list, string, number or boolean arguments was read as {} by the deny rules, the inputSchema check, the classifier and the record, while the original request went upstream, so the gates checked an empty call and the server ran the real one. Such a call now gets JSON-RPC -32602 naming the type, is recorded as a deny with violation_type invalid_params, and is never forwarded, in shadow mode too. Absent or null arguments are still read as {}.
  • A child that presents no capability grant under a parent that ran under one is denied. Attenuation ran only when the child passed capabilities, so a child naming a granted parent_action_id with none ran unbounded under a bounded parent. It is now refused with violation_type privilege_attenuation, and the decision record carries attenuation {status: violated, reason: child_without_grant, source}. InterceptionPipeline(grantless_child="allow") lets it through to the scorer marked unverified; that setting is in the digested decision state. A child without a grant under a parent without one, or under a parent not found, is decided as before.
  • Delegated-privilege attenuation no longer passes a child whose parent grant the pipeline does not hold. The grant map was in memory only, capped at 50,000 entries and per process, so a child naming an evicted parent, a parent recorded by another process (a hook runs one process per call) or an invented parent_action_id skipped the check. An action's capability grant is now written into its action_requested record as capabilities (only when it has one, so other records hash as before), and the pipeline reads a parent grant it does not hold from the trail, within the same tenant. A child with a grant whose parent is not on the trail, or whose recorded grant does not parse, is denied with violation_type privilege_attenuation and unavailable_input parent_grant. InterceptionPipeline(unknown_parent="allow") lets the unknown-parent case through to the scorer; that setting is in the digested decision state. Every decision on an action that carries a grant and names a parent records attenuation: status held, violated or unverified, with reason and source (memory or trail). A parent that ran under no grant is still not a ground to deny, and is marked unverified with parent_no_grant.
  • verify_timestamp_token (and so verify_anchor, vaara trail verify-anchor and the existenceProof check) refuses an RFC 3161 token whose signed attributes do not carry exactly one content-type attribute naming id-ct-TSTInfo (1.2.840.113549.1.9.16.1.4), as RFC 5652 section 5.3 and RFC 3161 section 2.4.2 require. Before, only the message-digest attribute was read, so a TSA signature over attributes that named another content type, or none, was accepted and could grade as qualified. The qualified_time_v0 vectors gain neg_content_type_not_tstinfo and neg_content_type_missing, which the independent checker reproduces; the fixtures were regenerated, and the verdicts of the existing cases are unchanged.
  • The SOC 2 CC8.1 row in docs/COMPLIANCE.md states that a policy reload (PolicyController.reload, POST /v1/policy/reload, a per-tenant PolicyRegistry swap) writes no trail record, so policy changes are evidenced by the deployer's own change control.
  • docs/supported-platforms.md states that the Linux OS layer does not run on RHEL 9: vaara os-guard and vaara run need AppArmor, which RHEL does not ship, and refuse to start rather than run an agent unconfined. The proxies, agent host hooks, trail and verifiers run there. The page listed RHEL 9 as supported without saying so.
  • A gVisor launch refused on an SELinux-enforcing host says how to proceed. runsc does not take the SELinux label podman gives a container on RHEL, Rocky or Fedora; the error now keeps runsc's own words and adds that --security-opt label=disable runs the container without an SELinux label and leaves gVisor's Sentry as its boundary. The driver does not add the option itself. Found running gVisor release-20261026.0 under podman 5.8 on Rocky 9.8.
  • vaara cage status --driver firecracker reports the digest the launch handed the guest, the same config_digest every receipt from inside the microVM carries, and the API's view of the configuration beside it as active_digest. It used to report only a digest of the API's /vm/config answer, which never matched the receipts. A microVM Vaara did not launch still reports the API's view. Found on a real Firecracker 1.17.0 launch.
  • A pinned timestamp is trusted only when its signer is a TSA certificate. With trusted_signer_cert or trusted_issuer_cert, verify_timestamp_token (and so verify_anchor, vaara trail verify-anchor --tsa-cert/--tsa-issuer and the existenceProof qualified grade) now refuses a signer certificate that lacks the RFC 3161 section 2.3 extended key usage: one critical id-kp-timeStamping, no other purpose. Before, any certificate the pinned CA issued, for code signing or for a person, could mint a time graded as qualified. Unpinned verification is unchanged. The qualified_time_v0 vectors gain unqualified_signer_without_eku and unqualified_signer_wrong_eku, which the independent checker reproduces; the fixtures were regenerated, and the verdicts of the existing cases are unchanged.
  • The Kata driver works with Kata 4, which ships no kata-runtime. Where kata-runtime is not on PATH, readiness and the version query use containerd-shim-kata-v2, and the cage block's upstream reads kata 4.3.1 from the shim's --version line instead of a bare kata. Before, vaara cage drivers called a Kata 4 install missing.
  • Under podman, vaara cage status and the cage block confirm gVisor and Kata. podman reports HostConfig.Runtime as oci for every container and names the runtime in the top-level OCIRuntime, so the driver compared oci with runsc and every podman launch read confirmed: false. Found by running gVisor release-20261026.0 under podman 4.9 on Ubuntu 24.04.
  • The first cage launch, and the first vaara run egress record, on an account with no ~/.vaara are written. The lifecycle record and the egress recorder opened ~/.vaara/trail/audit.db (or $VAARA_DB) without creating its directory, so SQLite refused with unable to open database file and the record was lost; the directory is now created with mode 0700.
  • The gVisor and Kata drivers use podman when docker is not on PATH. On a podman-only host (RHEL, SLES) vaara cage drivers reported both as missing with docker: not found although podman was installed, and a launch failed the same way unless VAARA_CAGE_ENGINE=podman was set. docker still wins when both are there.
  • Documentation says what the record does not do. The capability index no longer calls its five witness roots independent: the qualified timestamp and a public transparency log are outside witnesses, the self-hosted timestamp is the operator's, and TPM and confidential-VM attestation root in the platform. The two trail pages say that a record removed from the end breaks no hash and shows only against a seal or an anchor that covers it. The access-record row and docstring say a read is recorded when the deployer calls record_access, and that the anchored time comes from outside the operator only when the authority is not operator-run.
  • vaara trail verify-anchor without a pin says so: it prints UNPINNED: time as asserted by the certificate in the package instead of advice to pin, and labels the time as the latest the anchored head existed by. With a pin it prints which pin held.
  • vaara verify-contiguity no longer prints "complete" for a held set with nothing missing. It prints consistent, N receipt(s), seq 0..N-1 contiguous, highest count held N, no seal held, no anchor checked (or seal held), because a tail removed before the set was held leaves a contiguous prefix that no held record contradicts. The --json verdict gains sealed and anchorChecked (always false: the command takes no anchor). The exit codes and the INCOMPLETE report are unchanged. ContiguityReport gains sealed.
  • vaara receipt verify adds outcome_note to its JSON: status and completed_at are as asserted by the issuer.