Skip to content

fix(deps): bump hono to 4.13.18 and @hono/node-server to 2.1.8 (Trivy CVEs) - #803

Merged
pdettori merged 1 commit into
rossoctl:mainfrom
pdettori:fix/hono-cve-bump
Nov 13, 2026
Merged

pdettori merged 1 commit into
rossoctl:mainfrom
pdettori:fix/hono-cve-bump

Conversation

@pdettori

Copy link
Copy Markdown
Member

Summary

Bumps two transitive dependencies of @modelcontextprotocol/sdk to clear new Trivy findings. The change is lockfile-only and stays within the SDK's existing ranges.

Package From To CVEs (fixed in)
hono 4.13.13 4.13.18 CVE-2026-126355, -126356, -126357, -126358, -126359 (4.13.16)
@hono/node-server 2.1.4 2.1.8 CVE-2026-126210, CVE-2026-126343 (2.1.6)

These CVEs reached Trivy's database after the latest main scan. Since then trivy-scan fails on every PR, whatever the PR changes (seen on #802). Only @moca/mocactl and @moca/sandbox-client use the SDK.

Tests on this tree:

  • @moca/sandbox-client: 148 passed, 2 skipped;
  • @moca/mocactl: 1709 passed, 4 skipped.

Checklist

  • Commits are signed off (git commit -s).
  • make lint and the tests for the touched packages pass. Tests were run for the two packages that use the SDK; only pnpm-lock.yaml changed.
  • Docs: not applicable.
  • Docs: make check-links: not applicable, no Markdown changed.
  • A new spec or ADR is registered: not applicable.

Assisted-By: Claude Code

Both are transitive dependencies of @modelcontextprotocol/sdk (used by
@moca/mocactl and @moca/sandbox-client). Trivy's updated database flags
hono 4.13.13 (CVE-2026-126355..126359, fixed in 4.13.16) and
@hono/node-server 2.1.4 (CVE-2026-126210, CVE-2026-126343, fixed in
2.1.6), failing trivy-scan on every PR. Lockfile-only update within the
SDK's existing ranges.

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
@pdettori pdettori added the ready-for-ai-review Request automated AI code review from clawgenti label Nov 13, 2026

@ingpaolodettori-dev ingpaolodettori-dev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

A lockfile-only bump of two transitive dependencies of @modelcontextprotocol/[email protected]: hono 4.13.13 → 4.13.18 and @hono/node-server 2.1.4 → 2.1.8. I checked both integrity hashes against the npm registry and they match. Both versions satisfy the SDK's ranges (hono ^4.11.4, @hono/node-server ^1.19.9 || ^2.0.5), and 4.13.18 satisfies node-server's hono ^4 || ^5.0.0-0 peer. The engines are unchanged (>=16.9.0 and >=20). These are the only hono entries in the lockfile, no package.json depends on hono directly, and there are no overrides, so nothing else pins the old versions. Both are patch-level bumps within the same minor version, and trivy-scan is green at this head. No issues found.

Author: pdettori (MEMBER — maintainer)
Areas reviewed: Dependencies (pnpm-lock.yaml)
Agent/IDE config (.claude/.vscode): none
Commits: 1 commit, signed off: yes
CI status: passing (all 17 checks green, including trivy-scan, dependency-review and k8s-kind-e2e)

AI-assisted review, approved by a maintainer before posting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-ai-review Request automated AI code review from clawgenti

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants