Skip to content

fix(deps): remediate open Dependabot alerts - #2385

Merged
steilerDev merged 1 commit into
betafrom
fix/dependabot-orphan-alerts
Nov 30, 2026
Merged

steilerDev merged 1 commit into
betafrom
fix/dependabot-orphan-alerts

Conversation

@steilerDev

Copy link
Copy Markdown
Owner

Summary

  • Remediates every orphan Dependabot alert still open on beta (no Dependabot PR covers them), using range-scoped root overrides plus in-range lockfile updates. npm audit --omit=dev stays at 0.
  • Splits the undici override per major, so @actions/http-client (undici ^6.23.0) is no longer forced onto 7.x. It now gets a nested 6.29.1.
  • CLAUDE.md: removes the braces residual (GHSA-vfj7-8cjw-p6xm was withdrawn on 2026-10-23) and records the glob/minimatch residual below.

Alerts

Package Old → new GHSAs Scope
fast-uri (3.x) 3.1.8 → 3.1.9 GHSA-xhq7-xmqj-769h, GHSA-w74x-v6f9-j3xg, GHSA-333x-w4r6-6crp, GHSA-wjr9-j795-jxcr runtime
fast-uri (4.x, under fast-json-stringify) 4.1.5 → 4.2.4 same as above runtime
ip-address 10.7.1 → 10.7.7 (npm-bundled 10.7.2 → 10.7.5) GHSA-rxp7-6hxx-x8q5 runtime (bundled copy: dev)
undici (7.x) 7.29.1 → 7.30.2 GHSA-2m5v-pch6-74hx, GHSA-9fm3-97px-rjf6, GHSA-qrxm-fqhp-jwvm, GHSA-4w7w-5xrc-9h26, GHSA-xjj6-f33q-929c dev
undici (6.x: @actions/http-client, npm-bundled node-gyp) 7.29.1 (forced) / 6.29.0 → 6.29.1 same as above dev
npm (bundles the fixed undici / ip-address) 11.21.1 → 11.21.3 (carrier for the bundled fixes) dev
follow-redirects 1.16.0 → 1.16.3 GHSA-q3jh-wrc6-jgq8, GHSA-8r9p-f939-6h3c dev
joi 17.13.8 → 17.13.9 GHSA-4528-x5fx-h6hg dev
serialize-javascript 7.0.5 → 7.1.4 GHSA-m5mm-p8h7-m29v dev
body-parser 2.3.0 → 2.4.0, 1.20.8 → 1.20.9 GHSA-27r3-jxmh-p828 dev
qs 6.16.0 → 6.16.2 (+ nested 6.17.1) GHSA-6pq8-jhm2-2vcw dev
launch-editor 2.14.1 → 2.14.2 GHSA-r825-w8mm-5pxw, GHSA-587h-7wmj-h5pm, GHSA-698v-4r3x-3vcv dev

undici 8.x (testcontainers) was already fixed by testcontainers 12.2.2 in #2384. Alerts evaluated on main close when beta is promoted.

In-range patch moves also touch glob/minimatch copies, including the runtime copies under @fastify/static (glob 14.0.6 → 14.0.7, minimatch 11.0.8 → 11.0.10).

Security review

security-engineer review follows.

Accepted residual

npm audit (full) reports 42 moderate rows, all GHSA-3g3m-2fjr-6pw4 (glob <13.0.7) and GHSA-g3hv-75wg-m249 (minimatch <11.0.1). They come in through testcontainers → archiver-utils (glob ^10), jest/test-exclude (minimatch ^10) and npm's bundled tree. The only fix crosses a major in those parents. All of it is dev/release tooling, and npm audit --omit=dev is 0. This matches the CLAUDE.md Dependency Policy for non-runtime findings. The residual is recorded there and is re-checked on each /dependabot run.

Test plan

  • npm audit --omit=dev reports 0
  • Lockfile regenerated with a full npm install (npm 11.19.1), not --package-lock-only
  • Exactly 15 Babel ERESOLVE overriding peer dependency warnings; the npm ls --all invalid-edge sweep prints nothing
  • check-single-dep-version.sh konva webpack OK; npm run format:check clean
  • CI Quality Gates green

Co-Authored-By: Claude product-architect noreply@anthropic.com
Co-Authored-By: Claude dev-team-lead noreply@anthropic.com

🤖 Generated with Claude Code

Overrides: undici split per major (6.29.1 / 7.30.2), fast-uri 3.1.9 / 4.2.4,
ip-address 10.7.7, npm 11.21.3 (bundles undici 6.29.1, ip-address 10.7.5),
joi 17.13.9, serialize-javascript 7.1.4. In-range lockfile updates:
follow-redirects 1.16.3, body-parser, qs, launch-editor, glob, minimatch.

- fast-uri: GHSA-xhq7-xmqj-769h, GHSA-w74x-v6f9-j3xg, GHSA-333x-w4r6-6crp,
  GHSA-wjr9-j795-jxcr
- ip-address: GHSA-rxp7-6hxx-x8q5
- undici 6.x/7.x: GHSA-2m5v-pch6-74hx, GHSA-9fm3-97px-rjf6,
  GHSA-qrxm-fqhp-jwvm, GHSA-4w7w-5xrc-9h26, GHSA-xjj6-f33q-929c
- follow-redirects: GHSA-q3jh-wrc6-jgq8, GHSA-8r9p-f939-6h3c
- joi: GHSA-4528-x5fx-h6hg
- serialize-javascript: GHSA-m5mm-p8h7-m29v
- body-parser: GHSA-27r3-jxmh-p828
- qs: GHSA-6pq8-jhm2-2vcw
- launch-editor: GHSA-r825-w8mm-5pxw, GHSA-587h-7wmj-h5pm, GHSA-698v-4r3x-3vcv

CLAUDE.md: drop the braces residual (GHSA-vfj7-8cjw-p6xm withdrawn
2026-10-23); record the glob/minimatch major-only residual.

Co-Authored-By: Claude product-architect <noreply@anthropic.com>
Co-Authored-By: Claude dev-team-lead <noreply@anthropic.com>
@steilerDev

Copy link
Copy Markdown
Owner Author

VERDICT: APPROVE

[security-engineer] Zero findings.

Security review verification

  1. GHSAs closed. I checked all 22 advisories with gh api /advisories/<id> and compared them to the lockfile.
    • Every resolved version is at or above its patched version: fast-uri 3.1.9 / 4.2.4 (patched 3.1.9 / 4.2.3), ip-address 10.7.7 and the npm-bundled 10.7.5 (patched 10.7.4), undici 6.29.1 / 7.30.2 (patched 6.29.1 / 7.30.1), and the dev packages follow-redirects 1.16.3, joi 17.13.9, serialize-javascript 7.1.4, body-parser 2.4.0 / 1.20.9, qs 6.16.2 and launch-editor 2.14.2.
    • The undici 8.x copy (testcontainers, 8.14.0) is above 8.12.2.
  2. Majors. None of the range-scoped overrides cross a major.
    • undici is split per major: >=6 <6.29.1 becomes 6.29.1 and >=7 <7.30.1 becomes 7.30.2.
    • The lockfile shows @actions/http-client/node_modules/undici at 6.29.1, the npm-bundled copy at 6.29.1, and root undici at 7.30.2.
    • The fast-uri 3.x and 4.x overrides are scoped separately. fast-json-stringify keeps a 4.2.4 copy, and the nested ajv keeps a 3.1.9 copy.
  3. Runtime moves. All are patch or minor moves inside their own line, from the npm registry. These are fast-uri 3.1.9 / 4.2.4, ip-address 10.7.7, @fastify/static's glob 14.0.7 and minimatch 11.0.10. They have no new dependency edges.
  4. Diff against beta. There are 33 version changes and 0 removals. Exactly two entries are added: @actions/http-client/node_modules/undici@6.29.1 (the intended split) and body-parser/node_modules/qs@6.17.1 (dev, from body-parser 2.4.0). Only the five workspace packages lack a registry resolved URL. A bulk-advisory query over all of the PR lockfile's resolved packages (npm registry advisory API) returns only the glob and minimatch advisories.
  5. Audit. I ran npm audit --omit=dev in the PR worktree and it reports 0 vulnerabilities. The full npm audit reports 42 moderate, all glob and minimatch.
  6. Residual. The glob and minimatch advisories are real, and I found no fix inside the vulnerable majors.
    • GHSA-3g3m-2fjr-6pw4 (glob) is patched only from 13.0.7. The lockfile still holds glob 10.5.0 (archiver-utils) and npm-bundled 13.0.6.
    • GHSA-g3hv-75wg-m249 (minimatch) is patched only from 11.0.1. The lockfile still holds minimatch 10.2.4 and 10.2.5.
    • These copies are all dev/release tooling. The runtime copies under @fastify/static are fixed (glob 14.0.7, minimatch 11.0.10). Accepting the residual matches the CLAUDE.md Dependency Policy.
  7. CLAUDE.md. GHSA-vfj7-8cjw-p6xm shows withdrawn_at: 2026-10-23, so deleting the braces bullet is correct. The new glob/minimatch bullet is accurate: the advisory ranges, the 42-row count and the parents all match. One optional wording point is that "(glob <13.0.7)" omits that 14.0.0 to 14.0.1 is also in range. No such copy is present, so this is not a finding.

@steilerDev
steilerDev merged commit c55ef1e into beta Nov 30, 2026
32 checks passed
@steilerDev
steilerDev deleted the fix/dependabot-orphan-alerts branch November 30, 2026 23:36
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.19.0-beta.95 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

1 participant