FE-1308: Fix npm vulnerabilities from 2026-08-03 scan in brunch - #399
Conversation
Bump vulnerable transitive dependencies in package-lock.json, all within existing semver ranges (no overrides required): - brace-expansion 5.0.5 -> 5.0.9 - undici 7.24.5 -> 7.28.0 (via release-it 20.0.1 -> 20.2.1) - dompurify 3.4.2 -> 3.4.12 - js-yaml 4.1.1 -> 4.3.1 - form-data 4.0.5 -> 4.0.6 - fast-uri 3.1.2 -> 3.1.5 - qs 6.15.0 -> 6.15.3 - body-parser 2.2.2 -> 2.3.0 - @babel/core 7.29.0 -> 7.29.7 A second brace-expansion copy (5.0.6) remains pinned by @earendil-works/pi-coding-agent's npm-shrinkwrap.json and cannot be fixed from this repo; tracked in FE-1308.
PR SummaryLow Risk Overview Security-targeted bumps include Transitive companions from those updates include Reviewed by Cursor Bugbot for commit d168822. Bugbot is set up for automated code reviews on this repo. Configure here. |
Requested by Tim Diekmann · Slack thread
Closes FE-1308
Weekly vuln-scan fix pass for the 2026-08-03 scan. Lockfile-only change: all bumps are within existing semver ranges via
npm update/ a targetedrelease-itbump — no overrides needed.Fixes
The undici fix uses the transitive-dep-upgrade ladder:
release-itpins undici exactly, so it is bumped 20.0.1 → 20.2.1 (in-range for^20.0.1), which moves its undici pin from 7.24.5 to 7.28.0. Incidental in-range companions pulled by these bumps: @babel/* family → 7.29.7/7.29.8, type-is 2.0.1 → 2.1.0, side-channel 1.1.0 → 1.1.1, side-channel-list 1.0.0 → 1.0.1, hasown 2.0.2 → 2.0.4, and a nested content-type@2.0.0 (all advisory-free).Known remainder (not fixable from this repo)
A second brace-expansion 5.0.6 copy lives at
node_modules/@earendil-works/pi-coding-agent/node_modules/brace-expansion, pinned by pi-coding-agent's ownnpm-shrinkwrap.json. Rootoverridesdo not penetrate shrinkwrapped subtrees (verified empirically: with"brace-expansion": "^5.0.8"in overrides,npm installstill reifies 5.0.6 there). Even the latest pi-coding-agent (0.83.0, published 2026-07-29) ships brace-expansion 5.0.7 in its shrinkwrap — registry evidence:npm view+ tarball inspection ofpackage/npm-shrinkwrap.jsonshowsnode_modules/brace-expansion: 5.0.7, which fixes GHSA-3jxr but is still < 5.0.8 required for GHSA-mh99-v99m-4gvg. Brunch pins@earendil-works/pi-coding-agentat exactly 0.79.8, so this needs an upstream shrinkwrap refresh (5.0.8+) and/or a deliberate pi-coding-agent version bump as a follow-up.Excluded (already covered by open PRs)
viteto v7.3.5 [SECURITY] #243 / SRE-808: upgrade vulnerable npm dependencies (2026-07-13 weekly scan) #332honoto v4.12.27 [SECURITY] #375protobufjsto v7.6.5 [SECURITY] #352chrome-devtools-mcpto v1 [SECURITY] #244Verification
npm lsconfirms resolved versions for every touched package; no vulnerable versions remain inpackage-lock.jsonfor touched packages (lock diff shows matching removals for every addition)npm ci --ignore-scriptsfrom the updated lockfile passes🤖 Generated with Claude Code
https://claude.ai/code/session_01WfQz9Y36mQ8J6kRC3zaEtt
Generated by Claude Code