Skip to content

[Snyk] Security upgrade @modelcontextprotocol/sdk from 1.6.0 to 1.24.0#2

Open
ebothegreat wants to merge 1 commit intomainfrom
snyk-fix-7c0d64f85c2536cfe408cb0e25fbfbd9
Open

[Snyk] Security upgrade @modelcontextprotocol/sdk from 1.6.0 to 1.24.0#2
ebothegreat wants to merge 1 commit intomainfrom
snyk-fix-7c0d64f85c2536cfe408cb0e25fbfbd9

Conversation

@ebothegreat
Copy link
Copy Markdown
Owner

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the pnpm dependencies of this project.

Snyk changed the following file(s):

  • package.json
  • pnpm-lock.yaml

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Insecure Default Initialization of Resource
SNYK-JS-MODELCONTEXTPROTOCOLSDK-14171914
  666  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

@continue
Copy link
Copy Markdown

continue bot commented Dec 10, 2025

Keep this PR in a mergeable state →

Learn more

All Green is an AI agent that automatically:

✅ Addresses code review comments

✅ Fixes failing CI checks

✅ Resolves merge conflicts

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +557 to +559
peerDependencies:
'@cfworker/json-schema': ^4.1.1
zod: ^3.25 || ^4.0
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Align zod version with sdk peer requirement

Upgrading @modelcontextprotocol/sdk to 1.24.x introduces a peer dependency on zod ^3.25 || ^4.0 (pnpm-lock.yaml lines 557-559), but package.json still pins zod at ^3.24.2. With pnpm’s default strict peer dependency checks, installs will now error or warn because the project’s zod version does not satisfy the new range; even if ignored, the SDK is built against a newer zod API. Please bump the root zod dependency (and lockfile) to a compatible version or pin the SDK to a version that matches 3.24.x.

Useful? React with 👍 / 👎.

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.

2 participants