fix(deps): bump zod, storybook, @modelcontextprotocol/sdk and hono in every workspace to resolve Dependabot alerts
Summary
Bumps four packages in every workspace manifest that pins them, on top of current main. Lockfile refreshed.
zod4.6.5 → 4.6.6: all 21 manifests that pin it (every app and package)storybookand@storybook/*10.4.2 → 10.6.2:packages/ui,packages/chat-ui,apps/desktop,apps/mobile@modelcontextprotocol/sdk1.31.0 → 1.32.0: rootoverrides,packages/trpc,packages/mcp,packages/cli,apps/docs,apps/apihono4.13.7 → 4.13.11: rootoverrides,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-resolverto exactly 11.21.2 (10.4.2 had^11.19.1, resolved 11.24.2) and@testing-library/jest-domto 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-vite10.6.2 needsmagic-string ^1.1.0, so the rootmagic-stringentry 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-acp0.85.0 pinszodto exactly 4.6.5, so the lockfile keeps one nestedzod@4.6.5for 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
- #423 (api), #425 (docs), #426 (gate), #427 (marketing), #428 (mobile), #429 (usercontent), #430 (web), #431 (auth), #432 (chat-runtime), #433 (chat), #434 (cli), #435 (db), #436 (email), #437 (host-service), #438 (local-db), #439 (mcp), #440 (sandbox), #441 (shared), #442 (trpc), #443 (ui)
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:
serveStaticdecodes 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-server2.0.10 → 2.1.3 (#473, #474): #9147undici7.30.0 → 7.30.1 (#478–#485): #9102dompurify3.4.16 → 3.4.17 (#475–#477): #9094@azure/msal-node5.5.0 → 7.1.0 (#444): #8836better-auth1.6.22 → 1.7.7 (#445–#472): not a version bump. 1.7 removesvalidAudiences, changes the OAuth client schema and adds tables, and@better-auth/oauth-provider1.7.7 writesrotatedAton refresh, a columnauth.oauth_refresh_tokensdoes 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-lockfilethen 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).
zod4.6.5 → 4.6.6 in all 21 manifests, fixing a high-severity memory exhaustion issue when validating oversized constrained collections.storybookand@storybook/*10.4.2 → 10.6.2 inpackages/ui,packages/chat-ui,apps/desktop, andapps/mobile, fixing a critical missing origin validation allowing code injection and a high-severity dev-server code injection from the local network.@modelcontextprotocol/sdk1.31.0 → 1.32.0 in rootoverrides,packages/trpc,packages/mcp,packages/cli,apps/docs, andapps/api, fixing memory exhaustion, session scoping, bearer authentication, and cross-origin redirect issues.hono4.13.7 → 4.13.11 in rootoverrides,packages/host-service,apps/usercontent,apps/relay, andapps/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
storybook10.6.2 pinsoxc-resolverto 11.21.2 and@testing-library/jest-domto 6.9.1 exactly, so they move with it; the React Native dev-middleware chain is dropped.@agentclientprotocol/claude-agent-acp0.85.0 pinszodto 4.6.5, so the lockfile keeps one nested entry for it; every workspace manifest resolves 4.6.6.@storybook/react-vite10.6.2 needsmagic-string ^1.1.0, so the root entry is now 1.4.5; other consumers keep 0.30.21 as a nested entry.better-auth1.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.