Skip to content

fix(deps): bump fast-uri override to 3.1.4 - #112443

Merged
joshavant merged 1 commit into
mainfrom
fix/fast-uri-3.1.4-advisory
Jul 21, 2026
Merged

joshavant merged 1 commit into
mainfrom
fix/fast-uri-3.1.4-advisory

Conversation

@jalehman

Copy link
Copy Markdown
Contributor

What Problem This Solves

The security-fast CI job's "Audit production dependencies" step fails repo-wide — including on main — since 2026-07-21 22:08 UTC, when GHSA-v2hh-gcrm-f6hx published (fast-uri host confusion via literal backslash authority delimiter, HIGH, vulnerable >=3.0.0 <=3.1.3, first patched 3.1.4). The pnpm override pins fast-uri: 3.1.3 — the fix for the earlier advisory cleared by #112406 — which the new advisory also covers, so openclaw/ci-gate is red on every PR regardless of content.

Why This Change Was Made

scripts/pre-commit/pnpm-audit-prod.mjs --audit-level=high fails closed on HIGH advisories in production dependencies. fast-uri is a transitive production dependency via [email protected]. Bumping the override to the first patched version (3.1.4, exact pin per repo override policy) clears the advisory and unblocks CI. Same shape as the previous bump in #112406: override in pnpm-workspace.yaml, regenerated pnpm-lock.yaml, regenerated npm shrinkwraps.

User Impact

No product behavior change. Restores green security-fast/openclaw/ci-gate for all PRs and main. Resolved dependency trees ship fast-uri 3.1.4, which fixes the URI host-confusion parsing flaw.

Evidence

  • node scripts/pre-commit/pnpm-audit-prod.mjs --audit-level=high → No high or higher advisories found for production dependencies.
  • node scripts/generate-npm-shrinkwrap.mjs --all --check → all 82 shrinkwrap files current
  • node scripts/run-vitest.mjs test/scripts/root-package-overrides.test.ts test/package-manager-config.test.ts → 2 files, 16 tests passed
  • git diff --check → clean
  • [email protected] integrity in the lockfile/shrinkwraps matches the npm registry dist.integrity for that version
  • Advisory: GHSA-v2hh-gcrm-f6hx (published 2026-07-21T22:08:28Z; vulnerable >=3.0.0 <=3.1.3; patched 3.1.4)

@jalehman
jalehman marked this pull request as ready for review July 21, 2026 23:24
@openclaw-barnacle openclaw-barnacle Bot added the maintainer Maintainer-authored PR label Jul 21, 2026
@jalehman
jalehman requested a review from a team as a code owner July 21, 2026 23:24
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Guard

This PR changes dependency-related files. Maintainers should confirm these changes are intentional.

Changed files:

  • extensions/acpx/npm-shrinkwrap.json
  • extensions/lobster/npm-shrinkwrap.json
  • npm-shrinkwrap.json
  • pnpm-lock.yaml
  • pnpm-workspace.yaml

Maintainer follow-up:

  • Review whether the dependency changes are intentional.
  • Inspect resolved package deltas when lockfile, shrinkwrap, or workspace dependency policy changes are present.
  • Treat package-lock.json and npm-shrinkwrap.json diffs as security-review surfaces.
  • Run pnpm deps:changes:report -- --base-ref origin/main --markdown /tmp/dependency-changes.md --json /tmp/dependency-changes.json locally for detailed release-style evidence.

@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Jul 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Dependency graph changes are blocked

OpenClaw does not accept dependency graph changes through PRs unless a repository admin or security explicitly authorizes the current head SHA. Dependency updates are generated internally by maintainers so external PRs cannot change the resolved graph.

Detected dependency graph changes:

  • extensions/acpx/npm-shrinkwrap.json changed.
  • extensions/lobster/npm-shrinkwrap.json changed.
  • npm-shrinkwrap.json changed.
  • pnpm-lock.yaml changed.

Auto-scrub was not attempted because this PR also changes dependency-related files that are not package lockfiles:

  • pnpm-workspace.yaml

Please remove lockfile changes manually if they are not needed.

To remove lockfile changes, restore them from the target branch:

git fetch origin
git checkout 'origin/main' -- 'extensions/acpx/npm-shrinkwrap.json' 'extensions/lobster/npm-shrinkwrap.json' 'npm-shrinkwrap.json' 'pnpm-lock.yaml'
git commit -m 'chore: remove dependency lockfile change'
git push

If this PR intentionally needs a dependency graph change, ask a repository admin or member of @openclaw/openclaw-secops to comment:

/allow-dependencies-change

The action will approve the current head SHA (20056bd8228c5dae0491d9a173f861a65dbae9dc) when it reruns. A later push requires a fresh approval.

@clawsweeper

clawsweeper Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: fix(deps): bump fast-uri override to 3.1.4 This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@joshavant
joshavant merged commit 73d2b27 into main Jul 21, 2026
162 of 167 checks passed
@joshavant
joshavant deleted the fix/fast-uri-3.1.4-advisory branch July 21, 2026 23:48
@steipete

steipete commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

Update: GitHub recorded this PR as merged after #112444. Its merge commit is tree-empty because the byte-identical security patch was already present on main; no further action is needed.

Current main resolves patched fast-uri 3.1.4 and security-fast passes. Thanks for the correct, focused fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies-changed PR changes dependency-related files extensions: acpx extensions: lobster Extension: lobster maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants