Skip to content

chore(security): bump hono override to >=4.12.25 - #407

Merged
tkislan merged 1 commit into
mainfrom
tk/update-dependency-vulnerabilities-2026-06-16
Jun 17, 2026
Merged

tkislan merged 1 commit into
mainfrom
tk/update-dependency-vulnerabilities-2026-06-16

Conversation

@tkislan

@tkislan tkislan commented Jun 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Resolves all 5 pnpm audit advisories (1 high, 4 moderate). Every finding stems from hono <4.12.25, pulled in transitively via @modelcontextprotocol/sdk in packages/mcp.

Following repo convention, this bumps the existing root pnpm.overrides entry for hono (>=4.12.21 → >=4.12.25) and regenerates the lockfile. pnpm audit is now clean (resolves hono@4.12.25).

Advisories fixed

Severity Advisory Issue
high GHSA-88fw-hqm2-52qc CORS middleware reflects any Origin with credentials when origin defaults to the wildcard
moderate GHSA-wwfh-h76j-fc44 serve-static path traversal on Windows via encoded backslash (%5C)
moderate GHSA-j6c9-x7qj-28xf AWS Lambda adapter merges multiple Set-Cookie headers into one value
moderate GHSA-rv63-4mwf-qqc2 Body Limit middleware bypass on AWS Lambda via understated Content-Length
moderate GHSA-wgpf-jwqj-8h8p Lambda@Edge adapter keeps only the last value of a repeated request header

Test plan

  • pnpm install --lockfile-only regenerates the lockfile (hono@4.12.25)
  • pnpm audit reports No known vulnerabilities found

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated dependency to latest compatible version.

Resolves 5 pnpm audit advisories (1 high, 4 moderate), all from hono
<4.12.25 pulled in transitively via @modelcontextprotocol/sdk in
packages/mcp:

- high: CORS middleware reflects any Origin with credentials when
  `origin` defaults to the wildcard (GHSA-88fw-hqm2-52qc)
- moderate: serve-static path traversal on Windows via encoded
  backslash %5C (GHSA-wwfh-h76j-fc44)
- moderate: AWS Lambda adapter merges multiple Set-Cookie headers
  (GHSA-j6c9-x7qj-28xf)
- moderate: Body Limit middleware bypass on AWS Lambda via understated
  Content-Length (GHSA-rv63-4mwf-qqc2)
- moderate: Lambda@Edge adapter keeps only the last value of a repeated
  request header (GHSA-wgpf-jwqj-8h8p)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jun 16, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 690cf87e-aa27-4831-b2d5-c7f172df2ef6

📥 Commits

Reviewing files that changed from the base of the PR and between 2954ed6 and 227d140.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (1)
  • package.json

📝 Walkthrough

Walkthrough

package.json bumps the pnpm.overrides minimum version constraint for hono from >=4.12.21 to >=4.12.25. One line changed, nothing else.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~1 minutes

Possibly related PRs

Suggested reviewers

  • m1so
🚥 Pre-merge checks | ✅ 6
✅ Passed checks (6 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly summarizes the main change: bumping the hono dependency override to address security vulnerabilities.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
Updates Docs ✅ Passed PR is a security patch updating hono dependency, not a feature implementation. Documentation updates required only when features are implemented.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

@tkislan
tkislan marked this pull request as ready for review June 16, 2026 19:39
@tkislan
tkislan requested a review from a team as a code owner June 16, 2026 19:39
@tkislan
tkislan requested review from dinohamzic and m1so June 16, 2026 19:39
@codecov

codecov Bot commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.94%. Comparing base (2954ed6) to head (227d140).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #407   +/-   ##
=======================================
  Coverage   83.94%   83.94%           
=======================================
  Files         151      151           
  Lines        8047     8047           
  Branches     2236     2236           
=======================================
  Hits         6755     6755           
  Misses       1291     1291           
  Partials        1        1           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tkislan
tkislan merged commit b5c95b4 into main Jun 17, 2026
39 checks passed
@tkislan
tkislan deleted the tk/update-dependency-vulnerabilities-2026-06-16 branch June 17, 2026 13:53
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.

2 participants