Skip to content

chore(security): resolve pnpm audit vulnerability (1 moderate) - #601

Merged
tkislan merged 1 commit into
mainfrom
chore/pnpm-audit-2026-10-29
Oct 29, 2026
Merged

tkislan merged 1 commit into
mainfrom
chore/pnpm-audit-2026-10-29

Conversation

@tkislan

@tkislan tkislan commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

pnpm audit on main reports one advisory, which fails both Audit jobs. This PR fixes it.

Advisory Package Severity Path Fixed in
GHSA-rmxm-3fg6-px4f @hono/node-server 2.1.0 moderate prod: mcp > @modelcontextprotocol/sdk > @hono/node-server 2.1.3
  • @hono/node-server: the existing override floor moves from >=2.0.10 to the first patched release, >=2.1.3, which resolves to 2.1.5. No SDK bump can deliver the fix: @modelcontextprotocol/sdk 1.32.1 and the latest 1.32.2 both declare ^1.19.9 || ^2.0.5. Removing the override instead keeps the locked 2.1.0. The floor stays open-ended, like the other overrides. 2.1.3–2.1.5 are 16–30 days old, so they meet renovate's 24h minimumReleaseAge.
  • Lockfile: only the @hono/node-server entries and the SDK's reference to it change. Regenerating the lockfile also added libc:/deprecated: metadata to entries whose versions didn't change. Those lines were removed, as in chore(security): resolve pnpm audit vulnerabilities (1 high, 3 moderate) #588 and chore(security): resolve pnpm audit vulnerabilities (4 high, 5 moderate, 2 low) #598.
  • Exposure: the advisory concerns serveStatic. packages/mcp imports only the SDK's stdio transport, so @hono/node-server never loads at runtime.

Verification

  • pnpm audit and pnpm audit --prod: no known vulnerabilities.
  • pnpm build, typecheck, lintAndFormat, spell-check, license-check and test (190 files, 3630 tests): pass.
  • pnpm install --frozen-lockfile: passes. A second pnpm install --lockfile-only changes nothing.

🤖 Generated with Claude Code

https://claude.ai/code/session_013Y9ynDQmHsCRQVVRD8AgyJ

Summary by CodeRabbit

  • Chores
    • Updated the minimum supported version of the server package. No user-facing changes are included in this update.

- @hono/node-server: raise the override floor to >=2.1.3
  (GHSA-rmxm-3fg6-px4f); resolves to 2.1.5. @modelcontextprotocol/sdk
  1.32.1 and the latest 1.32.2 both still declare ^1.19.9 || ^2.0.5,
  so no SDK bump carries the fix

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Y9ynDQmHsCRQVVRD8AgyJ
@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 775e1398-faf1-43ca-b807-a4360f3606b6
Commits

Reviewing files that changed from the base of the PR and between 28b6d28 and f52b8e0.

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

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

Walkthrough

The @hono/node-server override minimum version changed from 2.0.10 to 2.1.3.

Priority: Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: dinohamzic, m1so

Merge Risk: Minimal · up to f52b8

No actionable merge-blocking risk remains from this dependency override update.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly identifies the security-focused dependency update that resolves one moderate pnpm audit vulnerability.
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 PASS — This pull request is a dependency security remediation, not a feature implementation. The reviewed diff changes only the @hono/node-server override and lockfile entries. No documentation upda…
Full details: Updates Docs

Explanation

PASS — This pull request is a dependency security remediation, not a feature implementation. The reviewed diff changes only the @hono/node-server override and lockfile entries. No documentation update is required by this check.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

Biome (2.5.15)
package.json

Biome could not lint this file: configuration resulted in errors. Check the repository's Biome configuration and plugins.

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

@tkislan
tkislan marked this pull request as ready for review October 29, 2026 16:07
@tkislan
tkislan requested a review from a team as a code owner October 29, 2026 16:07
@codecov

codecov Bot commented Oct 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.58%. Comparing base (28b6d28) to head (f52b8e0).

Additional details and impacted files
@@           Coverage Diff            @@
##             main     #601    +/-   ##
========================================
  Coverage   90.58%   90.58%            
========================================
  Files         218      218            
  Lines       12718    12718            
  Branches     3573     3680   +107     
========================================
  Hits        11520    11520            
  Misses       1195     1195            
  Partials        3        3            

☔ 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 e4dfb47 into main Oct 29, 2026
22 checks passed
@tkislan
tkislan deleted the chore/pnpm-audit-2026-10-29 branch October 29, 2026 17:09
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