chore: resolve open dependabot security alerts - #583
Conversation
- brace-expansion ^1.1.16 -> ^1.1.18 (high, alerts #285/#286) - brace-expansion ^2.1.2 -> ^2.1.4 (high, alerts #282/#287) - undici ^7.28.0 -> ^7.29.0 (medium/high, alerts #289-#293) - ip-address ^10.1.1 -> ^10.3.1 (medium/high, alerts #283/#284/#294) - hono ^4.12.25 -> ^4.12.34 (medium, alert #295) - fast-uri ^3.1.4 -> ^3.1.5 (high, alert #288) - wrangler ~4.116.0 (via miniflare 4.20260730.0 -> sharp 0.35.2, high, alert #276)
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
devcycle-mcp-server | ddc3494 | Aug 05 2026, 02:00 PM |
There was a problem hiding this comment.
Pull request overview
This PR addresses multiple Dependabot security alerts in the CLI monorepo by upgrading vulnerable transitive dependencies via Yarn resolutions and updating the Cloudflare wrangler toolchain used by the mcp-worker workspace.
Changes:
- Updated Yarn
resolutionsto force patched versions of vulnerable transitive dependencies (e.g.,brace-expansion,ip-address,fast-uri,undici,hono). - Bumped
wrangler(and thusminiflare/workerd/sharp) to bring in a non-vulnerablesharprelease. - Regenerated
yarn.lockto reflect the new dependency graph across the workspace.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| yarn.lock | Updates the resolved dependency graph to patched versions (notably wrangler/miniflare/workerd/sharp and security-related transitive bumps). |
| package.json | Adjusts Yarn resolutions to enforce patched transitive dependency versions repo-wide. |
| mcp-worker/package.json | Updates mcp-worker dependencies/devDependencies to align with the patched versions (hono, wrangler). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "agents/@modelcontextprotocol/sdk": "1.27.1", | ||
| "flatted": "^3.4.2", | ||
| "undici": "^7.28.0", | ||
| "undici": "^7.29.0", |
There was a problem hiding this comment.
The global resolution is intentional. miniflare pins to exact 7.28.0 but so does node-gyp (via ^7.28.0), and both are covered by the global override. undici 7.29.0 is a semver patch release so API compatibility is maintained — all 189 tests pass with the updated version. This override pattern is the standard yarn approach for forcing security patches in transitive deps.
Summary
@img/sharp-libvips-linux-x64@1.3.1(same LGPL-licensed native binary as the previously-excluded 1.0.x/1.2.x variants)Dependabot Alerts Resolved
sharpwranglerto ~4.116.0 (miniflare 4.20260730.0 ships sharp 0.35.2)brace-expansionip-addressip-addressbrace-expansionbrace-expansionbrace-expansionfast-uriundiciundiciundiciundiciundiciip-addresshono