Skip to content

fix(deps): resolve 3 Dependabot security alerts (brace-expansion, @babel/core, esbuild) - #98

Merged
aaronjmars merged 1 commit into
mainfrom
fix/dependabot-security-alerts
Jul 9, 2026
Merged

aaronjmars merged 1 commit into
mainfrom
fix/dependabot-security-alerts

Conversation

@aaronjmars

Copy link
Copy Markdown
Collaborator

Resolves the 3 open Dependabot alerts. Lockfile-only — no package.json changes.

Alert Package Sev Change Advisory
#20 brace-expansion Moderate 5.0.5 → 5.0.7 GHSA-jxxr-4gwj-5jf2 (large numeric range defeats max DoS guard)
#27 @babel/core Low 7.29.0 → 7.29.7 GHSA-4x5r-pxfx-6jf8 (arbitrary file read via sourceMappingURL)
#26 esbuild (dev) Low 0.27.7 → 0.28.1 GHSA-g7r4-m6w7-qqqr (arbitrary file read via dev server on Windows)

How

  • npm audit fix bumped the transitive brace-expansion (under @ts-morph/common/shadcn and @typescript-eslint) and @babel/core (satisfies shadcn's ^7.28.0).
  • esbuild was pulled up by bumping the transitive tsx 4.21.0 → 4.23.0 (whose esbuild range moves from ~0.27.0 to ~0.28.0); drizzle-kit already allows tsx ^4.21.0.

Verification

  • npm audit → 0 vulnerabilities
  • npm run build (next build, PGlite fallback — same as CI) → passes

Closes GHSA-jxxr-4gwj-5jf2, GHSA-4x5r-pxfx-6jf8, GHSA-g7r4-m6w7-qqqr.

Lockfile-only transitive bumps; no package.json changes needed.

- brace-expansion 5.0.5 -> 5.0.7  (GHSA-jxxr-4gwj-5jf2, #20, moderate)
    ReDoS-style DoS: large numeric range defeated the documented max guard.
    Affected copies under @ts-morph/common (shadcn) and @typescript-eslint.
- @babel/core   7.29.0 -> 7.29.7  (GHSA-4x5r-pxfx-6jf8, #27, low)
    Arbitrary file read via sourceMappingURL comment. Satisfies shadcn ^7.28.0.
- esbuild       0.27.7 -> 0.28.1  (GHSA-g7r4-m6w7-qqqr, #26, low, dev-only)
    Arbitrary file read via dev server on Windows. Pulled up by bumping the
    transitive tsx 4.21.0 -> 4.23.0 (drizzle-kit allows tsx ^4.21.0).

npm audit: 0 vulnerabilities. next build passes.
@aaronjmars
aaronjmars merged commit d04cef6 into main Jul 9, 2026
2 checks passed
@aaronjmars
aaronjmars deleted the fix/dependabot-security-alerts branch July 9, 2026 16:33
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.

1 participant