Skip to content

fix(deps): bump undici to 7.29.1 / 8.10.2 to unblock security-fast - #254

Merged
convyusboy merged 1 commit into
boonfrom
fix-undici-security-advisory
Sep 30, 2026
Merged

convyusboy merged 1 commit into
boonfrom
fix-undici-security-advisory

Conversation

@convyusboy

@convyusboy convyusboy commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

security-fast's pnpm-audit-prod.mjs check now fails on boon (confirmed on a clean origin/boon checkout, unrelated to any other in-flight PR) with 4 new HIGH advisories against the two pinned undici major lines:

  • GHSA-rfgv-xxqx-mfg5 — DoS via unrequested WebSocket subprotocol (both 7.x and 8.x lines)
  • GHSA-w293-vg96-wgc3 — TLS certificate-validation bypass via dropped connect options in BalancedPool (both 7.x and 8.x lines)

Why This Change Was Made

Bump the existing per-major-line pnpm-workspace.yaml overrides (undici@7, undici@8) to the exact fixed versions: 7.29.1 and 8.10.2 respectively, matching the repo's existing conservative in-range bump convention.

npm's overrides mechanism rejects an override that conflicts with an unmatched direct-dependency version, so the direct undici deps in root package.json and in extensions/browser, extensions/discord, extensions/qa-matrix, extensions/telegram (all pinned at the old 8.9.0) needed the matching bump too.

User Impact

No behavior change; this only advances a transitive/direct dependency past its advisory-affected range. Keeps security-fast green for this and all other open/future PRs against boon.

Evidence

  • node scripts/pre-commit/pnpm-audit-prod.mjs --audit-level=high — before: 4 HIGH advisories found (undici); after: No high or higher advisories found for production dependencies.
  • node scripts/run-vitest.mjs run test/package-manager-config.test.ts — 12/12 passed (shrinkwrap/pnpm-lock alignment).

🤖 Generated with Claude Code


Summary by cubic

Bumps undici to 7.29.1 and 8.10.2 so security-fast's production audit passes. Four new HIGH advisories were failing on both major lines: GHSA-rfgv-xxqx-mfg5 (DoS via unrequested WebSocket subprotocol) and GHSA-w293-vg96-wgc3 (TLS certificate-validation bypass in BalancedPool).

  • Updates the pnpm-workspace.yaml overrides for undici@7 and undici@8 to the fixed versions.
  • Bumps the direct undici 8.9.0 pins in root package.json and the browser, discord, qa-matrix, and telegram extensions, since npm rejects an override that conflicts with an unmatched direct dependency.
  • No behavior change; updates lockfiles and shrinkwrap accordingly.

Written for commit 9ca9eb2. Summary will update on new commits.

Review in cubic

Two new HIGH advisories on both pinned undici major lines:
GHSA-rfgv-xxqx-mfg5 (DoS via unrequested WebSocket subprotocol) and
GHSA-w293-vg96-wgc3 (TLS cert-validation bypass via dropped connect
options in BalancedPool). Fixed at 7.29.1 and 8.10.2 respectively.

Also bumps the direct undici deps in root package.json and the
browser/discord/qa-matrix/telegram extensions that pinned 8.9.0
directly, since npm's overrides mechanism rejects an override that
conflicts with an unmatched direct-dependency version.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@convyusboy
convyusboy requested a review from a team September 30, 2026 02:01
@github-actions

Copy link
Copy Markdown

Dependency Guard

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

Changed files:

  • extensions/browser/package.json
  • extensions/discord/npm-shrinkwrap.json
  • extensions/discord/package.json
  • extensions/qa-matrix/package.json
  • extensions/telegram/package.json
  • npm-shrinkwrap.json
  • package.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

Copy link
Copy Markdown

Dependency graph changes noted

This PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin or a member of @openclaw/openclaw-secops.

  • Current SHA: 9ca9eb2df9a1d81c3e21eb70e0a05d954b938729
  • Trusted actor: @convyusboy
  • Trusted role: pull request author; repository admin

Security review is still recommended before merge when the dependency graph change is intentional.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants