Skip to content

docs(id): authority-boundary audit for Phase 12 criterion 9 (#12597) - #12773

Merged
dezren39 merged 1 commit into
mainfrom
xaltha/12597-authority-boundary-audit
Nov 23, 2026
Merged

dezren39 merged 1 commit into
mainfrom
xaltha/12597-authority-boundary-audit

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Systematic audit of guest-reachable file/network/process surfaces against the provider registry, recorded where the Phase 12 exit audit (#12231) can cite it.

Verdict: no bypass found. The guest's only outbound channel is the wants string, gated by parse, ledger decision, and dispatch; Wasm guests are import-free and native workers run under a Linux seccomp allowlist.

Audit record: pkgs/id/doc/2026-11-23T02-02-09Z_reference_authority_boundary_audit/2026-11-23T02-02-09Z_reference_authority_boundary_audit.md

Three non-bypass findings (recorded in the audit, none re-opens row 9):

  • F-1: speech.transcribe/speech.capture/speech.synthesize are registered but have no executor — granted requests fail closed with unknown_cap.
  • F-2: the compile gate's module list includes platform-no-caps.roc, which has no registry entry — ungrantable, so imports are always refused.
  • F-3: native modules are downloadable by any join-capability holder despite the "never offered for peer download" doc claim — download is not install (install needs admin token + native-enabled server), and guest code cannot invoke a download.

Test: authority_boundary_tests in pkgs/id/crates/id-worlds/src/world/actor.rs pins the dispatch boundary — every host request provider dispatches except the two documented speech exceptions, unregistered names fail closed, client providers never execute on the host.

Verification run locally: cargo test --manifest-path pkgs/id/Cargo.toml -p id-worlds --lib authority_boundary — 4 passed, 0 failed. Reference-laptop re-run pending (fleet shell leg down this run: tailnet seat logged out, control-plane 400 on re-register).

Closes #12597


Show it working
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Systematic audit of guest-reachable file/network/process surfaces
against the provider registry, recorded where the Phase 12 exit
audit (#12231) can cite it.

Verdict: no bypass found. The guest's only outbound channel is the
wants string, gated by parse, ledger decision, and dispatch; Wasm
guests are import-free and native workers run under a Linux seccomp
allowlist. Three non-bypass findings are recorded in the audit:
F-1 speech providers registered but unexecuted, F-2 the compile
gate lists platform-no-caps.roc which has no registry entry, F-3
native modules are downloadable despite the never-offered doc claim.

Adds authority_boundary_tests pinning the dispatch boundary: every
host request provider dispatches except the two documented speech
exceptions, unregistered names fail closed, and client providers
never execute on the host.

Local verification: cargo test -p id-worlds --lib
authority_boundary — 4 passed, 0 failed.

Closes #12597
@dezren39
dezren39 requested a review from a team as a code owner November 23, 2026 02:20
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 55 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 20ed3f8d-bef2-43ad-b864-1252042c0d87
Commits

Reviewing files that changed from the base of the PR and between ce26128 and 9ff83b6.

Files selected for processing: 2

  • doc/2026-11-23T02-02-09Z_reference_authority_boundary_audit/2026-11-23T02-02-09Z_reference_authority_boundary_audit.md
  • pkgs/id/crates/id-worlds/src/world/actor.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39
dezren39 removed the request for review from a team November 23, 2026 05:56
@dezren39
dezren39 merged commit ea93cac into main Nov 23, 2026
2 checks passed
@dezren39
dezren39 deleted the xaltha/12597-authority-boundary-audit branch November 23, 2026 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

id: Phase 12 exit evidence — authority-boundary audit (criterion 9)

1 participant