Repository navigation
[2026.10.10-beta.5] fix(security): backport fast-uri 4.2.3 to beta - #187285
Conversation
Adapt qualified extended-stable candidate 5025458 to release/2026.10.10. Pin only the maintained same-major URI parser security release and exercise the installed MCP/Ajv runtime graph. Upstream-Fix: fastify/fast-uri@39933a1 (Vincent Le Goff) Upstream-Fix: fastify/fast-uri@acc5c5d (Vincent Le Goff) Upstream-Fix: fastify/fast-uri@f6d46df (Vincent Le Goff) Upstream-Fix: fastify/fast-uri@a9b8d67 (Ulises Gascon) Co-authored-by: RomneyDa <[email protected]>
|
🦞👀 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. |
|
@clawsweeper review |
|
🦞👀 Re-review progress:
|
|
Codex review: needs maintainer review before merge. What this changesUpdates the beta branch’s fast-uri override and lockfile from 4.2.1 to 4.2.3 and adds an installed MCP/Ajv regression script. Example: Normalize ../x before resolving it against https://example.test/a/b.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it provides a useful, narrowly scoped beta security backport, and source review found no introduced defect. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherExternal MCP tool schemas enter OpenClaw’s schema validator, which delegates ordinary schemas to SDK Ajv and its fast-uri resolver; compiled validators then accept or reject structured tool results. flowchart LR
A[External MCP schema] --> B[OpenClaw schema validator]
B --> C[SDK Ajv validator]
C --> D[fast-uri resolver]
D --> E[Compiled schema]
E --> F[Tool result validation]
Technical reviewBest possible solution: Retain the focused upstream dependency backport and finish the beta train’s existing qualification before landing. Do we have a high-confidence way to reproduce the issue? The affected pin, production Ajv consumer, upstream changes, and regression inputs establish the parser failure path; the body reports baseline failure and fixed success, but this review executed no target code. Is this the best way to solve the issue? Updating the existing override to the maintained same-major fix is the smallest complete repair and avoids a downstream parser workaround. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 54818f9e6756. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceConfig +2, Other +37. Total +39 across 3 files. Added test files: 0. View PR surface stats
LabelsLabel changes: No label 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 29, 2026, 12:39 AM ET / 04:39 UTC (Revision 2). |
Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
Preserve the deployed requester-bound mail recovery checkpoint repair while integrating the reviewed backend recovery, question, model, and delivery fixes. Upstream OpenClaw backports and adaptations: - MCP listener recovery, openclaw#183352 / 7058d9e: Nice De Cc, songc, and Peter Steinberger. - Process lineage sharing, 7dc3350: Dallin Romney. - Model publication supersession, openclaw#179144 / 5a97c90: Peter Steinberger; adapted to this fork's successful skipped-candidate batches. - Authoritative delivery settlement, openclaw#169650 / c2fe11f: Peter Steinberger. - Blocking question routing, openclaw#170039 / e163d81: Peter Steinberger. - fast-uri security backport, openclaw#187285 / 9f492b6: Dallin Romney; upstream parser fixes by Vincent Le Goff and Ulises Gascon. - Nodemailer sender parsing, openclaw#187301 / 0692808: Dallin Romney; upstream parser fixes by Andris Reinman. Keep existing local question-answer custody and synchronous native Codex steering; preserve both published SDK module/ingress ownership repairs.
Summary
Update only the maintained fast-uri 4.2.1→4.2.3 runtime parser, its lock entries, and an installed MCP/Ajv regression. Three files, +45/-6. This is a local dependency integration, not an upstream source cherry-pick.
Necessity and provenance
External MCP tool schemas reach the SDK Ajv validator and its fast-uri dependency. The baseline accepts encoded schemes and ambiguous hosts and incorrectly normalizes a relative reference. The new regression reproduces these differences through the installed runtime dependency chain; no unauthenticated network exploit is claimed.
Fixes GHSA-w74x-v6f9-j3xg, GHSA-wjr9-j795-jxcr, GHSA-xhq7-xmqj-769h and GHSA-333x-w4r6-6crp. Exact upstream fixes credited in commit: Vincent Le Goff 39933a1f1422986f14e2d844f552238feb40f5d4, acc5c5d60c4209571789496e1732468911c7e12a, f6d46dfeab025d0c440485f4ae29fa4f14707646; Ulises Gascon a9b8d67353630aab053cd727cf629023dd018d2b. Required RomneyDa trailer retained.
Validation
Baseline regression fails and fixed installed-runtime regression passes; all 12 existing MCP metadata tests pass. Frozen installs, syntax, formatting, source/diff review and whitespace checks pass. Regression re-run independently before publication. Other audit findings remain outside this narrow repair.
Gates
DRAFT, not RFR. Exact-head independent canonical review, required hosted checks and broader train qualification remain outstanding. No merge or release approval.
Train
Targets release/2026.10.10 at b991757. Replaces the intended scope of erroneous managed-publication draft #187268; that draft targets main and must not merge.