Skip to content

[2026.10.10-beta.5] fix(security): backport fast-uri 4.2.3 to beta - #187285

Merged
RomneyDa merged 3 commits into
release/2026.10.10from
security/fast-uri-beta-20261029
Oct 29, 2026
Merged

RomneyDa merged 3 commits into
release/2026.10.10from
security/fast-uri-beta-20261029

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

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.

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]>
@clawsweeper

clawsweeper Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS labels Oct 29, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 29, 2026
@RomneyDa
RomneyDa marked this pull request as ready for review October 29, 2026 04:33
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper review

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 29, 2026
@clawsweeper

clawsweeper Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper

clawsweeper Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Updates 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

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A useful, focused patch with credible installed-integration coverage, limited by reported rather than directly inspectable runtime proof.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored PR is outside the ordinary contributor proof gate; its body reports installed SDK/Ajv before-and-after checks, while no shipped-session trace is supplied.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: MCP schema identifiers can be rewritten or resolved inconsistently by the affected URI parser.
Reason: The maintainer-authored direction addresses confirmed upstream defects through the established dependency owner with a narrowly scoped backport.

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
Reviewed head: dc8e3a06e5a21c4d19ea7e24be436dd14e6ac8df

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The supplied evidence reports installed dependency integration checks, rather than a shipped OpenClaw MCP session exercising the changed schema-resolution behavior.
Agent review details

How this fits together

External 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]
Loading

Technical review

Best 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

  • Existing fast-uri override and Ajv lock resolution keeps the original intent (ede3447: The prior refresh advanced fast-uri to 4.2.1 while preserving parser contracts and approved override scope; this identifies the pin update, not the original introduction of fast-uri.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit cd6fe82 adds pnpm-workspace.yaml:52 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: cd6fe8252e56; files: pnpm-workspace.yaml)

PR surface

Config +2, Other +37. Total +39 across 3 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 1 3 1 +2
Generated 0 0 0 0
Other 2 42 5 +37
Total 3 45 6 +39

Labels

Label changes:

No label changes.

Label justifications:

  • P2: A focused repair for confirmed affected dependency versions, without evidence of an active OpenClaw exploit or urgent user outage.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (1 earlier review cycle)
  • reviewed 2026-10-29T04:32:51.893Z sha dc8e3a0 :: needs maintainer review before merge. :: none

Reviewed October 29, 2026, 12:39 AM ET / 04:39 UTC (Revision 2).

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 29, 2026
@RomneyDa RomneyDa changed the title fix(security): backport fast-uri 4.2.3 to beta [2026.10.10-beta.5] fix(security): backport fast-uri 4.2.3 to beta Oct 29, 2026
@RomneyDa
RomneyDa merged commit 9f492b6 into release/2026.10.10 Oct 29, 2026
108 checks passed
@RomneyDa
RomneyDa deleted the security/fast-uri-beta-20261029 branch October 29, 2026 06:01
olyashok pushed a commit to cellect-ai/openclaw that referenced this pull request Nov 5, 2026
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants