Skip to content

fix(deps): bump brace-expansion to 5.0.11 to unblock security-fast - #257

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

convyusboy merged 1 commit into
boonfrom
fix-brace-expansion-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 fails on boon (confirmed on a clean origin/boon checkout, unrelated to any in-flight PR) with 2 new HIGH advisories against the pinned brace-expansion override:

Why This Change Was Made

Bump the existing pnpm-workspace.yaml brace-expansion override from 5.0.9 to 5.0.11, the exact fixed version, matching the repo's existing conservative in-range bump convention (same pattern as #254's undici fix).

User Impact

No behavior change; only advances a transitive 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: 2 HIGH advisories found (brace-expansion); 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 the pinned brace-expansion override from 5.0.9 to 5.0.11 to clear the two HIGH advisories (GHSA-qhr7-859c-m2p7, GHSA-6j4f-fj2g-mc7p) that fail the security-fast production audit on boon. No runtime behavior changes—the bump only moves a transitive dependency past its advisory-affected range, with lockfiles regenerated to match the override.

Written for commit a56f8d2. Summary will update on new commits.

Review in cubic

Two new HIGH advisories on the pinned 5.x line: GHSA-qhr7-859c-m2p7
(DoS via uncontrolled recursion on nested brace groups) and
GHSA-6j4f-fj2g-mc7p (DoS via uncontrolled recursion in
parseCommaParts). Fixed at 5.0.11.

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

Copy link
Copy Markdown

Dependency Guard

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

Changed files:

  • 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

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: a56f8d2f369280b493f45c140170d57fb8d54f3a
  • Trusted actor: @convyusboy
  • Trusted role: pull request author; repository admin

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

@boon-hermes-bot boon-hermes-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: APPROVE

Verified at head a56f8d2f369280b493f45c140170d57fb8d54f3a (base boon).

Advisory coverage. GHSA-qhr7-859c-m2p7 (HIGH, nested brace groups) is first patched in 5.0.11 and GHSA-6j4f-fj2g-mc7p (HIGH, parseCommaParts) in 5.0.10 — confirmed against the GitHub Advisory Database. The bump to exactly 5.0.11 clears both, and the new pnpm-workspace.yaml comments state both vulnerable ranges accurately.

Artifact authenticity. The npm registry entry for [email protected] has dist.integrity sha512-awigjhi6cLTh90bdw6+QJ9CtmJmyYhEIi70iCbc8Rozn04Fw9FeQIBjv/E22FFGuCGx1bLJyUfB64x/szUSXUg== — byte-identical to the integrity pinned in both pnpm-lock.yaml and npm-shrinkwrap.json. Dependencies (balanced-match ^4.0.2) and engines (20 || >=22) unchanged, so this is a pure in-range patch bump of a transitive dep.

Lockfile consistency. Override, package entry, snapshot, and the [email protected] dependency edge all moved together in pnpm-lock.yaml; the root npm-shrinkwrap.json matches. A git grep for brace-expansion across every lock/shrinkwrap/workspace file at head shows only 5.0.11 — no stale 5.0.9 pins anywhere, and extension-level shrinkwraps never pinned it. The remaining ^5.0.5 is minimatch's declared range, resolved to 5.0.11. Exact-version override matches the repo convention (same pattern as the merged #254 undici fix).

CI. At head the CI workflow is fully green, including security-fast (the audit this PR unblocks), check-shrinkwrap, and build-artifacts — direct evidence the audit runs clean with this pin.

Caveat. Suites not run locally (no installed deps in the shared clone); CI covers the audit and shrinkwrap alignment. No cubic threads on this PR.

Merge-order note: landing this first turns #246's only red check (security-fast) green on its next run.

@boon-hermes-bot boon-hermes-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-confirming approval at unchanged head a56f8d2f (backstop sweep of a dropped Slack request).

Diff is lockfile/override only: brace-expansion 5.0.9 -> 5.0.11 in pnpm-workspace.yaml, pnpm-lock.yaml, npm-shrinkwrap.json, matching the pinned-override convention and fixing GHSA-qhr7-859c-m2p7 / GHSA-6j4f-fj2g-mc7p. Check-runs on this head are green. No code-path changes; safe to merge.

@convyusboy
convyusboy merged commit d138bac into boon Sep 30, 2026
125 checks passed
@convyusboy
convyusboy deleted the fix-brace-expansion-security-advisory branch September 30, 2026 12:40
convyusboy added a commit that referenced this pull request Oct 1, 2026
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.

4 participants