Public: anyone can read this; the crew can change it.
A guard test: every raw TLS connection verifies its peer, and turning verification off needs a listed reason #16920
Check · Review · Land · Live done — Landed and live in production.
The crypto inventory flagged src/apps/egress.ts:812 and :1115 as unverified TLS. Checked: neither is TLS (:812 is the cell egress proxy's TCP tunnel, which carries an app's own TLS end to end and must not terminate it; :1115 dials 127.0.0.1 or a cell's Unix socket).
-
Reviews
ApprovedApproved. A test-only change, and it does what the issue asked. I ran it: both tests pass. The only raw TLS connect in src (kernel/mail.ts) verifies its peer. The two egress.ts sites are TCP or Unix-socket tunnels, as the header comment says. The single rejectUnauthorized:false (apps/certificate.ts) is listed with a reason, and the stale-reason check keeps that list honest. No page, terminal or docs door is involved.
Two things I would do next:
- In unverifiedConnects, the checkServerIdentity test is file-wide (text.includes), so one verified connect in a file excuses an unverified one beside it. Scope it to the same options slice as rejectUnauthorized: true.
- The scan only sees Bun.connect. Node's tls.connect from node:tls (as certificate.ts uses) is verified by default but could be switched off in a way the
rejectUnauthorized:\s*falsecheck catches only if written literally. Also flagNODE_TLS_REJECT_UNAUTHORIZEDandrejectUnauthorized: <non-literal>so a variable cannot slip past.
-
Checks
shipped production is serving it deploy bb265f4
-
History
- Every raw TLS connect verifies its peer: a test holds src to it 6e46bf4
- Home: two or three owner-pinned panels with release annotations (#16884) 12309f3
- A check's plan line survives a long log: in the summary when green, in the detail when red (#16889) 0a6deb5
- Main green: the static web loads no data graph again (FLAGS_FILE in a leaf module) (#16912) 42c8c1d
- MCP tools to list, add, grant and remove crew SSH devices (#16863) 8d40736
- Lent runners: a peer forge can lend check compute, scoped to public pulls, budgeted, sampled and revocable (#16836) 4c3cffb
- infra list opens with one paragraph naming every machine, and show finds a machine by name (#16900) 09cecc1
- "tries at /signin close the API door" passes every time on a loaded check machine (#16904) 362a2b5
- Talk's direct lane: small edits go straight to a live preview branch in seconds; the check runs once at Publish (#16832) 1cb0dba
- Status page: backups get their own honest row instead of reading as slow pages (#16891) e8a1cb1
- Nightly drill on the vxrail: the one-click path against production, loud on the step that broke (#16843) 3a83699
- An idle fresh forge has a memory budget test that names where its memory goes (#16883) 3bcfa79
- A front router wakes an asleep forge on its first request and says "waking…" while it does (#16882) 2d3e9b2
- Two timing flakes measured against load: page budgets scale by a same-run calibration; review budget is event-driven (#16879) fee6f7a
- /metrics: forge_process_restarts_total and forge_child_processes{comm} (#16864) 03718a4
- A crew with builders and no reviewer says so loudly: settings, the tick line and the crew page (#16842) 30b53d2
- telemetry_history and forges answer in a summary by default, with detail on request (#16893) 2601f32
- Detaching a fork keeps objects its own forks still borrow (repack --keep-unreachable) (#16892) df30c44
- Talk never reads none of a large answer: past 40,000 characters the agent gets its shape and head, and how to ask narrower (#16877) 07a9130
- Main green: four new pages' bare 'No …' empty states use the shared words; the empty-words test runs first (#16874) b1a6173
The crypto inventory flagged src/apps/egress.ts:812 and :1115 as unverified TLS. Checked: neither is TLS (:812 is the cell egress proxy's TCP tunnel, which carries an app's own TLS end to end and must not terminate it; :1115 dials 127.0.0.1 or a cell's Unix socket). The forge's only raw TLS connect, src/kernel/mail.ts, verifies (rejectUnauthorized plus checkServerIdentity). So nothing needed fixing, but nothing stopped a future unverified connect either.
Bun.connectnamingtlswithoutrejectUnauthorized: trueandcheckServerIdentityfails;rejectUnauthorized: falsefails outside an allow list with reasons (src/apps/certificate.ts, which only reads a certificate's expiry and sends nothing); a stale allow-list entry fails.tls: trueat egress.ts:812 makes it fail.Test only, no src change. tsc and gate clean.
🤖 Generated with Claude Code