Skip to content

fix(deps): remediate 9 Dependabot alerts via pnpm.overrides#277

Merged
marcusrbrown merged 2 commits intomainfrom
fix/dependabot-minimatch-rollup
Mar 3, 2026
Merged

fix(deps): remediate 9 Dependabot alerts via pnpm.overrides#277
marcusrbrown merged 2 commits intomainfrom
fix/dependabot-minimatch-rollup

Conversation

@fro-bot
Copy link
Owner

@fro-bot fro-bot commented Mar 3, 2026

Summary

Adds pnpm.overrides entries to pin transitive minimatch and rollup dependencies to patched versions, resolving all 9 open high-severity Dependabot alerts.

Dependabot Alerts Resolved

Alert(s) Package Vulnerability Before After
#18, #22, #25 minimatch 3.x ReDoS 3.1.2 3.1.5
#17, #21, #24 minimatch 9.x ReDoS 9.0.5 9.0.9
#20, #23 minimatch 10.x ReDoS 10.2.2 10.2.3
#19 rollup 4.x Arbitrary File Write via Path Traversal 4.55.1 4.59.0

Changes

package.json — Added overrides targeting each affected dependency tree:

src/main.test.ts — Increased timeout for the integration test that spawns a subprocess (dist/main.js). The test takes ~4.6s in isolation but could exceed the 5000ms default timeout under load when all 65 test files run concurrently.

Verification

  • All 969 tests pass ✅
  • pnpm build succeeds ✅
  • Vulnerable versions removed from pnpm-lock.yaml

Scope

  • No source code changes
  • No breaking changes
  • Purely additive override entries following existing pattern (e.g. @eslint/config-array>minimatch)

fro-bot added 2 commits March 3, 2026 03:09
- minimatch 3.x: 3.1.2 → 3.1.5 (@actions/glob dep; fixes alerts #18, #22, #25)
- minimatch 9.x: 9.0.5 → 9.0.9 (@typescript-eslint/typescript-estree dep; fixes alerts #17, #21, #24)
- minimatch 10.x: 10.2.2 → 10.2.3 (multiple eslint/glob/npm deps; fixes alerts #20, #23)
- rollup 4.x: 4.55.1 → 4.59.0 (vite dep; fixes alert #19 Arbitrary File Write)

All 969 tests pass.
The 'fails when server bootstrap fails' test spawns a Node subprocess
(dist/main.js) which takes ~4.6s in isolation but can exceed the 5000ms
default vitest timeout under load when all 65 test files run concurrently.
Increase to 15000ms to prevent flaky CI failures.
@fro-bot fro-bot requested a review from marcusrbrown as a code owner March 3, 2026 03:12
@fro-bot fro-bot mentioned this pull request Mar 3, 2026
41 tasks
@marcusrbrown marcusrbrown merged commit c3528cf into main Mar 3, 2026
10 checks passed
@marcusrbrown marcusrbrown deleted the fix/dependabot-minimatch-rollup branch March 3, 2026 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants