Skip to content

fix(deps): resolve audit vulnerabilities#180

Merged
mcalthrop merged 1 commit into
mainfrom
fix/security-vulnerabilities
Jul 22, 2026
Merged

fix(deps): resolve audit vulnerabilities#180
mcalthrop merged 1 commit into
mainfrom
fix/security-vulnerabilities

Conversation

@mcalthrop

Copy link
Copy Markdown
Owner

Summary

Resolves all 5 vulnerabilities reported by pnpm audit (1 high, 1 moderate, 3 low), all in transitive dependencies.

Root cause of the regression: pnpm 11.15.1 (merged in #179) no longer reads the pnpm field in package.json, so every override was being silently ignored ([WARN] The "pnpm" field in package.json is no longer read by pnpm). This had disabled the existing overrides on main, re-exposing the undici advisories. This PR migrates all overrides to pnpm-workspace.yaml (their new home) and widens/adds entries to cover the current advisories.

Vulnerabilities fixed

Package Severity Advisory Vulnerable Resolution
undici high GHSA-vxpw-j846-p89q <6.27.0 override → 8.8.0
undici moderate GHSA-p88m-4jfj-68fv <6.27.0 override → 8.8.0
undici low GHSA-35p6-xmwp-9g52 <6.27.0 override → 8.8.0
undici low GHSA-g8m3-5g58-fq7m <6.27.0 override → 8.8.0
@babel/core low GHSA-4x5r-pxfx-6jf8 <=7.29.0 override → 7.29.7

undici is transitive via @actions/core / @actions/github; @babel/core via @vitest/coverage-istanbul. The existing undici override selector was widened from <6.24.0 to <6.27.0. @babel/core is pinned to the latest patched 7.x (7.29.7) rather than an open range — >=7.29.1 resolved to 8.0.1, which breaks vitest's istanbul coverage provider.

Verification

  • pnpm auditNo known vulnerabilities found
  • pnpm build, pnpm ts-check, pnpm check, pnpm knip, pnpm test (100% coverage) all pass

🤖 Generated with Claude Code

Migrate pnpm overrides from the package.json "pnpm" field to
pnpm-workspace.yaml, which pnpm 11.15.1 now requires (the old field
is silently ignored, which had disabled every override on main).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mcalthrop
mcalthrop marked this pull request as ready for review July 22, 2026 12:33
@mcalthrop
mcalthrop merged commit 60570d8 into main Jul 22, 2026
5 checks passed
@mcalthrop
mcalthrop deleted the fix/security-vulnerabilities branch July 22, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant