fix: bump agents to resolve Dependabot XSS alerts#557
Merged
jonathannorris merged 1 commit intomainfrom Mar 12, 2026
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
devcycle-mcp-server | 36bdf5e | Mar 12 2026, 03:22 PM |
There was a problem hiding this comment.
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
agentsinmcp-workerfrom^0.2.19to^0.3.10. - Add a root Yarn
resolutionsoverride to force@modelcontextprotocol/sdkto1.27.1across the repo. - Update
yarn.lockto reflect the newagentsdependency 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.
379132b to
36bdf5e
Compare
JamieSinn
approved these changes
Mar 12, 2026
jsalaber
approved these changes
Mar 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
agentsfrom^0.2.19to^0.3.10in the mcp-worker to address Dependabot alerts feature: add watch mode to generate types command #121, [feat] add target rule list, create, toggle commands #122, Add feature create #123 (Reflected XSS in AI Playground)@modelcontextprotocol/sdkresolution to1.27.1to deduplicate the MCP SDK (agents 0.3.10 pins 1.25.2, root uses 1.27.1 — without the resolution the type mismatch causes build failures)Remaining alerts
3 alerts remain that can't be addressed without upgrading
ocliffrom 3.x to 4.x:tar6.2.1^6.x, no 6.x patch exists, fix requires tar 7.5.11+@tootallnate/once1.x/2.xhttp-proxy-agent4.x/5.x via oldmake-fetch-happenBoth are build-time transitive deps from the npm toolchain (
oclif→yeoman-environment→pacote→cacache/sigstore), not runtime deps of the CLI.