Skip to content

fix(deps): move @modelcontextprotocol/sdk to 1.32.1 (security alert #60) - #434

Merged
badcuban merged 1 commit into
mainfrom
fix/mcp-sdk-security-bump
Oct 8, 2026
Merged

badcuban merged 1 commit into
mainfrom
fix/mcp-sdk-security-bump

Conversation

@badcuban

@badcuban badcuban commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

Dependabot alert #60 (high): @modelcontextprotocol/sdk below 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.json or 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 unrelated oxlint-tsgolint peer 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 /core entry and its type definitions do), and the packaged desktop app doesn't ship it.

Checked:

  • vp install --lockfile-only leaves the edited lockfile unchanged.
  • A clean vp install --frozen-lockfile installs 1.32.1.
  • tsc --noEmit passes in apps/server and scripts.
  • vp fmt --check passes.
  • The server's ClaudeAdapter tests pass (136/136).

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.
@vercel

vercel Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
threadlines Skipped Skipped Oct 8, 2026 6:32pm UTC

Request Review

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:S labels Oct 8, 2026
@badcuban
badcuban added this pull request to the merge queue Oct 8, 2026
Merged via the queue into main with commit 6ba2579 Oct 8, 2026
16 checks passed
@badcuban
badcuban deleted the fix/mcp-sdk-security-bump branch October 8, 2026 20:35

This branch was previously deployed

1 inactive deployment
Preview — 35255fbc Deployed Oct 8, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant