Repository navigation
fix(deps): patch critical and high advisories - #75
Merged
Merged
Conversation
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.
Contributor
Codebase Intelligence CIVerdict: PASS
Codebase IntelligenceVerdict: WARN
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Patches every critical and high advisory that can be fixed without a breaking major on a runtime dependency.
@modelcontextprotocol/sdkis raised to^1.32.2(lockfile 1.32.2), which addresses request-size, session and OAuth issues in the SDK.@vitest/coverage-v8move to^4.1.11(lockfile 4.1.12). The tree no longer depends on vulnerabletinypool1.1.1.viteis added as a direct devDependency at 7.3.7 so the pin actually applies.pnpm.overridespin transitives that a direct bump cannot reach:proxy-addr2.0.8,body-parser2.4.0,fast-uri3.1.9,ip-address10.7.6,hono4.13.18,path-to-regexp8.4.0,source-map-js1.2.2,brace-expansion2.1.7 and 5.0.12,postcss8.5.23,flatted3.4.2, andnanoid3.3.18. Each pinned version is at least seven days old.zodstays 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/handleArrayResultpath; 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 thelatestdist-tag.