Repository navigation
fix(deps): move @modelcontextprotocol/sdk to 1.32.1 (security alert #60) - #434
Merged
Merged
Conversation
Dependabot alert #60 (high): MCP SDK versions below 1.31.0 let an MCP server steer the OAuth client to send credentials to an authorization server of its choosing. The lockfile had 1.29.0, pulled in only as a peer of @anthropic-ai/claude-agent-sdk (which asks for ^1.29.0), so Dependabot can't open a PR for it. The lockfile now resolves 1.32.1. The edit is the version, the peer suffixes and the integrity only; a plain re-resolve also re-links the unrelated oxlint-tsgolint peer, which is left out.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This branch was previously deployed
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.
Dependabot alert #60 (high):
@modelcontextprotocol/sdkbelow 1.31.0 has an OAuth client that can send credentials to an authorization server the MCP server picks. Our lockfile had 1.29.0. It's only there as a peer of@anthropic-ai/claude-agent-sdk(^1.29.0), so Dependabot can't open a PR for it.This moves the lockfile to 1.32.1, the newest 1.x, which already fits the agent SDK's range. No
package.jsonor override changes. The lockfile diff is the version string, the agent SDK's peer suffix and the integrity hash only. A plain re-resolve also adds an unrelatedoxlint-tsgolintpeer link to oxlint (harmless,typeAware: false), which I left out.Exposure was low. No source file imports the package, the agent SDK's runtime entry (
sdk.mjs) doesn't import it (only its unused/coreentry and its type definitions do), and the packaged desktop app doesn't ship it.Checked:
vp install --lockfile-onlyleaves the edited lockfile unchanged.vp install --frozen-lockfileinstalls 1.32.1.tsc --noEmitpasses inapps/serverandscripts.vp fmt --checkpasses.ClaudeAdaptertests pass (136/136).