carlos / platform Public

Security review 2026-11-16: fixes, audits, October hunt re-baseline Issue open

Program thread for the 2026-11-16 external security review. Findings, Fable 5.2 cross-check and the plan below. Paul's rulings 2026-11-16: carlos-app@ unit backing is operator-trusted only; CSRF keeps accepting the old raw token for one release; audits next (gVisor root unit, managed enrolment, /auth/cli device login, mailer).

Branches: sec-edge-redirect-linklocal, sec-console-csrf-derive, sec-gate-shadow-guard, sec-unit-app-demobuild.

October hunt re-baseline (2026-11-16)

The 2026-10-25 hunt's verifier tests (TestHunt_*), copied onto main @ 3793aa49 and run: most still FAIL, i.e. the findings are still open on main. Only the account-root batch (5698a8f) landed; fix/hunt-release-chain-integrity is held. Still failing: H3-M1/H6-M2 (critical/high), H3-M2, H3-M5, H3-M8, H3-M6, H3-M7, H3-M9, H4-M1..M12 (H4-M1..M4 high), H5-M1, H5-M7, H5-M12 (high), H6-M3, H6-M4, H6-M11, H6-M12, H2-M1, H2-M5, H2-M6. Compile drift (not run): H3-M3 (appconfig), H2-M4 (edge). Raw output: ~/.cache/sec-review-20261116/hunt-rebaseline.txt on docs-t1. Awaiting Paul's priority call.

Security review 2026-11-16 fixes: implementation plan

> For agentic workers: REQUIRED SUB-SKILL: superpowers:subagent-driven-development. Steps use - [ ].

Goal: close the actionable findings of the 2026-11-16 external review of carlos/platform @ 3793aa49, as amended by the Fable 5.2 cross-check and Paul's rulings.

Architecture: four independent branches off origin/main, each landed through amadan branch merge -squash. No new storage, no new keys, no new config switches.

Tech stack: Go 1.26.10 (source .amadan/go-toolchain.sh), systemd unit files, golang.org/x/tools/go/packages (already in go.mod) for one guard test.

Spec: ~/.cache/sec-review-20261116/carlos-platform-security-review.md (findings), carlos-security-fixes-for-agents.md (the reviewer's brief; this plan amends it), fable-report.md (cross-check; the amendments come from it).

Global constraints

  • Every change lands via a described amadan branch, squash-merged with -expect <full sha> -message (subject < 80 chars).
  • Local verification is targeted tests only (go test ./internal/<pkg> -run '<names>' -count=1); never make test, make ci or go test ./... on docs-t1. Hosted CI runs the rest. Socket-binding packages (edge, host, activator, console) run with TMPDIR=/tmp/g and the sandbox off.
  • Leave GOCACHE at its default. Never git worktree prune; never create or remove worktrees (the controller owns them).
  • Branches touching the root binary (edge, demobuild, host units) need a census card (make census-card, CLAIMS file, make census-propose NAME=<branch> CLAIMS=<file>) and an Astra census verdict recorded on #280.
  • Do not move the Go toolchain off 1.26.10.
  • No user-visible copy changes beyond the existing "Cross-site request blocked." refusal; if one becomes necessary, stop and report (copy review).
  • Every behaviour fix gets a regression test that fails on origin/main and passes after.

Paul's rulings (2026-11-16)

  1. carlos-app@ (Backing=unit) is operator-trusted only. Document it; add only controls that cannot break a tenant.
  2. CSRF: accept the old raw-session token for one release beside the derived one, then remove it in a follow-up.
  3. Audit next (separate work): gVisor root unit, managed enrolment, /auth/cli/* device login, mailer. Release-chain verification was hunted on 2026-10-25 (H3/H6) and its fix branch is held; see the program discussion.

Review focus

  • A rootless or absolute-form request-target on edge :80 (x:@evil/p, http://other/p, *): Location must be https://<host>/ or https://<host><path>, never another authority.
  • A name or literal resolving to link-local or AWS IMDS (169.254.169.254, ::ffff:169.254.169.254, fe80::1, fd00:ec2::254) as an edge upstream: never connected, on every edge upstream dialer including the prober.
  • A form rendered before the deploy (raw token) and after (derived): both accepted during the transition release; any other value refused 403.
  • A step-up re-auth that replays a held POST: must carry the derived token and succeed.
  • A future console JSON view embedding provision.Record / registry.Route: must fail the guard test unless gate is shadowed.

---

Branch A: sec-edge-redirect-linklocal (census)

Task A1: edge :80 redirect keeps its own authority

Files: Modify internal/edge/edge.go (httpFallbackHandler, the http.Redirect(... "https://"+host+r.URL.RequestURI() ...) line). Test: internal/edge/http_fallback_redirect_test.go (new).

  • [ ] Step 1: write TestHTTPFallbackRedirectRootlessTarget: build the request with http.ReadRequest(bufio.NewReader(strings.NewReader("GET x:@evil.example/p HTTP/1.1\r\nHost: <a routable test host>\r\n\r\n"))), serve it through (*Edge).httpFallbackHandler() built the way the existing fallback tests build it (find them with grep -rn httpFallbackHandler internal/edge/*_test.go), assert status 302 and Location == "https://<host>/". Same test, subcases: absolute-form GET http://evil.example/p → Location host is <host>; ordinary GET /a/b?c=1 → https://<host>/a/b?c=1 (unchanged).
  • [ ] Step 2: run, expect the rootless subcase to FAIL with https://<host>@evil.example/p.
  • [ ] Step 3: inline the console's rule (internal/console/server.go redirectTarget): uri := r.URL.RequestURI(); if !strings.HasPrefix(uri, "/") { uri = "/" }. The console imports the edge, so do not import console; add a one-line comment naming console.redirectTarget as the twin.
  • [ ] Step 4: run, PASS. Step 5: commit edge: keep the :80 redirect on its own host for a rootless target.

Task A2: edge never dials link-local or IMDS upstreams

Files: Create internal/edge/upstreamdial.go; modify internal/edge/edge.go (tcpProxy, the multi-upstream DialContext near the "dialer works in passes (D10b)" comment) and internal/edge/prober.go (the probe http.Transport). Test: internal/edge/upstreamdial_test.go.

Interfaces — produces:

  • func refuseLinkLocalUpstream(network, address string, _ syscall.RawConn) error — a net.Dialer.Control hook: parses the host of address (already resolved by the dialer), unmaps IPv4-in-IPv6, and returns errLinkLocalUpstream for 169.254.0.0/16, fe80::/10 and fd00:ec2::254/128; nil otherwise.
  • var errLinkLocalUpstream = errors.New("edge: refusing a link-local upstream address")
  • func upstreamDialer() *net.Dialer — &net.Dialer{Control: refuseLinkLocalUpstream}; used wherever these three sites fall back to the default dialer today (hold.dialer == nil, i.e. production).
  • [ ] Step 1: tests: TestRefuseLinkLocalUpstream table over 169.254.169.254:80, [::ffff:169.254.169.254]:80, [fe80::1]:80, [fd00:ec2::254]:80 (refused) and 127.0.0.1:80, 10.0.0.5:80, [::1]:80 (allowed). TestTCPProxyRefusesNameResolvingToIMDS: a tcpProxy for imds.test:80 whose resolution yields 169.254.169.254 (use a net.Resolver with a fake Dial serving a canned DNS answer, or upstreamDialer() with Resolver overridden — pick whichever the package's tests already use; there must be no real connect attempt) returns 502 and the error wraps errLinkLocalUpstream.
  • [ ] Step 2: run, expect FAIL (undefined, then connection attempted).
  • [ ] Step 3: implement; at each of the three sites replace the nil/default dialer with upstreamDialer().DialContext. Leave test-injected hold.dialer untouched. Do not touch unix-socket dials, mesh hops or tunnels.
  • [ ] Step 4: run go test ./internal/edge -run 'TestRefuseLinkLocalUpstream|TestTCPProxy|TestHTTPFallback|Prober|Hold' -count=1 with TMPDIR=/tmp/g; PASS.
  • [ ] Step 5: commit edge: refuse link-local and IMDS addresses at upstream dial time.

Task A3: census card for branch A

  • [ ] make census-card; CLAIMS lines for httpFallbackHandler, tcpProxy, the multi-upstream proxy builder, the prober transport builder and the new file's functions ("redirect target confined to a rooted path; no read added" / "upstream dialer gains a Control hook refusing link-local destinations; no read added"); make census-propose NAME=sec-edge-redirect-linklocal CLAIMS=<file>; commit the overlay + card. Astra census review per AGENTS.md; record on #280.

Branch B: sec-console-csrf-derive (console only, no census)

Task B1: derived CSRF token, every emitter and every checker

Files: Create internal/console/csrf.go, internal/console/csrf_test.go, internal/console/csrf_scan_test.go. Modify every emitter and checker listed below.

Interfaces — produces:

  • func csrfToken(rawSession string) string = hashToken("carlos-console-csrf-v1:" + rawSession). Must never equal hashToken(rawSession) (the DB key).
  • func csrfOK(got, rawSession string) bool — constant-time compare of got against csrfToken(rawSession); ALSO accepts got == rawSession (constant-time) during the transition release. Mark the raw branch with // TRANSITION(csrf-v1): remove one release after <tag> so the follow-up is a grep.
  • func csrfFormOK(r *http.Request, rawSession string) bool — exactly one csrf value in r.PostForm (after ParseForm) and csrfOK on it. Handlers that today use r.FormValue("csrf") switch to this.

Emitters (put csrfToken(raw) where raw is emitted today): page.CSRF in basePage (server.go ~2966) and every other CSRF: raw / CSRF: session fill (server.go ~3295, ~4239; authcli.go ~1117, ~1234, ~1379; accountindex.go ~22; opshell.go ~86; demo_claim_page.go ~166); every {"csrf", raw} confirm field (confirm.go ~118, ~180, ~201, ~232; appsettings.go ~1012, ~1793; accountlinks.go ~366; server.go ~3630; billingchange.go ~206; browserretry.go ~94; browserrestart.go ~105); the step-up replay form.Set("csrf", raw) (stepup.go ~484). Line numbers are from 3793aa49; find them by grep. Checkers: every ConstantTimeCompare([]byte(r.FormValue("csrf")), []byte(raw)) (~66 sites), envform.go (r.PostForm["csrf"]), storepage.go (storeFormCSRF), billingchange.go (billingCSRFRefused, two sites), demo_claim_page.go ~333 and demo_claim_kept.go ~50 (the session compare only; leave demoClaimNonce alone), pipelinepage.go (compares against p.CSRF and then uses p.CSRF as raw at ~280: after the change p.CSRF is the derived token, so take raw from s.session(r) instead — check what raw is used for below that line and keep that behaviour). Leave alone: LinkNonce (email-link login CSRF), demoClaimNonce, validDemoReportToken, API bearer routes.

  • [ ] Step 1: csrf_test.go: TestCSRFTokenIsNotTheSession (derived != raw, != hashToken(raw), stable, 64 hex); TestCSRFOKAcceptsDerivedAndTransitionRaw; TestCSRFOKRefusesOther (empty, other session's derived, truncated).
  • [ ] Step 2: an end-to-end test in the style of the existing signed-in page tests (find a helper that signs in and fetches / or /accounts): TestSignedInPageDoesNotContainSessionToken — body must not contain the raw cookie value; must contain csrfToken(raw). Plus TestStepUpReplayCarriesDerivedCSRF driving one step-up-protected POST through re-auth (find the existing step-up test and extend it).
  • [ ] Step 3: csrf_scan_test.go TestNoRawSessionAsCSRF: AST over non-test internal/console/*.go; fail on (a) ConstantTimeCompare whose either argument mentions FormValue("csrf"), PostForm["csrf"], PostForm.Get("csrf") or PostFormValue("csrf") outside csrf.go; (b) a composite literal {"csrf", X} or form.Set("csrf", X) where X is not a call to csrfToken; (c) a CSRF: keyed field whose value is not a csrfToken(...) call. Negative control: a small in-test source string with each bad shape must be flagged.
  • [ ] Step 4: run the three new tests: FAIL. Implement. Then update test fixtures that post csrf=<raw>: they still pass during transition; do NOT bulk-rewrite the ~1,200 fixture lines now.
  • [ ] Step 5: go test ./internal/console -run 'CSRF|Csrf|StepUp|SignedIn|EnvForm|Store|Billing|Pipeline|DemoClaim|Confirm' -count=1 with TMPDIR=/tmp/g; PASS. Commit console: derive the CSRF token instead of echoing the session token.
  • [ ] Step 6: open a follow-up discussion "Remove the raw-session CSRF transition" naming the release, and link it in the branch description.

Branch C: sec-gate-shadow-guard (console test + CI script comment, no census)

Task C1: guard that no console JSON view leaks the gate hash

Files: Create internal/console/gate_shadow_guard_test.go.

  • [ ] Step 1: TestConsoleJSONNeverCarriesGateHash: load carlos.dev/...internal/console (use the module path from go.mod) with golang.org/x/tools/go/packages (NeedTypes|NeedSyntax|NeedTypesInfo, Tests:false). For every call to writeJSON, json.Marshal, json.MarshalIndent and (*json.Encoder).Encode in the package, take the static type of the body argument (for a map[string]any composite literal, each value's type). Walk the type as encoding/json would (exported fields, embedded structs promoted unless a shallower field of the same JSON name exists, pointers, slices, arrays, map values). Fail if the walk reaches provision.Record.Gate or registry.Route.Gate under JSON name gate without a shallower gate-named field shadowing it. Report the call site file:line.
  • [ ] Step 2: negative control in the same test: a type-check of a small in-memory package containing type v struct{ provision.Record } passed to json.Marshal must be flagged, and type w struct{ provision.Record; HiddenGate string \json:"gate,omitempty"\ } must not.
  • [ ] Step 3: run; it must PASS on main (the review found no leak). If it FAILS, that is a real leak: stop and report the site to the controller before fixing.
  • [ ] Step 4: commit console: guard test that no JSON view carries a gate hash.

Task C2: toolchain note

Files: Modify .amadan/go-toolchain.sh (the "it also carries GO-2026-6859" line).

  • [ ] Replace with two sentences: GO-2026-6859 is present in 1.26.10 but needs a body read on another goroutine than the handler's while it writes headers, with net/http's own response writer passed to MaxBytesReader; #904 checked every production MaxBytesReader site and found none. Its fix in 1.26.11 is the same change that brings the deadlock, so moving the pin waits for both. Commit ci: say why GO-2026-6859 does not move the 1.26.10 pin.

Branch D: sec-unit-app-demobuild (census)

Task D1: carlos-app@ operator-trusted stance plus non-breaking controls

Files: Modify internal/host/units/carlos-app@.service, internal/registry/registry.go (Backing field comment and SetBacking doc comment), README.md (the unit-backing / app-capabilities section near "hostrole"), `internal/host/unitsisolation_test.go`.

  • [ ] Step 1: test TestAppUnitHardeningFloor in units_isolation_test.go: carlos-app@.service carries SystemCallArchitectures=native, SystemCallFilter=@system-service, SystemCallFilter=~@keyring io_uring_setup io_uring_enter io_uring_register userfaultfd, SystemCallErrorNumber=ENOSYS, ProtectControlGroups=yes, PrivateIPC=yes, TemporaryFileSystem=/dev/mqueue:ro; and does NOT carry PrivatePIDs= (#528) or a loopback/RFC1918 IPAddressDeny (would cut the edge's loopback dial to Addr tenants and DNS). Keep IPAddressDeny=169.254.169.254/32 fd00:ec2::254/128 exactly; do not widen to 169.254.0.0/16 (the VPC resolver 169.254.169.253 may be the box's DNS).
  • [ ] Step 2: FAIL. Step 3: add the lines (copy each from carlos-instance@.service with its comment shortened), and add to the unit header: "Trust: unit backing is for operator-trusted tenants only (Paul, 2026-11-16). It is set only by box root through carlos route --backing unit / carlos add --backing unit, never by the console. It does not carry the instance sandbox's network fence or abstract-socket scoping: a unit tenant can reach loopback, the VPC and abstract unix sockets. Never set it for a tenant you would not give a shell on the box." Mirror one sentence in the Backing and SetBacking comments and in README.
  • [ ] Step 4: go test ./internal/host -run 'Unit|Isolation' -count=1 and go test ./internal/edgefence -count=1; PASS. Run systemd-analyze verify on the unit if available (sandbox off). Commit host: carlos-app@ is operator-trusted; add the syscall and IPC floor.

Task D2: demobuild chmod through an fd

Files: Modify internal/demobuild/unit.go (the systemd-family filepath.WalkDir(l.cache, ...) that calls os.Chmod(p, 0777)). Test: internal/demobuild/unit_cache_chmod_test.go (new; Linux build tag if instancefs needs it).

Interfaces — consumes: instancefs.OpenDirBeneath(dir, name string) (*os.File, error) (Linux; ErrUnsupported elsewhere), the pattern in gvisor.go ownBuildDirectories.

  • [ ] Step 1: test TestCacheDirsChmodThroughFD: a cache tree whose subdirectory is swapped for a symlink to an outside dir between walk and chmod is not chmodded through the link (drive it with a hook or by asserting the helper refuses a symlink component via OpenDirBeneath); ordinary dirs end 0777.
  • [ ] Step 2: FAIL. Step 3: extract chmodCacheDirs(cache string, mode os.FileMode) error that walks as today but chmods each dir via instancefs.OpenDirBeneath(cache, rel) + f.Chmod(mode). Non-Linux keeps compiling (cross-compile gate: darwin/windows/arm64).
  • [ ] Step 4: go test ./internal/demobuild -run 'Cache|Chmod' -count=1; GOOS=darwin go build ./...; PASS. Commit demobuild: chmod the build cache through an fd, not by path.

Task D3: census card for branch D

  • [ ] As A3, NAME=sec-unit-app-demobuild, claims for the unit file, registry.go comment-only change, unit.go walk. Astra census review; record on #280.

Branch reviews

Each branch: Astra review of the whole branch (per-task review only where AGENTS.md stopping rule 3 requires: A1 redirect, A2 dial gate, B1 CSRF gate). Fable second reviewer on B and A. Max three rounds; stop at the first round with no P1.

Paul's rulings, 2026-11-16 (in session):

  • Priority: October's open hunt findings come right after the four 11-16 branches; the audits wait.
  • H4-M1: removing a member revokes every credential they minted for that account. Instance binding stays with #155.
  • H4-M12: clearing an app's password gate becomes owner + step-up, like the browser's other owner actions.
  • H4-M9: system update and upload need a step-up even with an ops owner's CLI token. The CLI has no step-up today, so this needs a small design first (a browser-approved step-up, like the device-login approve); it gets its own branch.
  • H5-M1: refuse attaching a hostname under another account's catch-all route. Domain proof stays opt-in.

October batches, in order:

  1. sec-h4-member-doors: H4-M2, M3, M4, M7, M10 (CLI parity with the browser's owner gates), M12, M1 (revoke on removal), H5-M1 (carve-out refusal).
  2. sec-console-dos: H5-M12 (SNS cert cache), H5-M7 (bounded gzip decode), H4-M5 (global email cap), H4-M6 (code lockout), H4-M8 (no redirects on the instance-report fetch).
  3. fix/hunt-release-chain-integrity: re-merge with main (429 commits behind), re-verify, census, land (H3-M1/H6-M2, H3-M5/M8, H6-M3/M4/M11/M12, H3-M4).
  4. sec-h5-edge-availability: H5-M5, M6, M11, M16, M4.
  5. Then H4-M9 CLI step-up (design), H3-M2 scoped-grant revocation (spec), H3-M3 secrets v2 migration (sequenced), the P3 smalls (H3-M6, H3-M7, H2-M4, H2-M5) and the infra apply set (scoped approval). Each batch moves its TestHunt_* tests onto the branch as the regression tests.

gVisor audit (Fable 5.2, read-only, main @ 3793aa49): found no path from a demo payload to root, other tenants or platform state. The bundle, the runsc integrity chain, the host's reads of sandbox output, and "never fall back" in gvisor mode all hold.

Before the flagship flip:

  • F2: auto still resolves to systemd, so a replaced demo box would come up native with nothing flagging it.
  • F1 (amd64 never witnessed) is moot: carlos-flagship-demo-box-1 is t4g.small, arm64.

Applies TODAY under the native sandbox too (anonymous traffic can trigger them):

  • F3: build output is read whole into the 64M root control service, so it can be OOM-killed.
  • F5: no per-demo disk bound on /data or /run.
  • F6: purge fails on trees over 64 deep.

Also: F4 (the host-side runsc unit has no capability, network or path backstop), F7 (pin --platform and --directfs), and F9 (runsc stderr goes to the tenant log, with no volume cap).

Plan: branch gvisor-flagship-demos-plan, docs/superpowers/plans/2026-11-16-gvisor-flagship-demos.md. Astra review running.

Paul's rulings 2026-11-16 (stopping rule 2, sec-console-dos): (1) address-knowledge oracle -> one flow, one rule: known/unknown share one challenge state machine, plus a randomized transcript-equality invariant test. (2) SES/SNS door -> a secret token in the endpoint path (CARLOSSESEVENTS_TOKEN): tokenless requests 404 before any parse or cert fetch; temporary failures 503 so SNS retries; the subscription URL switch happens in a window under scoped approval.

gVisor slice 1 (a52ab35) release witnesses on the dev demo box: both PASS (v0.44.0 release agent, session b4794b33; plan 2026-11-16-gvisor-flagship-demos.md, slice 1 "the dev demo box witnesses one large build and one deep purge"). Dev demo box-1 runs v0.44.0 in gVisor mode. Run 2026-11-29 20:13-20:28Z.

Large build (F3). I sent 4 anonymous creates at once. Each starter embeds 8 distinct 1.95 MB files.

  • 3 built, published and served. Each output was 33,224,987 bytes, 329,445 under BinaryMaxBytes.
  • The 4th failed in the queue before pickup. Both the dev and flagship demo boxes run CARLOS_DEMO_BUILD_CONCURRENCY=1, so builds serialise. The plan's "4 slots" is not the deployed setting, so this witness covers concurrency 1, as deployed.
  • carlos-instance-control cgroup: MemoryMax 1 GiB. memory.peak was 116.3 MB before and 243.1 MB after; the sampled max of memory.current was 222.3 MB. memory.events stayed at 0 throughout (oom 0, oom_kill 0).

Deep purge (F6).

  • Inside gVisor, the demo made a 3,000-deep chain plus a 300-level chain of 255-character names (about 77 KB of path).
  • The host saw 3,303 directories at depth 3,001.
  • Takedown at 20:17:38Z reached Cleanup Complete. The instance directory is gone, and no "too deep" or purge error lines were logged.

The witness demos are taken down. Evidence is in ~/.cache/release-v0.44.0/roll-log.md and witness/ on docs-t1. The root-runner witness was not part of this run. The flagship roll of v0.44.0 proceeds next.

October hunt re-measured on main 4799995f7 (2026-11-29, session 12ce63d6): 42 measured, 29 PASS (fixed), 13 still FAIL: H2-M1, H2-M4, H2-M5, H2-M6, H3-M2, H3-M3, H3-M6, H3-M7, H3-M9, H4-M9, H4-M11, H5-M1 (box half), H5-M8. H1 has no verifier tests. Fixed on main is not yet on flagship: v0.44.0 carries a52ab35 + a930322 only; the rest wait for the next release.

October hunt re-measure, 2026-11-29 (origin/main @ 4799995f7)

Worktree: /home/paulca/.cache/hunt-remeasure (branch hunt/remeasure-20261129, uncommitted). 16 verifier files copied from the hunt/verify- branches (paths not on main); 33 hunt files already on main. Adapted setup only (asserts untouched): H3-M3 (SetSecret now takes map[string]Var); H2-M4 (ListenControl takes registry.Route; socket moved to a short MkdirTemp dir because the t.TempDir path exceeded the unix-socket limit). hunt/verify-astra-H1 carries no hunt_ test files, so H1 is not measured. Companion (non-TestHunt) tests in main's hunt files: all 15 PASS.

| id | claim | attacker | result | |---|---|---|---| | H2-M1 | Emptying /data/.moves/floor.min-release makes carlos-system-update run carlos.prev past an armed floor | any tenant code (flat tier, same uid) | FAIL host/huntH2M1test.go:84 (carlos.prev ran) | | H2-M2 | hostrole unit re-opens IMDS; only out-of-band nftables gate restricts it | any tenant code (granted hostrole) | PASS (render pin; the gap is out-of-band infra, not code) | | H2-M3 | docengine relaxes W^X and leaves loopback reachable | any tenant code (granted docengine) | PASS (render pin; co-tenancy is operator policy) | | H2-M4 | Instance control socket /purge verb is unauthenticated; a sibling empties another host's cache | any tenant code (same-uid sibling) | FAIL edge/huntH2M4test.go:52,55 (200, cache emptied; purge.go comment calls it deliberate) | | H2-M5 | Flat-row env read follows symlinks and blocks on a FIFO (nested reader refuses both) | any tenant code (flat tier, same uid) | FAIL activator/huntH2M5test.go:56 (FIFO blocks 3s), :121 (symlink followed); nested control PASS | | H2-M6 | Nested-default box mints a fresh record flat while the isolation gate is unanswered | any tenant code (gets flat isolation) | FAIL host/huntH2M6test.go:54 (mint = "") | | H3-M1 | Manifest/artifact swap behind a digestless signed pointer gets staged (incl. held and signed-head paths) | box agent / bucket writer | PASS (11 tests) | | H3-M2 | A scoped release key minted for one account promotes another account's channel; a lapsed grant still signs | scoped-key holder (another account's CI) + bucket writer | FAIL release/huntH3-M2test.go:52 (cross-account promote), :82 (lapsed key verifies) | | H3-M3 | A v1 secret envelope copied into another tenant's app decrypts into that tenant's env file | bucket reader + account member of another account | FAIL appconfig/huntH3-M3test.go:60 (LOOT=aaa-stripe-live-key) | | H3-M4 | Forged control/edges/*.json takes the backhaul dial | box agent / bucket writer | PASS (narrowing only: key must match body's box; header says open until routing claims are authenticated) | | H3-M5 | Replayed older signed pointer rolls a box back | box agent / bucket writer | PASS | | H3-M6 | Another app creates on a leftover host out of the console's region and inherits its replica | account member | FAIL console/huntH3-M6test.go:33 (201, want 409) | | H3-M7 | Forged instance record names Unit console.service; root try-restarts it | box agent / bucket writer | FAIL provision/huntH3-M7test.go:24 (row minted) and host/huntH3-M7test.go:35 (root ran try-restart console.service) | | H3-M8 | Account-less legacy pointer verifies under another account | box agent / bucket writer | PASS (2 tests) | | H3-M9 | Unsigned latest.txt makes carlos system update (no version) downgrade the fleet | controller of latest.txt host; operator runs update | FAIL console/huntH3-M9test.go:31 (router/canary -> v0.18.0 with boxes on v0.19.0) | | H4-M1 | Removing a member does not revoke credentials they minted | account member | PASS | | H4-M2 | Member (not owner) can trash an app via CLI | account member | PASS | | H4-M3 | Member can manage fleet boxes / mint box tokens | account member | PASS | | H4-M4 | Member can place/move a production app | account member | PASS | | H4-M5 | Global email budget lets anyone block unrelated users' sign-in mail | unauthenticated visitor | PASS | | H4-M6 | Junk codes lock a victim out of sign-in and step-up | unauthenticated visitor | PASS (2 tests) | | H4-M7 | Member can detach a domain | account member | PASS | | H4-M8 | Instance-report fetch follows a tenant redirect into the console's network (SSRF) | any tenant code | PASS | | H4-M9 | Ops owner CLI bearer alone uploads a binary and rolls out a system update, no step-up | operator (stolen ops CLI token) | FAIL console/huntH4-M9test.go:110 (canary pointer signed at 66587fa) | | H4-M10 | Pipeline promote bypasses the legacy stable passkey gate | account member | PASS | | H4-M11 | Step-up accepts a different Keymail identity whose address case/Unicode-folds to the session's (EqualFold) | stolen session + fold-equivalent Keymail identity | FAIL console/huntH4-M11test.go:63,66,69 (303 not 403; held owner removal ran) for both SAM@ and U+017F; verbatim-address pin PASS | | H4-M12 | Member clears an app's password gate without owner + step-up | account member | PASS | | H4-M13 | Missing Origin/Sec-Fetch-Site buys a login CSRF or session write | unauthenticated visitor | PASS (control; passed in October too) | | H5-M1 | Foreign account attaches a child of another account's catch-all; boxes install the exact alias over it | account member (console door); bucket writer (box half) | console door PASS (2 tests); box half FAIL domains/huntH5-M1test.go:52 (ReconcileAliases installs a verified foreign child) | | H5-M4 | Cache keys Vary: X-Forwarded-For on the inbound header, serving one client's variant to others | unauthenticated visitor | PASS | | H5-M5 | Stalled gate POSTs over backhaul hold every in-flight slot, 503ing other hosts | unauthenticated visitor | PASS | | H5-M6 | Small static site.tar.gz expands without bound on every serving box | any tenant code (account member shipping a release) | PASS | | H5-M7 | A few-KiB gzip log chunk decodes fully into console heap | box agent (fleet box writes logs) | PASS | | H5-M8 | A fleet token lists every account's claimed hostnames, including pending ones | box agent (any fleet token) | FAIL edge/huntH5-M8test.go:43 (foreign pending name listed) | | H5-M11 | Backhaul collapses all visitors from one edge into one gate-login limiter bucket | unauthenticated visitor | PASS | | H5-M12 | Unauthenticated SES/SNS endpoint grows the cert cache per URL fragment | unauthenticated visitor | PASS | | H5-M16 | Escaped path and host:port share a cache slot with the canonical URL | unauthenticated visitor | PASS (2 tests) | | H6-M2 | Digestless head lets a bucket writer replace promoted bytes | box agent / bucket writer | PASS (3 tests) | | H6-M3 | "latest" discovery rolls the channel back below its current pointer | controller of latest.txt host | PASS | | H6-M4 | Replayed signed SHA256SUMS poisons another tag | controller of the download host | PASS | | H6-M11 | Same-second superseded promotion restored by a bucket writer is admitted | box agent / bucket writer | PASS | | H6-M12 | uid-carlos writer forges noop=true to suppress a signed update | box agent (uid carlos) | PASS (2 tests) |

Summary: 42 findings measured; 29 PASS, 13 FAIL (still open: H2-M1, H2-M4, H2-M5, H2-M6, H3-M2, H3-M3, H3-M6, H3-M7, H3-M9, H4-M9, H4-M11, H5-M1 box half, H5-M8), 0 could-not-adapt; H1 has no verifier tests.

v0.44.0 is fully rolled (dev 11-28, flagship 11-29 22:0xZ; #421 released). The next release, carrying 7dbd8e1, 60f0dc3, c03affb, 029fd12, f9ca94c and 4799995, will be v0.44.1 (029fd12 sets SystemMovedAtFloor = v0.44.1). Dev first, flagship on Paul's GO. Its gates as listed by session 12ce63d6 apply: the digests REPAIR listing empty on both deployments, consoles before boxes, the flagship demo box gets CARLOSEXECSANDBOX=systemd before slice 2 reaches it, systemd >= 253 on demo boxes, the six-step install on dev demo box-1, and the TestRootGVisorContainment skipped=[] witness. Queued behind this report.

H5-M8 fixed on main 75231bf: the fleet store door's claim listing returns only the caller's own claims (pending included); single-flight refresh with per-edge and per-account admission; unreadable changed claims fail the listing. Not released yet.

H3-M9 fixed on main 46c0556: a resolved latest never moves a channel's boxes back (complete box inventory required, bounded report reads). Not released yet.

H3-M3 fixed on main 9d294ac: carlos accounts migrate refuses config bundles holding v2 envelope secrets before any write, copies from a one-read snapshot and reports keys that changed meanwhile. Not released yet.

H3-M2 fixed on main b1dce46: scoped release keys sign only for their grant's account; boxes refuse heads signed for another account or under an unbound grant. Lapsed-grant half still open (docs/superpowers/notes/2026-11-29-scoped-key-expiry.md). Not released yet.

H4-M11 fixed on main 1dee7c4: one canonical identity contract (internal/identity) for console grants and checks, the accounts CLI and minting; exact compares, legacy non-canonical owners cannot mint, AST guard against new folding. Not released yet.

H3-M6 fixed on main b27b455: one admission rule for every data transfer (create, move, app placement) refuses destinations whose leftover data the console cannot see; the activator refuses to seed over unattributed local data. Not released yet.

H2 (flat tier; with H2-M1, H2-M5, H2-M6) fixed on main 52d45c4: one effective floor bound across every predecessor selector and judge, nested minting by default, no-follow env and admin-token reads. The companion bucket Deny on control/{moves,seeds}-protocol.json is f9c1bd4 (infra-floor-keys-deny), merged but not applied to any root. Not released yet.

F5 slice 1 on main b9ddd8e: bounded build-output retention for demo apps (root adopt pass, root's own facts only) plus /data and /run room in status and a disk alert. Later F5 slices still to come. Not released yet.