Repository navigation
fix(security): adopt patched workerd certificate rejection - #159
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs changes before merge. What this changesThis PR pins workerd to 1.20261021.1 through pnpm and updates its platform packages and dependency resolutions. Example: A local Worker fetches https://dv-g3b-emudhra.we-have-a-problem.com/ with historical CA roots explicitly trusted.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep this PR open: main still uses the older engine, and the published TLS evidence resolves the earlier security proof concern; the existing P3 changelog finding remains. Priority: P2 Before merge
Findings
Agent review detailsHow this fits togetherpnpm supplies Wrangler and Miniflare with the native workerd engine used for local Worker execution, including outbound HTTPS certificate verification; Cloudflare manages the deployed runtime separately. flowchart LR
A[pnpm override] --> B[Wrangler]
B --> C[Miniflare]
C --> D[Native workerd]
D --> E[TLS certificate verification]
E --> F[Outbound HTTPS]
Technical reviewBest possible solution: Retain the focused runtime override and add the required Unreleased line describing its local development and test scope. Do we have a high-confidence way to reproduce the issue? Main's older engine resolution is verified in source, and the published native baseline/candidate evidence demonstrates the affected certificate acceptance and its correction; this review did not execute the scenario locally. Is this the best way to solve the issue? The override updates the existing TLS implementation without introducing a second trust owner, changing application settings, or broadening the tooling refresh. Full review comments:
Overall correctness: patch is correct AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 6e370a168cb8. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
Reviewed October 26, 2026, 5:45 AM ET / 09:45 UTC (Revision 2). |
|
Native TLS proof supplement for final source This publishes the retained native macOS ARM64 evidence requested in the review. It exercises the actual selected native workerd binary's outbound Worker Release-note context: Local Worker development/test execution now uses workerd 1.20261021.1 to reject the disclosed compromised eMudhra keys, including when historical roots are explicitly supplied. Cloudflare's managed production fleet is outside this PR's delivery scope. Changelog disposition: I am declining the suggested CHANGELOG.md edit under the maintainer's explicit campaign instruction that CHANGELOG.md is release-owned. The maintainer workflow likewise puts release-note context in the PR/commit. Crabfleet's generic AGENTS.md Unreleased instruction was inspected; the task's explicit maintainer direction takes precedence. The release-note text above is retained for the release owner. No required review/security gate is waived. Exact inputs:
All 14 endpoints had independent successful exact-hostname and chain verification immediately before the matrix. Their captured intermediates match the six verified incident TLS SPKIs, including alternate/cross-signed certificates. The two code-signing keys are not live TLS cases; upstream denylist/source comparison supports them, not these HTTPS probes. Public Application-data claim boundary: The raw engine emits The original run was completed around 09:06–09:07UTC on 2026-10-26. It is reused because the committed two-file source bytes and installed native executable are identical; no expensive rebuild or guest restart was added for this publication. Raw result/error-reference mappings, full incident identities, legitimate controls and the executed harness are included below. Local paths are tokenized; private fixture keys and unrelated consumer rows are omitted. Exact selected native artifacts, installed resolver and committed files{
"head": "87ed08d76a203fb2efe2b889c1afd94fe9f68d8d",
"base": "6e370a168cb844def405023a2cf849fc8bbf2afa",
"sourceFiles": [
{
"path": "pnpm-lock.yaml",
"sha256": "ca596eca845441cda3135258fff3cc8df041eb2d8b6d3af73e44b1fa64e1cbcb"
},
{
"path": "pnpm-workspace.yaml",
"sha256": "39695edfeedef9f1c0ed6fd42afd8f0b4d44b3133e93a01d7208dd57eafca2ba"
}
],
"nativeArtifacts": [
{
"label": "crabfleet-baseline",
"path": "<TASKROOT>/native-engine/baseline-crabfleet/workerd",
"sha256": "3fd4b350cebf887265a20222fc530b21d843791266476199d16968600fa01922",
"version": "workerd 2026-10-01"
},
{
"label": "candidate",
"path": "<TASKROOT>/native-engine/1.20261021.1/workerd",
"sha256": "44a06c31a6578f234cdf7f23219b88978c8d8d21cb8ce85795cab53614b50d64",
"version": "workerd 2026-10-21",
"npmIntegrity": "sha512-OZ6Qkc9EwNl6kOyEBBQIOmOsbIfWCeR7F6h0EcScdjQLIB6drsmSpEZuBC3gAgz/eqDqjDrDCbPAA7jDllxIMw==",
"tarballSha256": "0ffe5070b2494dad46121253e9268115bc94b37a69eb7283d3a05f5439c1ba06",
"metadataSha256": "a4e17e123709b78c21ff04a106c42acea0314259262f1e19d8f642e5f76e3d4e"
}
],
"installedResolver": {
"wrangler": "4.147.0",
"miniflareEntry": "<TASKROOT>/crabfleet/repo/node_modules/miniflare/dist/src/index.js",
"workerdExecutable": "<TASKROOT>/crabfleet/repo/node_modules/@cloudflare/workerd-darwin-arm64/bin/workerd",
"sha256": "44a06c31a6578f234cdf7f23219b88978c8d8d21cb8ce85795cab53614b50d64"
}
}All 64 baseline/candidate result rows: both trust modes, 14 incident +2 legitimate controls each{"engine":"crabfleet-baseline","mode":"explicit-only","url":"https://example.com/","startedUtc":"2026-10-26T09:07:07.817234+00:00","result":{"ok":true,"status":200,"body":"<!doctype html><html lang=en><head><meta charset=utf-8><link rel=icon href=data:,><meta name=viewport content=\"width=dev"},"elapsedSeconds":0.033}
{"engine":"crabfleet-baseline","mode":"explicit-only","url":"https://localhost:19889/","startedUtc":"2026-10-26T09:07:07.851359+00:00","result":{"ok":true,"status":200,"body":"workerd-native-mac-private-positive"},"elapsedSeconds":0.004}
{"engine":"crabfleet-baseline","mode":"explicit-only","url":"https://dv-g3b-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:07.855898+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.174}
{"engine":"crabfleet-baseline","mode":"explicit-only","url":"https://dv-g3c-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:08.030959+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.172}
{"engine":"crabfleet-baseline","mode":"explicit-only","url":"https://ov-g3b-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:08.203765+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.173}
{"engine":"crabfleet-baseline","mode":"explicit-only","url":"https://ov-g3c-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:08.377966+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.171}
{"engine":"crabfleet-baseline","mode":"explicit-only","url":"https://ev-g3b-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:08.550319+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.172}
{"engine":"crabfleet-baseline","mode":"explicit-only","url":"https://ev-g3c-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:08.723524+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.173}
{"engine":"crabfleet-baseline","mode":"explicit-only","url":"https://dv-g3b-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:08.897950+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.172}
{"engine":"crabfleet-baseline","mode":"explicit-only","url":"https://dv-g3c-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:09.071396+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.171}
{"engine":"crabfleet-baseline","mode":"explicit-only","url":"https://ov-g3b-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:09.243246+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.171}
{"engine":"crabfleet-baseline","mode":"explicit-only","url":"https://ov-g3c-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:09.415455+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.171}
{"engine":"crabfleet-baseline","mode":"explicit-only","url":"https://ev-g3b-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:09.587385+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.171}
{"engine":"crabfleet-baseline","mode":"explicit-only","url":"https://ev-g3c-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:09.759422+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.171}
{"engine":"crabfleet-baseline","mode":"explicit-only","url":"https://dv-g3b-noct-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:09.931214+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.548}
{"engine":"crabfleet-baseline","mode":"explicit-only","url":"https://dv-g3b-aaa-noct-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:10.480367+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.547}
{"engine":"crabfleet-baseline","mode":"system-plus-explicit","url":"https://example.com/","startedUtc":"2026-10-26T09:07:11.146724+00:00","result":{"ok":true,"status":200,"body":"<!doctype html><html lang=en><head><meta charset=utf-8><link rel=icon href=data:,><meta name=viewport content=\"width=dev"},"elapsedSeconds":0.034}
{"engine":"crabfleet-baseline","mode":"system-plus-explicit","url":"https://localhost:19889/","startedUtc":"2026-10-26T09:07:11.181856+00:00","result":{"ok":true,"status":200,"body":"workerd-native-mac-private-positive"},"elapsedSeconds":0.004}
{"engine":"crabfleet-baseline","mode":"system-plus-explicit","url":"https://dv-g3b-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:11.187118+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.172}
{"engine":"crabfleet-baseline","mode":"system-plus-explicit","url":"https://dv-g3c-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:11.359768+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.171}
{"engine":"crabfleet-baseline","mode":"system-plus-explicit","url":"https://ov-g3b-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:11.531897+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.172}
{"engine":"crabfleet-baseline","mode":"system-plus-explicit","url":"https://ov-g3c-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:11.705208+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.172}
{"engine":"crabfleet-baseline","mode":"system-plus-explicit","url":"https://ev-g3b-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:11.878055+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.171}
{"engine":"crabfleet-baseline","mode":"system-plus-explicit","url":"https://ev-g3c-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:12.050042+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.172}
{"engine":"crabfleet-baseline","mode":"system-plus-explicit","url":"https://dv-g3b-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:12.223009+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.171}
{"engine":"crabfleet-baseline","mode":"system-plus-explicit","url":"https://dv-g3c-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:12.395171+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.171}
{"engine":"crabfleet-baseline","mode":"system-plus-explicit","url":"https://ov-g3b-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:12.567015+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.171}
{"engine":"crabfleet-baseline","mode":"system-plus-explicit","url":"https://ov-g3c-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:12.739152+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.171}
{"engine":"crabfleet-baseline","mode":"system-plus-explicit","url":"https://ev-g3b-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:12.911037+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.171}
{"engine":"crabfleet-baseline","mode":"system-plus-explicit","url":"https://ev-g3c-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:13.083013+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.171}
{"engine":"crabfleet-baseline","mode":"system-plus-explicit","url":"https://dv-g3b-noct-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:13.255129+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.548}
{"engine":"crabfleet-baseline","mode":"system-plus-explicit","url":"https://dv-g3b-aaa-noct-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:13.803834+00:00","result":{"ok":true,"status":200,"body":"Your client successfully connected to the site. That's bad!\n"},"elapsedSeconds":0.548}
{"engine":"candidate","mode":"explicit-only","url":"https://example.com/","startedUtc":"2026-10-26T09:07:14.472573+00:00","result":{"ok":true,"status":200,"body":"<!doctype html><html lang=en><head><meta charset=utf-8><link rel=icon href=data:,><meta name=viewport content=\"width=dev"},"elapsedSeconds":0.045}
{"engine":"candidate","mode":"explicit-only","url":"https://localhost:19889/","startedUtc":"2026-10-26T09:07:14.518527+00:00","result":{"ok":true,"status":200,"body":"workerd-native-mac-private-positive"},"elapsedSeconds":0.004}
{"engine":"candidate","mode":"explicit-only","url":"https://dv-g3b-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:14.523899+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = q99go2fqr92mfo4r6fkto27q","stack":"Error: internal error; reference = q99go2fqr92mfo4r6fkto27q\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.13}
{"engine":"candidate","mode":"explicit-only","url":"https://dv-g3c-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:14.655535+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = f9e39m6ci9kfuk0ulg2opbpa","stack":"Error: internal error; reference = f9e39m6ci9kfuk0ulg2opbpa\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.13}
{"engine":"candidate","mode":"explicit-only","url":"https://ov-g3b-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:14.786978+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = t1smbd4cc2ibao82cfikmehk","stack":"Error: internal error; reference = t1smbd4cc2ibao82cfikmehk\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.133}
{"engine":"candidate","mode":"explicit-only","url":"https://ov-g3c-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:14.920803+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = liopdvlj8kq4kacc464oq5g2","stack":"Error: internal error; reference = liopdvlj8kq4kacc464oq5g2\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.13}
{"engine":"candidate","mode":"explicit-only","url":"https://ev-g3b-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:15.052249+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = fs5ca5e6gi5unfo69ro196mj","stack":"Error: internal error; reference = fs5ca5e6gi5unfo69ro196mj\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.132}
{"engine":"candidate","mode":"explicit-only","url":"https://ev-g3c-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:15.185030+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = umpitkkp6onr4rdj5crn7uo0","stack":"Error: internal error; reference = umpitkkp6onr4rdj5crn7uo0\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.129}
{"engine":"candidate","mode":"explicit-only","url":"https://dv-g3b-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:15.315471+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = v8hhhva9uln2hg19rkd8lbm0","stack":"Error: internal error; reference = v8hhhva9uln2hg19rkd8lbm0\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.129}
{"engine":"candidate","mode":"explicit-only","url":"https://dv-g3c-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:15.445513+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = po9sls9p66850ha6332le4m9","stack":"Error: internal error; reference = po9sls9p66850ha6332le4m9\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.132}
{"engine":"candidate","mode":"explicit-only","url":"https://ov-g3b-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:15.578346+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = q2lg4p9oq3d3on46p1h2naiq","stack":"Error: internal error; reference = q2lg4p9oq3d3on46p1h2naiq\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.13}
{"engine":"candidate","mode":"explicit-only","url":"https://ov-g3c-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:15.709036+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = l47jc6vam5onul584ibou9sg","stack":"Error: internal error; reference = l47jc6vam5onul584ibou9sg\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.129}
{"engine":"candidate","mode":"explicit-only","url":"https://ev-g3b-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:15.839569+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = q4uh16lpp3uvn6rrumc7vh8k","stack":"Error: internal error; reference = q4uh16lpp3uvn6rrumc7vh8k\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.131}
{"engine":"candidate","mode":"explicit-only","url":"https://ev-g3c-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:15.971996+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = rttlo3c26u7lk6a7nfpgip7l","stack":"Error: internal error; reference = rttlo3c26u7lk6a7nfpgip7l\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.128}
{"engine":"candidate","mode":"explicit-only","url":"https://dv-g3b-noct-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:16.101421+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = dtbtq8th75kgcfmj65698pqo","stack":"Error: internal error; reference = dtbtq8th75kgcfmj65698pqo\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.409}
{"engine":"candidate","mode":"explicit-only","url":"https://dv-g3b-aaa-noct-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:16.511740+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = eao6sjfn5irgikc4mtvtrd12","stack":"Error: internal error; reference = eao6sjfn5irgikc4mtvtrd12\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.477}
{"engine":"candidate","mode":"system-plus-explicit","url":"https://example.com/","startedUtc":"2026-10-26T09:07:17.110085+00:00","result":{"ok":true,"status":200,"body":"<!doctype html><html lang=en><head><meta charset=utf-8><link rel=icon href=data:,><meta name=viewport content=\"width=dev"},"elapsedSeconds":0.121}
{"engine":"candidate","mode":"system-plus-explicit","url":"https://localhost:19889/","startedUtc":"2026-10-26T09:07:17.231991+00:00","result":{"ok":true,"status":200,"body":"workerd-native-mac-private-positive"},"elapsedSeconds":0.006}
{"engine":"candidate","mode":"system-plus-explicit","url":"https://dv-g3b-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:17.238778+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = fdf7f5qpbogtdn8dbeg113pq","stack":"Error: internal error; reference = fdf7f5qpbogtdn8dbeg113pq\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.14}
{"engine":"candidate","mode":"system-plus-explicit","url":"https://dv-g3c-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:17.380246+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = 61a9pm4ue8dghi6imog6ucbb","stack":"Error: internal error; reference = 61a9pm4ue8dghi6imog6ucbb\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.137}
{"engine":"candidate","mode":"system-plus-explicit","url":"https://ov-g3b-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:17.518026+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = k1gpho3avfqpheq3qutpuled","stack":"Error: internal error; reference = k1gpho3avfqpheq3qutpuled\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.136}
{"engine":"candidate","mode":"system-plus-explicit","url":"https://ov-g3c-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:17.655372+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = mhudi8u9m438c1v6pjl7gfki","stack":"Error: internal error; reference = mhudi8u9m438c1v6pjl7gfki\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.135}
{"engine":"candidate","mode":"system-plus-explicit","url":"https://ev-g3b-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:17.791996+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = am0eo3qv3ag116464jfd1sgs","stack":"Error: internal error; reference = am0eo3qv3ag116464jfd1sgs\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.136}
{"engine":"candidate","mode":"system-plus-explicit","url":"https://ev-g3c-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:17.929076+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = v95cmcrlquukkpql49lfvv54","stack":"Error: internal error; reference = v95cmcrlquukkpql49lfvv54\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.137}
{"engine":"candidate","mode":"system-plus-explicit","url":"https://dv-g3b-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:18.067134+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = d8ub6oktf10pkmenpce8iutp","stack":"Error: internal error; reference = d8ub6oktf10pkmenpce8iutp\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.133}
{"engine":"candidate","mode":"system-plus-explicit","url":"https://dv-g3c-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:18.201715+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = 7orpgcpl3ueai3a0iccoarpe","stack":"Error: internal error; reference = 7orpgcpl3ueai3a0iccoarpe\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.133}
{"engine":"candidate","mode":"system-plus-explicit","url":"https://ov-g3b-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:18.335500+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = ievkrdbqh74dsqim4fqsh1um","stack":"Error: internal error; reference = ievkrdbqh74dsqim4fqsh1um\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.133}
{"engine":"candidate","mode":"system-plus-explicit","url":"https://ov-g3c-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:18.469918+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = dgk9ed838feqmbvm5d6cq9g4","stack":"Error: internal error; reference = dgk9ed838feqmbvm5d6cq9g4\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.133}
{"engine":"candidate","mode":"system-plus-explicit","url":"https://ev-g3b-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:18.604587+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = m292f5aom03k1rpdtkqa825u","stack":"Error: internal error; reference = m292f5aom03k1rpdtkqa825u\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.133}
{"engine":"candidate","mode":"system-plus-explicit","url":"https://ev-g3c-aaa-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:18.738491+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = r9um9663j8gthrasp5t30bfp","stack":"Error: internal error; reference = r9um9663j8gthrasp5t30bfp\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.132}
{"engine":"candidate","mode":"system-plus-explicit","url":"https://dv-g3b-noct-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:18.871965+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = 4tq57i5pg6kgiernfifkmblb","stack":"Error: internal error; reference = 4tq57i5pg6kgiernfifkmblb\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.418}
{"engine":"candidate","mode":"system-plus-explicit","url":"https://dv-g3b-aaa-noct-emudhra.we-have-a-problem.com/","startedUtc":"2026-10-26T09:07:19.290916+00:00","result":{"ok":false,"name":"Error","error":"internal error; reference = vllc48hf62n8pvgp95baeddk","stack":"Error: internal error; reference = vllc48hf62n8pvgp95baeddk\n at async Object.fetch (worker.js:1:164)"},"elapsedSeconds":0.414}All 14 successful incident chain/hostname controls and DER/SPKI identities{"host":"dv-g3b-emudhra.we-have-a-problem.com","startedUtc":"2026-10-26T09:06:30.386568+00:00","verifiedChainAndHostname":true,"leafSha256":"9dcb21b1841d75313b3c888f4bb9cc01f8f51379a76fbaa241ca492b668839e7","tlsVersion":"TLSv1.2","opensslExit":0,"certificates":[{"sha256":"9dcb21b1841d75313b3c888f4bb9cc01f8f51379a76fbaa241ca492b668839e7","spkiSha256":"27a1f73e0e681ca0d5e8cb036a111944cef09f1ee170a6f6df0023b97b290a14"},{"sha256":"42c4accd12c4f59597925e1a08a7a90102608543809308d50ec427e118ba1493","spkiSha256":"ebed6475c2c2d80fcb199f3fe8dd6e6b3ce60b77eb15d4e42c3dec0c6f5b5105"},{"sha256":"3094025792039a68af6e553686410bdab7c0d4a36b9084cba64202e35d6ebbdd","spkiSha256":"c619e4780ed8e0abeda24ad732567de4383a7ea941338f6d1a7d1b49ac792fe9"}]}
{"host":"dv-g3c-emudhra.we-have-a-problem.com","startedUtc":"2026-10-26T09:06:31.425622+00:00","verifiedChainAndHostname":true,"leafSha256":"346cdd962e97189b59aee5526d1ae8fa714bb1a64094dfa67bef768ee93f36b5","tlsVersion":"TLSv1.2","opensslExit":0,"certificates":[{"sha256":"346cdd962e97189b59aee5526d1ae8fa714bb1a64094dfa67bef768ee93f36b5","spkiSha256":"3664c953170348edae3994e80efafd61315caebc321f1a8d7f5af680669d4036"},{"sha256":"0164d7ceae5bb909c272af151ff44b1177ae9b47d9424b94f1d9558c30934d19","spkiSha256":"49dd353dc2b919a3770645117d0e60c16115e7d1bc259eefe734b00ea434fe5f"},{"sha256":"3094025792039a68af6e553686410bdab7c0d4a36b9084cba64202e35d6ebbdd","spkiSha256":"c619e4780ed8e0abeda24ad732567de4383a7ea941338f6d1a7d1b49ac792fe9"}]}
{"host":"ov-g3b-emudhra.we-have-a-problem.com","startedUtc":"2026-10-26T09:06:32.084218+00:00","verifiedChainAndHostname":true,"leafSha256":"f3c3c15bc7edf2b3ebdc922af112f2a0c414eb509901099ef0488c0942e77efe","tlsVersion":"TLSv1.2","opensslExit":0,"certificates":[{"sha256":"f3c3c15bc7edf2b3ebdc922af112f2a0c414eb509901099ef0488c0942e77efe","spkiSha256":"a7789d73777f937d30d460bb63140cf96a7993cf7eb3ed524c7934e8b13bcdd6"},{"sha256":"98b896625c0c230adeec3eb2cf6aad5001ecf9156a68644e82374ce5833bc25b","spkiSha256":"43bffa19d6ef651451f6841e019931e96f6f2eaeff28ab4b6f1ce4576de2717b"},{"sha256":"3094025792039a68af6e553686410bdab7c0d4a36b9084cba64202e35d6ebbdd","spkiSha256":"c619e4780ed8e0abeda24ad732567de4383a7ea941338f6d1a7d1b49ac792fe9"}]}
{"host":"ov-g3c-emudhra.we-have-a-problem.com","startedUtc":"2026-10-26T09:06:32.630448+00:00","verifiedChainAndHostname":true,"leafSha256":"4314941cf242a4ea4149aa7e9cdf77a15de2771a79984b809fc04443fea013c8","tlsVersion":"TLSv1.2","opensslExit":0,"certificates":[{"sha256":"4314941cf242a4ea4149aa7e9cdf77a15de2771a79984b809fc04443fea013c8","spkiSha256":"5cf80e7da3a0d79957e629a882ca3cd4b8f4f69b5395aa1331e29c7f566ed835"},{"sha256":"cb6e15165ac802e9b3f993f16c25d41f4e81c21ebde71ae1b012ac00bf9c7c3f","spkiSha256":"63ecefee431d49523bc1136c4e72d0206a477086caf606cd5cf025686c109cf8"},{"sha256":"3094025792039a68af6e553686410bdab7c0d4a36b9084cba64202e35d6ebbdd","spkiSha256":"c619e4780ed8e0abeda24ad732567de4383a7ea941338f6d1a7d1b49ac792fe9"}]}
{"host":"ev-g3b-emudhra.we-have-a-problem.com","startedUtc":"2026-10-26T09:06:33.186690+00:00","verifiedChainAndHostname":true,"leafSha256":"66374ae64962c437bd815a2aae546c76e30c2eafac8335192c8e517c15a246ed","tlsVersion":"TLSv1.2","opensslExit":0,"certificates":[{"sha256":"66374ae64962c437bd815a2aae546c76e30c2eafac8335192c8e517c15a246ed","spkiSha256":"a71197075e9c9d022e0d625af25a96a24ef8c70251c86f61fe2068bc0f3a7bdf"},{"sha256":"e7568fe6e12331f4fd7de61da4c7559d0f8eb192a218d4741a3ba75184333838","spkiSha256":"e0254c7fcdc265e2f0f8a428dabb75ab4ae039b4872d62f5ee57f0877d5a8a41"},{"sha256":"3094025792039a68af6e553686410bdab7c0d4a36b9084cba64202e35d6ebbdd","spkiSha256":"c619e4780ed8e0abeda24ad732567de4383a7ea941338f6d1a7d1b49ac792fe9"}]}
{"host":"ev-g3c-emudhra.we-have-a-problem.com","startedUtc":"2026-10-26T09:06:33.732885+00:00","verifiedChainAndHostname":true,"leafSha256":"ccd80467f9cac38f115dcb6e4f57e4d74f5efa519814ea934aeb3be53b83a191","tlsVersion":"TLSv1.2","opensslExit":0,"certificates":[{"sha256":"ccd80467f9cac38f115dcb6e4f57e4d74f5efa519814ea934aeb3be53b83a191","spkiSha256":"b74e43c738db7d9e909cadcc3376d6cb4552092cb1ccfac7a7063eec1af9cc70"},{"sha256":"432ec25f0d28de9006d97bf752f17bbb2cd41f669933fcb072d9a1148d0261f3","spkiSha256":"5c0660a2b164910d8ff589c18e14552e9e0ec237dcefe2cb736d41a4811f81a0"},{"sha256":"3094025792039a68af6e553686410bdab7c0d4a36b9084cba64202e35d6ebbdd","spkiSha256":"c619e4780ed8e0abeda24ad732567de4383a7ea941338f6d1a7d1b49ac792fe9"}]}
{"host":"dv-g3b-aaa-emudhra.we-have-a-problem.com","startedUtc":"2026-10-26T09:06:34.279780+00:00","verifiedChainAndHostname":true,"leafSha256":"7e02622ab6d745c1edb4b431bb1c551e667305c3dd3eb0c7cc6dfdb523807424","tlsVersion":"TLSv1.2","opensslExit":0,"certificates":[{"sha256":"7e02622ab6d745c1edb4b431bb1c551e667305c3dd3eb0c7cc6dfdb523807424","spkiSha256":"3a8db3240fead2b9e2d090337cab06d0db55b9968db2725de153143d5c7fcdde"},{"sha256":"45a883f349aedfd5f3a649b5498ffb121712ba8b448f3f2a91dbc5a766fcddbe","spkiSha256":"ebed6475c2c2d80fcb199f3fe8dd6e6b3ce60b77eb15d4e42c3dec0c6f5b5105"}]}
{"host":"dv-g3c-aaa-emudhra.we-have-a-problem.com","startedUtc":"2026-10-26T09:06:34.808800+00:00","verifiedChainAndHostname":true,"leafSha256":"9200d153c3cac272cc06bf68f9ea163fc24659fc3331e77668236fe00645ae52","tlsVersion":"TLSv1.2","opensslExit":0,"certificates":[{"sha256":"9200d153c3cac272cc06bf68f9ea163fc24659fc3331e77668236fe00645ae52","spkiSha256":"37170552befaae4d481cb7ba6e751c6e816f2cc5b26c342ed56a28bf38a175ec"},{"sha256":"62b7f9868263f72f6911fc78ceaf72c1979158b7368bf648683bb2aa39b02e72","spkiSha256":"49dd353dc2b919a3770645117d0e60c16115e7d1bc259eefe734b00ea434fe5f"}]}
{"host":"ov-g3b-aaa-emudhra.we-have-a-problem.com","startedUtc":"2026-10-26T09:06:35.347262+00:00","verifiedChainAndHostname":true,"leafSha256":"21f57f83631a93c98e867050075746b3361e0433c9e0e969462852476784f6f0","tlsVersion":"TLSv1.2","opensslExit":0,"certificates":[{"sha256":"21f57f83631a93c98e867050075746b3361e0433c9e0e969462852476784f6f0","spkiSha256":"8d6fe8fb0a4a01e31dc4ca5ceb534c492d7933934d58965b7512c154512afde2"},{"sha256":"5f1ded4dd590af74631290cf073b122a2aac6a1fa479778a0bd43579bd832699","spkiSha256":"43bffa19d6ef651451f6841e019931e96f6f2eaeff28ab4b6f1ce4576de2717b"}]}
{"host":"ov-g3c-aaa-emudhra.we-have-a-problem.com","startedUtc":"2026-10-26T09:06:35.910353+00:00","verifiedChainAndHostname":true,"leafSha256":"59cf0386b56bc2414a0c06241ea9e25e01a9c93bac7a596648747f9d0ded4906","tlsVersion":"TLSv1.2","opensslExit":0,"certificates":[{"sha256":"59cf0386b56bc2414a0c06241ea9e25e01a9c93bac7a596648747f9d0ded4906","spkiSha256":"f86d8ec8528a4b8db4ed56161a804e7e02582f1d0a4f7835ee001899260d2b0c"},{"sha256":"7485b51c0ed192878fa1d2f948fb529ae1842cc5086c4b67f7be5b2039de9489","spkiSha256":"63ecefee431d49523bc1136c4e72d0206a477086caf606cd5cf025686c109cf8"}]}
{"host":"ev-g3b-aaa-emudhra.we-have-a-problem.com","startedUtc":"2026-10-26T09:06:36.662309+00:00","verifiedChainAndHostname":true,"leafSha256":"bc88231a840e54cced148da48806169e8d0b1c0a96267a427aeccda9d10e6145","tlsVersion":"TLSv1.2","opensslExit":0,"certificates":[{"sha256":"bc88231a840e54cced148da48806169e8d0b1c0a96267a427aeccda9d10e6145","spkiSha256":"0b80b5bca4e2f21ccc4857f3525171a422e80ca18211f0b63cbdc429858bf357"},{"sha256":"579480aea166290bd3c643589e795fc0d0e54e86505d180f1dff99efd3199512","spkiSha256":"e0254c7fcdc265e2f0f8a428dabb75ab4ae039b4872d62f5ee57f0877d5a8a41"}]}
{"host":"ev-g3c-aaa-emudhra.we-have-a-problem.com","startedUtc":"2026-10-26T09:06:37.190980+00:00","verifiedChainAndHostname":true,"leafSha256":"bcd6ab59ea95fd520bfe7709679b1f682abbd79c77367e84e25415b91de37753","tlsVersion":"TLSv1.2","opensslExit":0,"certificates":[{"sha256":"bcd6ab59ea95fd520bfe7709679b1f682abbd79c77367e84e25415b91de37753","spkiSha256":"cf1b4dfb8c8ce14bcaf8b4558d0ed5443a514ed8d54d803656d350371d4c6715"},{"sha256":"fd9d5c2dbbd4995ab69b8d50c439d9527b00529199c2fd01b2174eb58f07021f","spkiSha256":"5c0660a2b164910d8ff589c18e14552e9e0ec237dcefe2cb736d41a4811f81a0"}]}
{"host":"dv-g3b-noct-emudhra.we-have-a-problem.com","startedUtc":"2026-10-26T09:06:37.718240+00:00","verifiedChainAndHostname":true,"leafSha256":"0cbfe22b824385823fd3bf4be4d131e8901342933a7feef1cf8b3110b8e44a70","tlsVersion":"TLSv1.2","opensslExit":0,"certificates":[{"sha256":"0cbfe22b824385823fd3bf4be4d131e8901342933a7feef1cf8b3110b8e44a70","spkiSha256":"844f3fa44fa1e71dd80c69046456d3781e78cf21e49ef649784bab3c9b4cc876"},{"sha256":"42c4accd12c4f59597925e1a08a7a90102608543809308d50ec427e118ba1493","spkiSha256":"ebed6475c2c2d80fcb199f3fe8dd6e6b3ce60b77eb15d4e42c3dec0c6f5b5105"},{"sha256":"3094025792039a68af6e553686410bdab7c0d4a36b9084cba64202e35d6ebbdd","spkiSha256":"c619e4780ed8e0abeda24ad732567de4383a7ea941338f6d1a7d1b49ac792fe9"}]}
{"host":"dv-g3b-aaa-noct-emudhra.we-have-a-problem.com","startedUtc":"2026-10-26T09:06:39.030143+00:00","verifiedChainAndHostname":true,"leafSha256":"5510ecf5764dee8dfe9468ae2d7323da21fcd5530889906540a2f8725c6f74db","tlsVersion":"TLSv1.2","opensslExit":0,"certificates":[{"sha256":"5510ecf5764dee8dfe9468ae2d7323da21fcd5530889906540a2f8725c6f74db","spkiSha256":"02d0cef99bfa58c570b93d0905af1a725c5a55a087cfbe1a9c6b2a4e74d940f5"},{"sha256":"45a883f349aedfd5f3a649b5498ffb121712ba8b448f3f2a91dbc5a766fcddbe","spkiSha256":"ebed6475c2c2d80fcb199f3fe8dd6e6b3ce60b77eb15d4e42c3dec0c6f5b5105"}]}Candidate explicit-only: all 14 raw CertDistrusted handshake errors, linked wdErrId valuesCandidate platform+explicit: all 14 raw Revoked handshake errors, linked wdErrId valuesActual executed native harness (task-root path redacted only)from pathlib import Path
import base64, datetime, hashlib, http.server, io, json, os, re, shutil, socket, ssl, subprocess, tarfile, threading, time, urllib.parse, urllib.request
root=Path('<TASKROOT>')
p=root/'native-engine';p.mkdir(exist_ok=True)
evidence=p/'evidence';evidence.mkdir(exist_ok=True)
fixture=p/'fixture';fixture.mkdir(exist_ok=True)
old=p/'old-explicit-ca.pem'
assert hashlib.sha256(old.read_bytes()).hexdigest()=='c3aa6ce83618c247fdeb0afad3a4eb1d01da2eb9035defe70f74c4bbaaca986f'
hosts=json.loads((p/'hosts.json').read_text())
engines=[]
for row in json.loads((root/'baseline-installs.json').read_text()):
assert row['exitCode']==0 and len(row['artifacts'])==1,row
artifact=row['artifacts'][0]
dest=p/('baseline-'+row['repo']);dest.mkdir(exist_ok=True)
executable=dest/'workerd'
shutil.copyfile(artifact['path'],executable);executable.chmod(0o755)
assert hashlib.sha256(executable.read_bytes()).hexdigest()==artifact['sha256']
engines.append({'label':row['repo']+'-baseline','path':str(executable),'sha256':artifact['sha256'],'version':artifact['version']})
version='1.20261021.1';dest=p/version;dest.mkdir(exist_ok=True)
metadata_bytes=urllib.request.urlopen('https://registry.npmjs.org/@cloudflare/workerd-darwin-arm64/'+version,timeout=30).read()
metadata=json.loads(metadata_bytes);(dest/'npm-metadata.json').write_bytes(metadata_bytes)
tar=urllib.request.urlopen(metadata['dist']['tarball'],timeout=60).read();algorithm,want=metadata['dist']['integrity'].split('-',1)
assert base64.b64encode(hashlib.new(algorithm,tar).digest()).decode()==want
(dest/'published.tgz').write_bytes(tar)
with tarfile.open(fileobj=io.BytesIO(tar),mode='r:gz') as archive:binary=archive.extractfile('package/bin/workerd').read()
executable=dest/'workerd';executable.write_bytes(binary);executable.chmod(0o755)
engines.append({'label':'candidate','path':str(executable),'sha256':hashlib.sha256(binary).hexdigest(),'version':subprocess.check_output([str(executable),'--version'],text=True).strip(),'npmIntegrity':metadata['dist']['integrity'],'tarballSha256':hashlib.sha256(tar).hexdigest(),'metadataSha256':hashlib.sha256(metadata_bytes).hexdigest()})
(evidence/'artifact-identities.json').write_text(json.dumps(engines,indent=2)+'\n')
commands=[['openssl','req','-x509','-newkey','rsa:2048','-nodes','-keyout',str(fixture/'ca.key'),'-out',str(fixture/'ca.pem'),'-days','3','-subj','/CN=Workerd Native Mac Task CA'],['openssl','req','-newkey','rsa:2048','-nodes','-keyout',str(fixture/'server.key'),'-out',str(fixture/'server.csr'),'-subj','/CN=localhost']]
for cmd in commands:subprocess.run(cmd,capture_output=True,check=True)
(fixture/'extensions').write_text('subjectAltName=DNS:localhost,IP:127.0.0.1\nextendedKeyUsage=serverAuth\nbasicConstraints=CA:FALSE\n')
subprocess.run(['openssl','x509','-req','-in',str(fixture/'server.csr'),'-CA',str(fixture/'ca.pem'),'-CAkey',str(fixture/'ca.key'),'-CAcreateserial','-out',str(fixture/'server.pem'),'-days','3','-sha256','-extfile',str(fixture/'extensions')],capture_output=True,check=True)
class Handler(http.server.BaseHTTPRequestHandler):
def do_GET(self):
body=b'workerd-native-mac-private-positive';self.send_response(200);self.send_header('Content-Length',str(len(body)));self.end_headers();self.wfile.write(body)
def log_message(self,*args):pass
server=http.server.ThreadingHTTPServer(('127.0.0.1',19889),Handler)
context=ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER);context.load_cert_chain(fixture/'server.pem',fixture/'server.key');server.socket=context.wrap_socket(server.socket,server_side=True);threading.Thread(target=server.serve_forever,daemon=True).start()
(p/'old-and-private.pem').write_bytes(old.read_bytes()+b'\n'+(fixture/'ca.pem').read_bytes())
cert_files=[]
for i,pem in enumerate(re.findall('-----BEGIN CERTIFICATE-----[\\s\\S]*?-----END CERTIFICATE-----',(p/'old-and-private.pem').read_text())):
out=p/('anchor-'+str(i)+'.pem');out.write_text(pem+'\n');cert_files.append(out.name)
(p/'worker.js').write_text("export default { async fetch(request) { const target = new URL(request.url).searchParams.get('target'); if (!target) return new Response('ready'); try { const r = await fetch(target); const text = await r.text(); return Response.json({ok:true,status:r.status,body:text.slice(0,120)}); } catch(e) { return Response.json({ok:false,name:e.name,error:e.message,stack:e.stack}); } } };")
controls=[]
for host in hosts:
row={'host':host,'startedUtc':datetime.datetime.now(datetime.timezone.utc).isoformat()}
try:
client=ssl.create_default_context(cafile=str(old))
with socket.create_connection((host,443),timeout=15) as sock:
with client.wrap_socket(sock,server_hostname=host) as tls:
der=tls.getpeercert(binary_form=True)
row.update(verifiedChainAndHostname=True,leafSha256=hashlib.sha256(der).hexdigest(),tlsVersion=tls.version())
r=subprocess.run(['openssl','s_client','-connect',host+':443','-servername',host,'-verify_return_error','-CAfile',str(old),'-showcerts'],input='',capture_output=True,text=True,timeout=20)
(evidence/(host+'.chain.txt')).write_text(r.stdout+r.stderr)
row['opensslExit']=r.returncode;row['certificates']=[]
for i,pem in enumerate(re.findall('-----BEGIN CERTIFICATE-----[\\s\\S]*?-----END CERTIFICATE-----',r.stdout)):
file=evidence/(host+'.'+str(i)+'.pem');file.write_text(pem+'\n')
der=subprocess.check_output(['openssl','x509','-in',str(file),'-outform','DER'])
pub=subprocess.check_output(['openssl','x509','-in',str(file),'-pubkey','-noout'])
spki=subprocess.run(['openssl','pkey','-pubin','-outform','DER'],input=pub,check=True,capture_output=True).stdout
row['certificates'].append({'sha256':hashlib.sha256(der).hexdigest(),'spkiSha256':hashlib.sha256(spki).hexdigest()})
assert row['certificates'][0]['sha256']==row['leafSha256']
except Exception as error:row['controlError']=str(error)
controls.append(row)
(evidence/'incident-controls.json').write_text(json.dumps(controls,indent=2)+'\n')
rows=[]
try:
for index,engine in enumerate(engines):
for mi,mode in enumerate(['explicit-only','system-plus-explicit']):
port=19860+index*3+mi
extra=', trustedCertificates = ['+', '.join('embed '+json.dumps(name) for name in cert_files)+']'
config='using Workerd = import "/workerd/workerd.capnp";\nconst config :Workerd.Config = (services = [(name="main",worker=(modules=[(name="worker.js",esModule=embed "worker.js")],compatibilityDate="2026-10-01",globalOutbound="internet")),(name="internet",network=(allow=["public","private","local"],tlsOptions=(trustBrowserCas=TRUST EXTRA)))],sockets=[(name="http",address="127.0.0.1:PORT",http=(),service="main")]);\n'.replace('TRUST','true' if mode=='system-plus-explicit' else 'false').replace(' EXTRA',extra).replace('PORT',str(port))
cp=p/(engine['label']+'-'+mode+'.capnp');cp.write_text(config)
with (evidence/(engine['label']+'-'+mode+'.log')).open('w') as log:
env={k:v for k,v in os.environ.items() if k.upper() not in ['SSL_CERT_FILE','SSL_CERT_DIR','NODE_EXTRA_CA_CERTS','HTTP_PROXY','HTTPS_PROXY','ALL_PROXY']}
proc=subprocess.Popen([engine['path'],'serve',str(cp)],stdout=log,stderr=log,env=env)
try:
ready=False
for attempt in range(100):
if proc.poll() is not None:break
try:urllib.request.urlopen('http://127.0.0.1:'+str(port),timeout=1).read();ready=True;break
except Exception:time.sleep(.1)
if not ready:rows.append({'engine':engine['label'],'mode':mode,'setupFailed':True,'exit':proc.poll()});continue
urls=['https://example.com/','https://localhost:19889/']+['https://'+host+'/' for host in hosts]
for url in urls:
row={'engine':engine['label'],'mode':mode,'url':url,'startedUtc':datetime.datetime.now(datetime.timezone.utc).isoformat()};start=time.monotonic()
try:
row['result']=json.loads(urllib.request.urlopen('http://127.0.0.1:'+str(port)+'/?target='+urllib.parse.quote(url,safe=''),timeout=20).read())
except Exception as error:row['harnessError']=str(error)
row['elapsedSeconds']=round(time.monotonic()-start,3);rows.append(row)
(evidence/'results.json').write_text(json.dumps(rows,indent=2)+'\n')
print(engine['label'],mode,'completed',flush=True)
finally:
proc.terminate()
try:proc.wait(timeout=5)
except subprocess.TimeoutExpired:proc.kill();proc.wait()
finally:
server.shutdown();server.server_close()
(evidence/'results.json').write_text(json.dumps(rows,indent=2)+'\n')
(evidence/'resources.json').write_text(json.dumps({'taskProcessesStopped':True,'trustMutated':False,'fixturePort':19889,'workerdPorts':[19860+i*3+j for i in range(len(engines)) for j in range(2)],'platform':dict(zip(['system','node','release','version','machine'],os.uname())),'pythonTLS':ssl.OPENSSL_VERSION},indent=2)+'\n')Public private-CA fixture certificates (no private keys)SHA256 identities of public projections and original retained inputs{
"sourceInputs": {
"collected/native-engine/evidence/results.json": {
"sha256": "0c6f25ddb0abcdbc14c60f4839777f85baf043301453d6711172503fbc4b1d39",
"bytes": 62749
},
"collected/native-engine/evidence/incident-controls.json": {
"sha256": "f8c539d12d895159588a970141d73516c4bc7ff4ce807a357eaae5e6cbc90f22",
"bytes": 11199
},
"collected/native-engine/evidence/artifact-identities.json": {
"sha256": "f301372785aa269e5c936b6823c8862ec3f8edceb0fe116c6a7a176a5d343c8c",
"bytes": 2184
},
"collected/native-engine/evidence/candidate-explicit-only.log": {
"sha256": "e19a29bdb7fc38bab45c51189c422c4c0ead0fd7586e9731b6c93e3d703a6569",
"bytes": 3682
},
"collected/native-engine/evidence/candidate-system-plus-explicit.log": {
"sha256": "a7a9f29a639afe6b12b4644a4a0fe3f786916c01059b2a4b9ed8a7a1ba02f92c",
"bytes": 3318
},
"native-engine/probe.py": {
"sha256": "ee8cb0733361114b7bcf7cf9f3a00bc21d51b2ce415b4f1aff7b84e5982d1170",
"bytes": 9387
},
"collected/native-engine/candidate-explicit-only.capnp": {
"sha256": "d83d15c1f844dddc2b65bf1eb41bad7ace3529727fc46c80d04c374cbe51fe01",
"bytes": 3845
},
"collected/native-engine/candidate-system-plus-explicit.capnp": {
"sha256": "713ced0181b3a50111daf19fe3bf6cc637f4cbe1885804f1a649d8909e24994e",
"bytes": 3844
},
"collected/native-engine/crabfleet-baseline-explicit-only.capnp": {
"sha256": "f5b587d1458cb9f6c693a53768b008fd869a619e7927285e2f8ea1730b07427a",
"bytes": 3845
},
"collected/native-engine/crabfleet-baseline-system-plus-explicit.capnp": {
"sha256": "b2a6e8b20ff40e58fbc7b74b127e4d6052b41d8c3f5fa2448e154b8e19adb086",
"bytes": 3844
},
"collected/native-engine/old-explicit-ca.pem": {
"sha256": "c3aa6ce83618c247fdeb0afad3a4eb1d01da2eb9035defe70f74c4bbaaca986f",
"bytes": 218786
},
"collected/crabfleet/evidence/candidate-selected-identity.log": {
"sha256": "fbab044b9a9878aadf58788821b5a3761f81c7efb3933839b7b4dbc70104a432",
"bytes": 377
}
},
"publicFiles": [
{
"path": "baseline-install.json",
"sha256": "f66617a4aaf3b410595857df622c4c3d027ea954de4447dd40c6a644ebd2863b",
"bytes": 629
},
{
"path": "candidate-explicit-only.log",
"sha256": "e19a29bdb7fc38bab45c51189c422c4c0ead0fd7586e9731b6c93e3d703a6569",
"bytes": 3682
},
{
"path": "candidate-selected-identity.json",
"sha256": "5eb1e3e1cc3f28f4891be9e4f203314129de32b960e6ae113bcd3cc511ec128b",
"bytes": 308
},
{
"path": "candidate-system-plus-explicit.log",
"sha256": "a7a9f29a639afe6b12b4644a4a0fe3f786916c01059b2a4b9ed8a7a1ba02f92c",
"bytes": 3318
},
{
"path": "executed-harness-redacted.py",
"sha256": "51594b8dda3a727eacb6e2bc6a2096d80d1803b19a62bd53f956442afbf9f736",
"bytes": 9344
},
{
"path": "incident-chain-hostname-controls.jsonl",
"sha256": "449ff563d53044e8f7aa9cb5a546b31b31bdaf90d374dad21d71c515c2681c47",
"bytes": 9264
},
{
"path": "native-artifact-identities.json",
"sha256": "4b72b2500c384d5a817ec1bab7e4e1db46a4b1ce0913f5db1b025807c62df869",
"bytes": 744
},
{
"path": "private-positive-public-certificates.pem",
"sha256": "bbaa0f96c06e7828760ef1a00ce20954c405f59f0568285d1550d8a2726b8691",
"bytes": 2115
},
{
"path": "results.jsonl",
"sha256": "61c736d849f8512ac6f3bf984b6b0b7a560004b109451f629abf16dedaed5566",
"bytes": 21355
},
{
"path": "worker.js",
"sha256": "573accdc39c516d30ea033449117ccb4e150b092bbd8f014fc1211f2d1763bfb",
"bytes": 380
}
],
"privateCaPemSha256": "eb98cc48b4107492ceb5814e2efa50631db1d7924b151ed9660d4988b41decc4",
"privateLeafPemSha256": "6fcef34d2be2837b43a5a88301660567432a096e461c63e8fa656a34a0d0b256"
} |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Pin local workerd to 1.20261021.1 so the development/test engine rejects the verified compromised eMudhra keys even when historical roots are supplied explicitly. Retain the existing Wrangler/Miniflare versions and package-manager owner; regenerate the lockfile through its native manager. No application trust bypass or production deployment is introduced.
Validation on native macOS ARM64 (Node 26.12.1, Bun 1.4.4 or repository-pinned pnpm/npm):
pnpm check,pnpm test,pnpm test:native(Go race/vet), all pass. Linux/macOS independently generated locks byte-identical.44a06c31a6578f234cdf7f23219b88978c8d8d21cb8ce85795cab53614b50d64.CertDistrustedwith explicit-only historical trust;Revokedwith system-plus-explicit trust; public HTTPS and task private-CA HTTPS pass in both modes. Independent chain+exact-hostname controls 14/14 pass; six TLS key identities match verified incident denylist, including alternate/cross-sign chains. Two code-signing keys covered by exact upstream-source denylist comparison, not live code-signing execution.git diff --checkpasses.Limits: macOS app/Xcode and managed Cloudflare fleet not qualified. Current-OS Linux gate route meets documented repository contract; no gate waiver. This validates source, rebuilt bundle and local engine behavior; it does not establish deployed Cloudflare/fleet delivery or other native architectures.
Existing automatic effects: PR CI/CodeQL/ClawSweeper dispatch. Future main push deploys production product router, applies configured D1 migrations and deploys desktop backend/domain configuration. Pages filters do not match this diff. No merge/deploy authorized or performed.
Exact base
6e370a168cb844def405023a2cf849fc8bbf2afa; reviewed patch SHA2569635ccf43c5ff2a9ff08f210657ec36253bd9f1590ebd2b5c5041ee7ce8b8a61. Detailed evidence is retained in the local available-fix campaignlanes/workerd-propagation-macos/crabfleet/REPORT.mdandMANIFEST.json.Final tested source head
87ed08d76a203fb2efe2b889c1afd94fe9f68d8d. The committed file bytes match the reviewed and natively validated two-file proposal exactly; no post-proof source change.Public native TLS evidence
The inspectable final-head supplement contains the complete retained native output: exact selected native binary and source hashes, both 14-case trust-mode matrices, actual handshake stderr/reference IDs, independent chain/hostname controls, legitimate public/private-CA controls and the executed harness. Explicit-only reports CertDistrusted; platform+explicit reports Revoked. This establishes handshake certificate rejection before Worker fetch completion; direct remote wire-byte/0-RTT measurement remains unverified and is not claimed.
Release-note context: Local Worker development/test execution adopts workerd 1.20261021.1 compromised-key rejection, including explicit historical roots; this PR does not establish managed Cloudflare fleet delivery. CHANGELOG.md remains release-owned under explicit maintainer campaign direction; the supplement explains the disposition of the generic Unreleased suggestion.