Skip to content

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

Merged
AviPeltz merged 1 commit into
mainfrom
fix/dependabot-2026-11-08
Nov 9, 2026
Merged

AviPeltz merged 1 commit into
mainfrom
fix/dependabot-2026-11-08

Conversation

@AviPeltz

@AviPeltz AviPeltz commented Nov 8, 2026 •

Copy link
Copy Markdown
Collaborator

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

@modelcontextprotocol/sdk → 1.32.0

hono → 4.13.11

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

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.

Written for commit 84c7a09. Summary will update on new commits.

View guided diff Turn on auto-fix

Summary by CodeRabbit

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

… every workspace to resolve Dependabot alerts

zod 4.6.5 -> 4.6.6 in all 21 manifests that pin it; storybook and
@storybook/* 10.4.2 -> 10.6.2 in ui, chat-ui, desktop and mobile;
@modelcontextprotocol/sdk 1.31.0 -> 1.32.0 and hono 4.13.7 -> 4.13.11 in
their manifests and the root overrides. Sherif requires these pins to
move in every workspace at once.

Replaces #8844 and #8903, which conflict with main, and the per-directory
Dependabot PRs that fail Sherif. Closes 52 Dependabot alerts.
@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request updates package manifests and root overrides for @modelcontextprotocol/sdk, hono, zod, and Storybook packages. No public entity declarations changed.

Changes: Dependency version updates

Layer / File(s) Summary
Model Context Protocol SDK updates
package.json, apps/api/package.json, apps/docs/package.json, packages/cli/package.json, packages/mcp/package.json, packages/trpc/package.json
Updates @modelcontextprotocol/sdk from 1.31.0 to 1.32.0 in the listed manifests and root override.
Hono updates
package.json, apps/realtime/package.json, apps/relay/package.json, apps/usercontent/package.json, packages/host-service/package.json
Updates hono from 4.13.7 to 4.13.11 in the listed manifests and root override.
Zod updates
apps/*/package.json, packages/*/package.json
Updates zod from 4.6.5 to 4.6.6 in the affected app and package manifests.
Storybook updates
apps/desktop/package.json, apps/mobile/package.json, packages/chat-ui/package.json, packages/ui/package.json
Updates Storybook dependencies from 10.4.2 to 10.6.2, including the listed React Native Storybook packages.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Possibly related PRs

  • ParadevAI/Paradev#8903: Updates the same dependencies to the same versions in many of the same manifests; the supplied context says this PR replaces it.

Suggested reviewers: saddlepaddle

Merge Risk: Minimal · up to 84c7a

No actionable merge-blocking issue is identified in these dependency updates. Merge after normal checks pass.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title names the four dependency families bumped in the changeset (zod, storybook, @modelcontextprotocol/sdk, hono) and the Dependabot-alert purpose. It matches the main change, which bumps those p…
Description check Passed The description follows the template sections: What & why, How I tested it, and the checklist. The 'What & why' section is detailed. It lists every bumped package, the affected manifests, the lockfile…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the four dependency families bumped in the changeset (zod, storybook, @modelcontextprotocol/sdk, hono) and the Dependabot-alert purpose. It matches the main change, which bumps those pins across workspaces. The conventional-commit prefix fits the template. The title is long (114 characters), but it is specific and accurate.

Full details: Description check

Explanation

The description follows the template sections: What & why, How I tested it, and the checklist. The 'What & why' section is detailed. It lists every bumped package, the affected manifests, the lockfile notes, and the 52 Dependabot alerts closed. It also names the superseded PRs and the deferred better-auth work. The 'How I tested it' section lists commands run and their results, and it states which checks were not run (Storybook smoke tests and CI). The description does not link a separate issue, and it does not include screenshots. Screenshots are not needed for a dependency bump. The checklist is present but unticked, and the description does not show whether the CLA was signed or the title format was checked. These gaps are minor and do not block merge.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (25 skipped: 25 unsupported.)

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d5ad4797-55eb-44e9-b970-386f569d8a8e
Commits

Reviewing files that changed from the base of the PR and between b77bc04 and 84c7a09.

Files ignored due to path filters: 1

  • bun.lock is excluded by !**/*.lock
Files selected for processing: 25

  • apps/api/package.json
  • apps/desktop/package.json
  • apps/docs/package.json
  • apps/gate/package.json
  • apps/marketing/package.json
  • apps/mobile/package.json
  • apps/realtime/package.json
  • apps/relay/package.json
  • apps/usercontent/package.json
  • apps/web/package.json
  • package.json
  • packages/auth/package.json
  • packages/chat-runtime/package.json
  • packages/chat-ui/package.json
  • packages/chat/package.json
  • packages/cli/package.json
  • packages/db/package.json
  • packages/email/package.json
  • packages/host-service/package.json
  • packages/local-db/package.json
  • packages/mcp/package.json
  • packages/sandbox/package.json
  • packages/shared/package.json
  • packages/trpc/package.json
  • packages/ui/package.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@cubic-dev-ai cubic-dev-ai 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 issues found across 26 files

Architecture diagram
sequenceDiagram
    participant Dev as Developer
    participant SB as Storybook Server (10.6.2)
    participant UI as UI Components (packages/ui, chat-ui)
    participant Desktop as Desktop App
    participant Mobile as Mobile App
    participant MCP as MCP SDK (1.32.0)
    participant TRPC as tRPC Server
    participant Hono as Hono Server (4.13.11)
    participant API as API Gateway
    participant Z as zod Validation (4.6.6)

    Note over Dev,Hono: NEW: Dependency Security Upgrade Flow

    Dev->>SB: Start dev server
    SB->>UI: Serve components
    SB->>Desktop: Serve Electron stories
    SB->>Mobile: Serve React Native stories

    Note over MCP,TRPC: MCP SDK 1.32.0 - Session-scoped tasks
    
    TRPC->>MCP: Create MCP session
    MCP->>MCP: NEW: Bind tasks to session
    MCP->>MCP: NEW: Validate session origin
    
    alt Authenticated session
        MCP-->>TRPC: Valid session token
        TRPC->>MCP: Execute task
        MCP->>MCP: NEW: Memory-safe validation
    else Cross-origin request
        MCP->>MCP: NEW: Block redirect
        MCP-->>TRPC: Rejected (401)
    end

    Note over Hono,API: Hono 4.13.11 - Static path security

    API->>Hono: Request /static/*
    Hono->>Hono: CHANGED: Single path decode
    alt Path traversal attempt
        Hono->>Hono: NEW: Block double-encoded paths
        Hono-->>API: 403 Forbidden
    else Normal static request
        Hono-->>API: Serve static content
    end

    API->>Z: Validate request payloads
    Z->>Z: CHANGED: Memory-bound collection validation
    alt Oversized collection
        Z-->>API: Validation error
        API-->>Client: 400 + error
    else Normal payload
        Z-->>API: Validated data
        API-->>Client: Success response
    end
Loading

View guided diff | Turn on auto-fix | Re-trigger cubic

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

🧹 Preview Cleanup Complete

The following preview resources have been cleaned up:

  • ✅ Neon database branch

Thank you for your contribution! 🎉

@expo

expo Bot commented Nov 8, 2026

Copy link
Copy Markdown

Preview update published for development build 2b8038dc (fingerprint e65ce637d4ee). Open the build on your phone and scan:

Update group 26bd123a

@AviPeltz
AviPeltz merged commit b5b6302 into main Nov 9, 2026
24 checks passed

This branch was previously deployed

1 inactive deployment
preview — 84c7a096 Deployed Nov 8, 2026 by AviPeltz via Deploy Web #14138
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