Skip to content

chore(deps): fix Dependabot alerts for @modelcontextprotocol/sdk and vite - #623

Merged
pikann merged 3 commits into
masterfrom
chore/update-mcp-sdk
Oct 22, 2026
Merged

pikann merged 3 commits into
masterfrom
chore/update-mcp-sdk

Conversation

@pikann

@pikann pikann commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Resolves all 10 open Dependabot alerts (#131–#140) by bumping two vulnerable dependencies.

Package Alerts Change Files
@modelcontextprotocol/sdk #134, #135, #136, #137 (2 high, 2 medium) 1.31.0 → 1.32.0 (patched in 1.32.0) apps/mcp/package.json, apps/mcp/bun.lock
vite #131, #132, #133, #138, #139, #140 (2 high, 3 medium, 1 low) lockfile 8.2.2 → 8.3.5 (patched in 8.2.4) apps/extension/package-lock.json

The alerts only scan apps/extension/package-lock.json, but apps/web and apps/mcp (bun) also resolved vulnerable vite (8.0.9 / 8.0.16), so they are bumped too:

Workspace Change
apps/web vite ^8.0.9 → ^8.3.5, vitest → ^4.1.12 (removes the nested old vite under vitest)
apps/mcp vite added as devDependency ^8.3.5, vitest → ^4.1.12
apps/extension lockfile only (^8.0.9 range already allows the fix)

Testing

  • apps/mcp: tsc --noEmit clean; vitest run passes (630 tests)
  • apps/web: tsc -b clean; vitest run passes (1200 tests); vite build succeeds
  • apps/extension: npm run build succeeds; npm update reports 0 vulnerabilities

@pikann pikann changed the title chore: update @modelcontextprotocol/sdk to version 1.32.0 in package.… chore(deps): fix Dependabot alerts for @modelcontextprotocol/sdk and vite Oct 22, 2026

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Important

The vite bump only covers apps/extension; apps/web/bun.lock and apps/mcp/bun.lock still resolve vite below the patched version this PR cites (8.2.4), so the same vulnerability persists in those workspaces.

Reviewed changes

Dependency-only PR that bumps two packages to clear the Dependabot alerts (#131–#140); no application source changed, and both affected workflows pass.

  • @modelcontextprotocol/sdk 1.31.0 → 1.32.0 — exact-pinned in apps/mcp/package.json, lockfile updated in apps/mcp/bun.lock; consumed only as a stdio server, and typecheck plus 630 Vitest tests pass.
  • vite 8.2.2 → 8.3.5 (lockfile only) — apps/extension/package-lock.json, pulling transitive rolldown 1.2.6→1.2.15, postcss, picomatch, nanoid, and all @rolldown/binding-* entries up with it.

⚠️ vite stays on the vulnerable version in apps/web and apps/mcp

The PR description states the vite advisory is patched in 8.2.4, and only apps/extension was raised. But two other lockfiles still resolve older vite: apps/web/bun.lock pins [email protected] and apps/mcp/bun.lock pins [email protected] — both below the first patched version. This PR even edits apps/mcp/bun.lock, just not its vite resolution. The alerts may be closing simply because they are scoped to the extension's package-lock.json (the repo's only npm lockfile) while these bun.lock files aren't scanned, leaving the exposure live in the web app and MCP server.

Technical details
# Incomplete vite remediation across workspaces

## Affected sites
- `apps/web/bun.lock:1569` — resolves `[email protected]` (< 8.2.4). `apps/web/package.json:70` declares `vite: ^8.0.9`, so the range already permits the fix and only the lockfile needs refreshing.
- `apps/mcp/bun.lock:755` — resolves `[email protected]` (< 8.2.4); vite is transitive via `vitest` (which allows `^8`). This file is already modified by the PR for the SDK bump.
- `apps/extension/package-lock.json` — the only vite lockfile this PR raised (to 8.3.5).

## Required outcome
- Every lockfile that resolves vite should land at or above the first patched version (8.2.4 per the PR description), or the PR should state explicitly that the advisories were scoped to the extension only and the remaining workspaces are tracked separately.

## Suggested approach
- Refresh vite in both workspaces (`bun update vite` or `bun add -d vite@^8.3.5` in `apps/web` and `apps/mcp`), then re-run their build/test checks.

## Open questions for the human
- Do the Dependabot alerts (#131–#140) cover `apps/web`/`apps/mcp`, or only the extension's `package-lock.json`? The description says it "resolves all 10," which reads as repository-wide.

Pullfrog  | Fix it ➔ | View workflow run | Using deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ℹ️ No critical issues — the prior vite concern is resolved; one minor dependency-consistency suggestion inline.

Reviewed changes

Reviewed the delta since the prior pullfrog review (722d6bc6 → 13bd6003), which completes the workspace-wide vite remediation the prior review asked for.

  • apps/web: vite ^8.0.9 → ^8.3.5, vitest ^4.1.4 → ^4.1.12 — package.json range bump plus lockfile; the resolved vite moves from 8.0.9 to 8.3.5, clearing the advisory that previously lingered here.
  • apps/mcp: vite added as a devDependency ^8.3.5, vitest ^4.1.8 → ^4.1.12 — its lockfile now resolves [email protected] (was 8.0.16), so the MCP workspace is off the vulnerable version too.
  • Transitive refresh across both lockfiles — rolldown 1.2.15, @oxc-project/types 0.155.0, lightningcss 1.33.0, postcss 8.5.31, picomatch 4.0.7, nanoid 3.3.20, and all @rolldown/binding-* entries.

With apps/extension already on 8.3.5, all three vite-resolving lockfiles are now at or above the cited patch (8.2.4); services/realtime and apps/e2e do not depend on vite. The prior ⚠️ concern is resolved.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏

Comment thread apps/mcp/package.json Resolved

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ No new issues found.

Reviewed changes

Reviewed the delta since the prior pullfrog review (13bd6003 → c48cf800), which clears the @vitest/coverage-v8 version skew raised there.

  • @vitest/coverage-v8 aligned to ^4.1.12 — apps/web/package.json (from ^4.1.4) and apps/mcp/package.json (from ^4.1.8) now both match the bumped vitest; both lockfiles resolve @vitest/[email protected] with peer [email protected], and no nested older vitest remains. The prior review's inline concern is resolved.

Pullfrog  | View workflow run | Using deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏

@pikann
pikann merged commit ef3352c into master Oct 22, 2026
4 checks passed
@pikann
pikann deleted the chore/update-mcp-sdk branch October 22, 2026 04:03
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.

1 participant