Skip to content

fix(deps): patch critical and high advisories - #75

Merged
bntvllnt merged 1 commit into
mainfrom
fix/security-advisories
Nov 19, 2026
Merged

bntvllnt merged 1 commit into
mainfrom
fix/security-advisories

Conversation

@bntvllnt

Copy link
Copy Markdown
Owner

Summary

Patches every critical and high advisory that can be fixed without a breaking major on a runtime dependency.

  • @modelcontextprotocol/sdk is raised to ^1.32.2 (lockfile 1.32.2), which addresses request-size, session and OAuth issues in the SDK.
  • Vitest and @vitest/coverage-v8 move to ^4.1.11 (lockfile 4.1.12). The tree no longer depends on vulnerable tinypool 1.1.1.
  • vite is added as a direct devDependency at 7.3.7 so the pin actually applies.
  • pnpm.overrides pin transitives that a direct bump cannot reach: proxy-addr 2.0.8, body-parser 2.4.0, fast-uri 3.1.9, ip-address 10.7.6, hono 4.13.18, path-to-regexp 8.4.0, source-map-js 1.2.2, brace-expansion 2.1.7 and 5.0.12, postcss 8.5.23, flatted 3.4.2, and nanoid 3.3.18. Each pinned version is at least seven days old.
  • zod stays on the 3.x line (^3.23.0, locked at 3.25.76). This package only imports the Zod 3 API. GHSA-mrhx-c7xc-m3w5 lives in the Zod 4 $ZodArray / handleArrayResult path; jumping to 4.x would be a breaking runtime change without a clear need.

This also covers the Vitest 4 upgrade from #73, which can be closed as superseded once this lands. That Dependabot PR did not bump the MCP SDK, the runtime transitives, vite, or @vitest/coverage-v8.

Local install, typecheck, lint, build, and pnpm test (38 files, 486 tests) all passed. This does not cut a stable release or move the latest dist-tag.

Upgrade @modelcontextprotocol/sdk to 1.32.2 and Vitest to 4.1.x (removing tinypool), pin vite 7.3.7, and override transitives a direct bump cannot reach. zod stays on 3.x because GHSA-mrhx-c7xc-m3w5 is in the Zod 4 parser and this package only uses the Zod 3 API.
@github-actions

Copy link
Copy Markdown
Contributor

Codebase Intelligence CI

Verdict: PASS
Base: origin/main
Mode: new-only
Changed workspaces: 1 workspace(s); 1 changed since origin/main; 0 cross-package cycle(s).

Gate Verdict Summary
check warn 0 error(s), 3 warning(s) — WARN
health pass Health 67.00/0 pass; top risk src/analyzer/index.ts (86.18).

Codebase Intelligence

Verdict: WARN
Summary: 0 error(s), 3 warning(s) — WARN

Severity Rule Location Finding
warn no-unused-deps package.json:21 Runtime import is declared in devDependencies: vitest
warn no-unused-deps package.json:53 Unused dependency: graphology-shortest-path
warn no-unused-deps package.json:54 Unused dependency: picocolors

@bntvllnt
bntvllnt merged commit ecf3fc7 into main Nov 19, 2026
9 checks passed
@bntvllnt
bntvllnt deleted the fix/security-advisories branch November 19, 2026 16:07
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