Skip to content

fix: bump agents to resolve Dependabot XSS alerts#557

Merged
jonathannorris merged 1 commit intomainfrom
chore/fix-remaining-dependabot-alerts
Mar 12, 2026
Merged

fix: bump agents to resolve Dependabot XSS alerts#557
jonathannorris merged 1 commit intomainfrom
chore/fix-remaining-dependabot-alerts

Conversation

@jonathannorris
Copy link
Member

Summary

Remaining alerts

3 alerts remain that can't be addressed without upgrading oclif from 3.x to 4.x:

Alert Package Severity Root cause
#151, #152 tar 6.2.1 High All consumers request ^6.x, no 6.x patch exists, fix requires tar 7.5.11+
#150 @tootallnate/once 1.x/2.x Low Pulled in by http-proxy-agent 4.x/5.x via old make-fetch-happen

Both are build-time transitive deps from the npm toolchain (oclifyeoman-environmentpacotecacache/sigstore), not runtime deps of the CLI.

@jonathannorris jonathannorris requested a review from a team as a code owner March 12, 2026 14:05
Copilot AI review requested due to automatic review settings March 12, 2026 14:05
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 12, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
devcycle-mcp-server 36bdf5e Mar 12 2026, 03:22 PM

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 updates the dependency graph to address Dependabot security alerts (reflected XSS in AI Playground) by upgrading the agents package used by the MCP Cloudflare Worker and deduplicating @modelcontextprotocol/sdk across workspaces to avoid build/type mismatches.

Changes:

  • Bump agents in mcp-worker from ^0.2.19 to ^0.3.10.
  • Add a root Yarn resolutions override to force @modelcontextprotocol/sdk to 1.27.1 across the repo.
  • Update yarn.lock to reflect the new agents dependency set and the SDK deduplication.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
yarn.lock Reflects agents@0.3.10 and forces a single @modelcontextprotocol/sdk@1.27.1 resolution, plus associated transitive changes.
package.json Adds a resolutions pin for @modelcontextprotocol/sdk to 1.27.1 to dedupe across workspaces.
mcp-worker/package.json Bumps agents dependency to ^0.3.10 for the MCP worker.

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

You can also share your feedback on Copilot code review. Take the survey.

@jonathannorris jonathannorris force-pushed the chore/fix-remaining-dependabot-alerts branch from 379132b to 36bdf5e Compare March 12, 2026 15:20
@jonathannorris jonathannorris merged commit 5cd244d into main Mar 12, 2026
7 checks passed
@jonathannorris jonathannorris deleted the chore/fix-remaining-dependabot-alerts branch March 12, 2026 19:39
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.

4 participants