Skip to content

fix(deps): resolve high-severity npm audit failure blocking CI - #2156

Merged
carlos-alm merged 1 commit into
mainfrom
fix/security-audit-transitive-deps
Jul 28, 2026
Merged

fix(deps): resolve high-severity npm audit failure blocking CI#2156
carlos-alm merged 1 commit into
mainfrom
fix/security-audit-transitive-deps

Conversation

@carlos-alm

Copy link
Copy Markdown
Contributor

Summary

  • The Security audit CI job (npm audit --omit=dev --audit-level=high --package-lock-only) has been failing on every open PR because main's package-lock.json pins a high-severity vulnerable fast-uri (transitive via ajv <- @modelcontextprotocol/sdk), plus moderate advisories in hono, @hono/node-server, and body-parser.
  • Bumped the lockfile-only resolutions for these transitive deps to already-fixed versions that satisfy the existing package.json semver ranges — no package.json changes.
  • npm audit --omit=dev --audit-level=high --package-lock-only now reports 0 vulnerabilities.

Test plan

  • npm audit --omit=dev --audit-level=high --package-lock-only → 0 vulnerabilities
  • npm run build succeeds
  • npm run lint clean
  • npx vitest run tests/unit/mcp.test.ts → 41/41 passing (SDK version-sensitive tests)
  • npm test → full suite 259/259 test files, 4177 passing, 30 skipped, 2 todo

…ilure

fast-uri (via ajv <- @modelcontextprotocol/sdk) carried a high-severity
advisory (GHSA-v2hh-gcrm-f6hx, GHSA-4c8g-83qw-93j6), failing the
Security audit CI gate (npm audit --audit-level=high) on every PR.
Also picks up fixes for hono, @hono/node-server, and body-parser.
No package.json ranges changed — all versions already satisfy existing
semver constraints.
@carlos-alm
carlos-alm merged commit 4e9ce47 into main Jul 28, 2026
26 checks passed
@carlos-alm
carlos-alm deleted the fix/security-audit-transitive-deps branch July 28, 2026 09:43
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant