Repository navigation
fix(deps): bump zod, storybook, @modelcontextprotocol/sdk and hono in every workspace to resolve Dependabot alerts - #9510
Conversation
… 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.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
There was a problem hiding this comment.
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
🧹 Preview Cleanup CompleteThe following preview resources have been cleaned up:
Thank you for your contribution! 🎉 |
|
Preview update published for development build |
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/realtimeThis 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_requestruns 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'smultiple-dependency-versionscheck: these pins can only move in all workspaces at once.Lockfile notes for the reviewer:
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
storybook → 10.6.2
@modelcontextprotocol/sdk → 1.32.0
hono → 4.13.11
serveStaticdecodes the request path a second time, leading to bypass of middleware on static pathsNot in this PR (covered by open PRs that merge cleanly into main and pass Sherif):
@hono/node-server2.0.10 → 2.1.3 (chore: disable PostHog debug logging in development #473, fix(desktop): include command output in teardown failure toast #474): fix(deps): bump @hono/node-server to 2.1.3 to resolve Dependabot alerts #9147undici7.30.0 → 7.30.1 (feat(desktop): make terminal colors optional with xterm defaults fallback #478–chore(desktop): bump version to 0.0.34 #485): chore(deps): bump undici from 7.30.0 to 7.30.1 in /packages/trpc #9102dompurify3.4.16 → 3.4.17 (fix(desktop): improve light theme terminal color contrast #475–feat(desktop): replace lowdb with SQLite for local database #477): chore(deps): bump dompurify from 3.4.16 to 3.4.17 in /packages/chat-ui #9094@azure/msal-node5.5.0 → 7.1.0 (Update finding Claude #444): chore(deps): bump @azure/msal-node from 5.5.0 to 7.1.0 in /packages/trpc #8836better-auth1.6.22 → 1.7.7 (fix(desktop): ensure Monaco editor loads syntax highlighting reliably #445–feat(marketing): add Features and FAQ sections to homepage #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 changesbunx sherif: no issuesbun run lint:fix: clean, no fixes appliedbun run typecheck(root turbo, all 42 tasks): passes in every workspace, including apps/mobile and apps/desktop, 0 errorsSummary 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-versionscheck; 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.Written for commit 84c7a09. Summary will update on new commits.
Summary by CodeRabbit