Repository navigation
fix(deps): bump brace-expansion to 5.0.11 to unblock security-fast - #257
Conversation
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]>
Dependency GuardThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
Dependency graph changes notedThis PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin or a member of
Security review is still recommended before merge when the dependency graph change is intentional. |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
What Problem This Solves
security-fast'spnpm-audit-prod.mjscheck fails onboon(confirmed on a cleanorigin/booncheckout, unrelated to any in-flight PR) with 2 new HIGH advisories against the pinnedbrace-expansionoverride:parseCommaPartsWhy This Change Was Made
Bump the existing
pnpm-workspace.yamlbrace-expansionoverride 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'sundicifix).User Impact
No behavior change; only advances a transitive dependency past its advisory-affected range. Keeps
security-fastgreen for this and all other open/future PRs againstboon.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-expansionoverride from 5.0.9 to 5.0.11 to clear the two HIGH advisories (GHSA-qhr7-859c-m2p7, GHSA-6j4f-fj2g-mc7p) that fail thesecurity-fastproduction audit onboon. 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.