Skip to content

[Snyk] Security upgrade @modelcontextprotocol/sdk from 1.5.0 to 1.25.2#18

Open
SMSDAO wants to merge 1 commit intomainfrom
snyk-fix-f14a07bfc5d4082611117df9de6e4575
Open

[Snyk] Security upgrade @modelcontextprotocol/sdk from 1.5.0 to 1.25.2#18
SMSDAO wants to merge 1 commit intomainfrom
snyk-fix-f14a07bfc5d4082611117df9de6e4575

Conversation

@SMSDAO
Copy link
Owner

@SMSDAO SMSDAO commented Jan 12, 2026

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
⚠️ Warning
Failed to update the pnpm-lock.yaml, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-MODELCONTEXTPROTOCOLSDK-14871802
  828  

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:

🦉 Regular Expression Denial of Service (ReDoS)

Copilot AI review requested due to automatic review settings January 12, 2026 04:52
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades the @modelcontextprotocol/sdk dependency from version 1.5.0 to 1.25.2 to address a high-severity Regular Expression Denial of Service (ReDoS) vulnerability (SNYK-JS-MODELCONTEXTPROTOCOLSDK-14871802) with a severity score of 828/1000.

Changes:

  • Updated @modelcontextprotocol/sdk from ^1.5.0 to ^1.25.2 in package.json

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"@meteora-ag/alpha-vault": "^1.1.7",
"@meteora-ag/dlmm": "^1.3.0",
"@modelcontextprotocol/sdk": "^1.5.0",
"@modelcontextprotocol/sdk": "^1.25.2",
Copy link

Copilot AI Jan 12, 2026

Choose a reason for hiding this comment

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

The pnpm-lock.yaml file needs to be updated to complete this security upgrade. The PR description indicates that the lock file update failed, which means the actual installed version will still be 1.5.0 (as shown in the lock file) despite the package.json change to 1.25.2.

To fix this issue:

  1. Run pnpm install or pnpm update @modelcontextprotocol/sdk@^1.25.2 locally
  2. Commit the updated pnpm-lock.yaml file
  3. Ensure the lock file reflects version 1.25.2 for @modelcontextprotocol/sdk

Without updating the lock file, the security vulnerability (SNYK-JS-MODELCONTEXTPROTOCOLSDK-14871802) will NOT be fixed.

Copilot uses AI. Check for mistakes.
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.

3 participants