Skip to content

fix(deps): pin patched hono and @hono/node-server, refresh fflate - #10202

Merged
waleedlatif1 merged 1 commit into
stagingfrom
chore/deps-vulns-1118
Nov 19, 2026
Merged

waleedlatif1 merged 1 commit into
stagingfrom
chore/deps-vulns-1118

Conversation

@waleedlatif1

@waleedlatif1 waleedlatif1 commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Resolves the dependency advisories that have a compatible fix today, and documents the ones deliberately left.

Resolved:

Deliberately left:

  • better-auth / @better-auth/* (GHSA-965c, GHSA-r4xp, GHSA-q84f, GHSA-p2fr, GHSA-44jh): open PR chore(deps): upgrade better-auth to 1.7.12 #9465 owns the 1.7 upgrade. The critical and high advisories need plugins Sim does not enable.
  • zod 4.3.6 (GHSA-mrhx-c7xc-m3w5): fixed by the version-pinned bun patch patches/zod@4.3.6.patch. zod 4.6 is not a drop-in upgrade, so the version stays where it is.
  • katex 0.16.47 (low): mermaid 11 pins ^0.16.45, and the fix (0.18.2) requires mermaid 12, a major.
  • file-type 16.5.4: officeparser 5.2.2 (the latest 5.x) pins ^16.5.4, and the fix (21.3.1) requires officeparser 8, a major with API changes.
  • glob 13.0.6 / minimatch 10.x, 9.x: the fixes are glob 14.0.2 and minimatch 11.0.1, both majors. The root dev dep glob is used only by scripts/generate-docs.ts, which never passes an AbortSignal (the advisory's trigger). The minimatch paths are react-email, archiver, and electron-builder ranges (^10, ^9).
  • postcss-selector-parser 6.0.10: @tailwindcss/typography (latest 0.5.20) pins it exactly. It is build-time CSS only.
  • satori 0.12.2 / fflate via @vercel/og: @vercel/og 0.6.8 pins satori exactly, and the fix needs @vercel/og 1.x (a major). It is a root dev dep used only by scripts/generate-library-covers.tsx with first-party inputs.
  • uuid 9.0.1: gaxios 6 and teeny-request 9 declare ^9, and the fix (11.1.1) is a major. The bug is in v3/v5/v6 when a buf is passed, which these callers do not do.
  • esbuild 0.18.20: dev-only, via drizzle-kit → @esbuild-kit/core-utils (~0.18.20). The advisory concerns esbuild serve, which nothing uses.

Type of Change

  • Other: dependency security update

Testing

  • bun install --frozen-lockfile is clean. The lockfile diff touches only hono, @hono/node-server, and the two nested fflate entries, with no new nested duplicates.
  • Ran the real-transport MCP integration suites with disposable infra (bun scripts/test-integration.ts provider-discovery managed-mcp). These drive StreamableHTTPServerTransport → @hono/node-server end to end. Result: 38/38 passed on hono 4.13.18 and @hono/node-server 2.1.7.
  • MCP unit suites (lib/api/mcp, lib/knowledge/mcp, app/api/mcp, lib/mcp): 585/585 passed.
  • check:realtime-prune passed. The pre-push hook (lint and full type-check) passed.
  • bun audit went from 25 vulnerabilities (1 critical, 3 high, 16 moderate, 5 low) to 16 (1 critical, 3 high, 8 moderate, 4 low). The critical and high findings that remain are better-auth (chore(deps): upgrade better-auth to 1.7.12 #9465) and zod (patched).

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

🤖 Generated with Claude Code

Bump the root security overrides hono 4.13.13 -> 4.13.18 and
@hono/node-server 2.1.5 -> 2.1.7 (both reached via @modelcontextprotocol/sdk),
and refresh the lockfile so posthog-js and @shuding/opentype.js resolve
fflate 0.4.9 and 0.7.5 inside their existing ranges.
@waleedlatif1
waleedlatif1 requested a review from a team as a code owner November 19, 2026 06:25
@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Nov 19, 2026 6:30am UTC

Request 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 2 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Turn on auto-fix | Re-trigger cubic

@greptile-apps

greptile-apps Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Updates the patched dependency pins and refreshes two nested compression dependencies without changing application code.

  • MCP dependencies now resolve patched Hono releases.
  • Two nested fflate copies now resolve newer patched versions.

Reviews (1) · Last reviewed commit: "fix(deps): pin patched hono and @hono/no..." · Reviewed by Greptile

@waleedlatif1
waleedlatif1 merged commit ac8aacf into staging Nov 19, 2026
97 checks passed
@waleedlatif1
waleedlatif1 deleted the chore/deps-vulns-1118 branch November 19, 2026 06:38

This branch was successfully deployed

1 active deployment
Preview — 8d8c5cc4 Deployed Nov 19, 2026 by vercel[bot]
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