chrome-devtools-mcp icon indicating copy to clipboard operation
chrome-devtools-mcp copied to clipboard

fix: pin npx version in plugin.json to avoid supply-chain drift

Open xiaolai opened this issue 6 months ago • 1 comments

Automated: drive-by fix from NLPM, an NL artifact linter. Reviewed and reproduced before submission.

Bug: .claude-plugin/plugin.json runs npx chrome-devtools-mcp@latest, so the resolved version floats on every MCP client restart — any future latest tag (including a compromised one) is picked up automatically.

Evidence: "args": ["chrome-devtools-mcp@latest"] confirmed at line 9; package.json declares "version": "1.0.1", so a matching pinned version is available.

Fix: Replaces chrome-devtools-mcp@latest with [email protected] to lock to the current release; update in lockstep with future version bumps.

xiaolai avatar May 24 '26 18:05 xiaolai

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar May 24 '26 18:05 google-cla[bot]

Thanks for the PR but we would like to keep using the latest version for now as there is a delay in publishing plugins that want to avoid. Additionally, to implement this properly we should update the version here at the same time as release-please generates are a new release. cc @natorion

I think mid-term we have to move to fixed versions in our various extension/plugin offerings.

Official marketplaces from vendors AFAIK already require pinned versions anyways.

natorion avatar May 26 '26 06:05 natorion

in that case, we should look into properly integrating plugins into the release.

OrKoN avatar May 26 '26 06:05 OrKoN

Filed https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/2121

OrKoN avatar May 26 '26 06:05 OrKoN

Fixed via https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/2121

OrKoN avatar May 26 '26 14:05 OrKoN