@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)

オープン 初心者向け
#69 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
63/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript, node.js
領域
devops, security

調査の方向性

まず、パッケージメタデータで @modelcontextprotocol/sdk、react-router、toml、vite の正確な依存バージョン指定を確認し、次にロックファイルとリリースプロセスを確認します。Issue に記載された修正済みバージョンを含むように指定を更新または緩和し、公開される依存バージョンによって利用者がこれらのセキュリティ勧告の影響を受けなくなることを確認します。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
JavaScript
スター
652
フォーク
88
平均マージ
6分
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Shopify/Shopify-AI-Toolkit のほかの issue

Shopify/Shopify-AI-Toolkit の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。