@shopify/dev-mcp pins vulnerable dependency versions (MCP SDK 1.29.0, react-router 7.15.1, toml 3.0.0, vite 6.4.3)

Open Beginner friendly
#69 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
63/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript, node.js
Domain
devops, security

Research direction

Start by locating the exact dependency pins for @modelcontextprotocol/sdk, react-router, toml, and vite in the package metadata, then check the lockfile and release process. Update or relax the pins to include the fixed versions listed in the issue, and verify that the published dependency versions no longer leave consumers with these advisories.

Written by the indexing model from the issue text.

Description

npm audit on a project that installs @shopify/dev-mcp (through 1.17.0, the latest) reports high-severity advisories in dependencies that dev-mcp pins to exact versions, so consumers can't pick up the fixes:

Exact pin in 1.17.0 Advisories Fixed in
@modelcontextprotocol/sdk 1.29.0 HTTP transport memory exhaustion, bearer tokens accepted for another service, OAuth/redirect credential leaks, experimental tasks not tied to their session ≥ 1.32.0
react-router 7.15.1 constructor injection via deserializeErrors(), open redirect, RSC CSRF bypass, DoS ≥ 7.18.2
toml 3.0.0 prototype pollution, parse-time DoS > 5.0.0
vite 6.4.3 cross-origin script execution, server.fs.allow bypass, launch-editor > 6.4.3

In our use (the stdio server for Claude Code) these paths don't look reachable, but the exact pins keep npm audit red and block the fixes for every consumer. Could the next release bump them, or relax the pins to ranges?

Environment: @shopify/dev-mcp 1.16.1 / 1.17.0, Node 24, npm 12.

Dominant language
JavaScript
Stars
652
Forks
88
Avg merge
6m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Shopify/Shopify-AI-Toolkit

All issues in Shopify/Shopify-AI-Toolkit

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.