Skip to content

fix(security): resolve npm audit high-severity vulnerabilities#55

Merged
Sam-Aitech merged 1 commit into
mainfrom
fix/npm-audit-high-vulns
Jun 19, 2026
Merged

fix(security): resolve npm audit high-severity vulnerabilities#55
Sam-Aitech merged 1 commit into
mainfrom
fix/npm-audit-high-vulns

Conversation

@Sam-Aitech

Copy link
Copy Markdown
Owner

Why

npm audit --audit-level=high (the Dependency Audit CI check) was failing on every open PR — including the 5 Dependabot Python bumps (#50#54) that never touch the JS tree. The failures are pre-existing npm-side vulnerabilities, so they block the merge gate regardless of a PR's content.

CI flagged 6× high esbuild via the deprecated @esbuild-kit/core-utils@esbuild-kit/esm-loader chain (GHSA-gv7w-rqvm-qjhr); the local tree also carried highs in vite, ws/engine.io, undici, form-data, multer.

What

npm audit fix (non-forced) — updates transitive resolutions in package-lock.json only.

  • package.json manifest unchanged — no direct-dependency version bumps, no API-surface risk.
  • npm audit --audit-level=high now reports 0 vulnerabilities.

Verification

  • npm audit --audit-level=high → 0 vulnerabilities
  • npx tsc --noEmit → clean
  • npx vitest run → 257/257 across 28 files
  • npm run build → vite + esbuild bundle succeed

Impact

Unblocks the Dependency Audit gate for all 5 open Dependabot PRs (#50#54) and any future PR. Merge this first.

npm audit --audit-level=high failed on CI for every open PR (esbuild via
the deprecated @esbuild-kit chain, plus vite/ws/undici/form-data/multer),
blocking the merge gate on changes that never touched the JS tree.

`npm audit fix` (non-forced) updates only transitive resolutions in the
lockfile — package.json manifest is unchanged, no direct-dep version
bumps. Audit now reports 0 vulnerabilities.

Verified: tsc clean, 257/257 tests pass, production build succeeds.
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​vite@​6.4.2 ⏵ 6.4.394100 +1883 +198100
Updatednpm/​multer@​2.1.1 ⏵ 2.2.0100 +1100 +18100 +194100
Updatednpm/​ws@​8.20.1 ⏵ 8.21.099 +1100 +1610094100

View full report

@Sam-Aitech Sam-Aitech merged commit 09214bd into main Jun 19, 2026
13 checks passed
@sonarqubecloud

Copy link
Copy Markdown

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