fix(deps): bump zod, storybook, @modelcontextprotocol/sdk and hono in every workspace to resolve Dependabot alerts

Merged
AV
8d ago
+178-309

Summary

Bumps four packages in every workspace manifest that pins them, on top of current main. Lockfile refreshed.

  • zod 4.6.5 → 4.6.6: all 21 manifests that pin it (every app and package)
  • storybook and @storybook/* 10.4.2 → 10.6.2: packages/ui, packages/chat-ui, apps/desktop, apps/mobile
  • @modelcontextprotocol/sdk 1.31.0 → 1.32.0: root overrides, packages/trpc, packages/mcp, packages/cli, apps/docs, apps/api
  • hono 4.13.7 → 4.13.11: root overrides, packages/host-service, apps/usercontent, apps/relay, apps/realtime

This replaces #8844 (zod) and #8903 (storybook, MCP SDK, hono). Both have been CONFLICTING with main since late October and now trail it by 345 and 318 commits; GitHub creates no pull_request runs for a conflicting PR, so neither can go green or merge. It also replaces the per-directory Dependabot PRs #8693, #8695, #8696, #8740, #8809, #8824 and #8825, which each fail Sherif's multiple-dependency-versions check: these pins can only move in all workspaces at once.

Lockfile notes for the reviewer:

  • storybook 10.6.2 pins oxc-resolver to exactly 11.21.2 (10.4.2 had ^11.19.1, resolved 11.24.2) and @testing-library/jest-dom to exactly 6.9.1 (10.4.2 had ^6.9.1, resolved 6.10.0). storybook is the only dependent of both, so they move with it. @storybook/react-vite 10.6.2 needs magic-string ^1.1.0, so the root magic-string entry is now 1.4.5 and every other consumer keeps 0.30.21 as a nested entry (no other package's resolved version changed). 10.6.2 also drops the React Native dev-middleware chain (@react-native/assets-registry, chrome-launcher, lighthouse-logger, …).
  • @agentclientprotocol/claude-agent-acp 0.85.0 pins zod to exactly 4.6.5, so the lockfile keeps one nested zod@4.6.5 for it. Every workspace manifest resolves 4.6.6.

Closes 52 Dependabot alerts (4 critical, 34 high, 14 medium):

zod → 4.6.6 — high: Zod can exhaust memory while validating oversized constrained collections

storybook → 10.6.2

  • #391 (desktop), #392 (mobile), #393 (chat-ui), #396 (ui), critical: Missing origin validation in Storybook preview allows code injection from malicious websites
  • #401 (desktop), #416 (mobile), #421 (chat-ui), #422 (ui), high: Storybook dev server vulnerable to code injection from the local network

@modelcontextprotocol/sdk → 1.32.0

  • #375 (api), #379 (docs), #381 (cli), #383 (mcp), #385 (trpc), high: One HTTP request within the default size limit could exhaust server memory during validation
  • #359 (api), #362 (docs), #367 (cli), #370 (mcp), #372 (trpc), high: Experimental tasks were not tied to the session that created them
  • #374 (api), #378 (docs), #380 (cli), #382 (mcp), #384 (trpc), medium: Server bearer authentication accepted tokens issued for another service
  • #358 (api), #361 (docs), #366 (cli), #369 (mcp), #371 (trpc), medium: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies

hono → 4.13.11

  • #363 (realtime), #364 (relay), #365 (usercontent), #368 (host-service), medium: serveStatic decodes the request path a second time, leading to bypass of middleware on static paths

Not in this PR (covered by open PRs that merge cleanly into main and pass Sherif):

  • @hono/node-server 2.0.10 → 2.1.3 (#473, #474): #9147
  • undici 7.30.0 → 7.30.1 (#478–#485): #9102
  • dompurify 3.4.16 → 3.4.17 (#475–#477): #9094
  • @azure/msal-node 5.5.0 → 7.1.0 (#444): #8836
  • better-auth 1.6.22 → 1.7.7 (#445–#472): not a version bump. 1.7 removes validAudiences, changes the OAuth client schema and adds tables, and @better-auth/oauth-provider 1.7.7 writes rotatedAt on refresh, a column auth.oauth_refresh_tokens does not have. Needs a human-owned upgrade with a migration. release-1.6 (1.6.34) fixes none of these advisories.

Test plan

  • bun install (Bun 1.4.3, the repo's .bun-version): native modules rebuilt; bun install --frozen-lockfile then reports no changes
  • bunx sherif: no issues
  • bun run lint:fix: clean, no fixes applied
  • bun run typecheck (root turbo, all 42 tasks): passes in every workspace, including apps/mobile and apps/desktop, 0 errors
  • Smoke-test Storybook in packages/ui, packages/chat-ui and apps/desktop (not run in this session)
  • CI

Summary by cubic

Bumps four packages in every workspace manifest to resolve 52 Dependabot alerts (4 critical, 34 high, 14 medium).

  • zod 4.6.5 → 4.6.6 in all 21 manifests, fixing a high-severity memory exhaustion issue when validating oversized constrained collections.
  • storybook and @storybook/* 10.4.2 → 10.6.2 in packages/ui, packages/chat-ui, apps/desktop, and apps/mobile, fixing a critical missing origin validation allowing code injection and a high-severity dev-server code injection from the local network.
  • @modelcontextprotocol/sdk 1.31.0 → 1.32.0 in root overrides, packages/trpc, packages/mcp, packages/cli, apps/docs, and apps/api, fixing memory exhaustion, session scoping, bearer authentication, and cross-origin redirect issues.
  • hono 4.13.7 → 4.13.11 in root overrides, packages/host-service, apps/usercontent, apps/relay, and apps/realtime, fixing a static-path middleware bypass.

Replaces the conflicting Dependabot PRs #8844 and #8903 plus the per-directory PRs that fail Sherif's multiple-dependency-versions check; these pins must move in all workspaces at once.

Lockfile notes

  • storybook 10.6.2 pins oxc-resolver to 11.21.2 and @testing-library/jest-dom to 6.9.1 exactly, so they move with it; the React Native dev-middleware chain is dropped.
  • @agentclientprotocol/claude-agent-acp 0.85.0 pins zod to 4.6.5, so the lockfile keeps one nested entry for it; every workspace manifest resolves 4.6.6.
  • @storybook/react-vite 10.6.2 needs magic-string ^1.1.0, so the root entry is now 1.4.5; other consumers keep 0.30.21 as a nested entry.
  • better-auth 1.7.7 is not bumped here — it needs a human-owned upgrade with a migration.

Summary by CodeRabbit

  • Chores
    • Updated supporting libraries and development tools across the application to newer versions. No user-facing feature changes are included.