Skip to content

chore: resolve open dependabot security alerts - #583

Merged
jonathannorris merged 2 commits into
mainfrom
chore/dependabot-alerts
Aug 5, 2026
Merged

chore: resolve open dependabot security alerts#583
jonathannorris merged 2 commits into
mainfrom
chore/dependabot-alerts

Conversation

@jonathannorris

@jonathannorrisjonathannorris commented Aug 5, 2026

Copy link
Copy Markdown
Member

Summary

  • Resolved 15 open Dependabot security alerts by bumping vulnerable transitive dependencies via resolutions and updating wrangler to bring in a newer miniflare/sharp
  • Updated wrangler from ^4.72.0 to ~4.116.0; the newer miniflare (4.20260730.0) bundles sharp 0.35.2 which resolves the sharp CVE
  • Extended the license-action exclusion list to cover @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

AlertPackageSeverityFix
#276sharphighUpdated wrangler to ~4.116.0 (miniflare 4.20260730.0 ships sharp 0.35.2)
#282brace-expansionhighBumped resolution to ^2.1.4
#283ip-addressmediumBumped resolution to ^10.3.1
#284ip-addressmediumBumped resolution to ^10.3.1
#285brace-expansionhighBumped resolution to ^1.1.18
#286brace-expansionhighBumped resolution to ^1.1.18
#287brace-expansionhighBumped resolution to ^2.1.4
#288fast-urihighBumped resolution to ^3.1.5
#289undicihighBumped resolution to ^7.29.0
#290undicimediumBumped resolution to ^7.29.0
#291undicimediumBumped resolution to ^7.29.0
#292undicimediumBumped resolution to ^7.29.0
#293undicimediumBumped resolution to ^7.29.0
#294ip-addresshighBumped resolution to ^10.3.1
#295honomediumBumped resolution to ^4.12.34

- 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)
CopilotAI review requested due to automatic review settings August 5, 2026 13:58
@jonathannorris
jonathannorris requested a review from a team as a code ownerAugust 5, 2026 13:58
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with Cloudflare Workers Cloudflare Workers

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

StatusNameLatest CommitUpdated (UTC)
✅ Deployment successful!
View logs
devcycle-mcp-serverddc3494Aug 05 2026, 02:00 PM

CopilotAI left a comment

Copy link
Copy Markdown

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 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 resolutions to force patched versions of vulnerable transitive dependencies (e.g., brace-expansion, ip-address, fast-uri, undici, hono).
  • Bumped wrangler (and thus miniflare/workerd/sharp) to bring in a non-vulnerable sharp release.
  • Regenerated yarn.lock to 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.

FileDescription
yarn.lockUpdates the resolved dependency graph to patched versions (notably wrangler/miniflare/workerd/sharp and security-related transitive bumps).
package.jsonAdjusts Yarn resolutions to enforce patched transitive dependency versions repo-wide.
mcp-worker/package.jsonUpdates 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.

Comment threadpackage.json
"agents/@modelcontextprotocol/sdk": "1.27.1",
"flatted": "^3.4.2",
"undici": "^7.28.0",
"undici": "^7.29.0",

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@jonathannorris
jonathannorris enabled auto-merge (squash) August 5, 2026 14:04
@jonathannorris
jonathannorris merged commit 252564e into mainAug 5, 2026
6 checks passed
@jonathannorris
jonathannorris deleted the chore/dependabot-alerts branch August 5, 2026 14:07
Sign up for freeto 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.

3 participants

@jonathannorris@JamieSinn