chore(release): audit, hono advisory fix, and bump to 2.6.0 - #2302
Merged
Conversation
…ories `npm audit` at release time reported hono <=4.13.4 against three moderate advisories: GHSA-gqvv-2mrq-wpjv (toSSG() writes outside the output dir), GHSA-g6gw-c38x-mqfc (unbounded dot-notation nesting in parseBody() can exhaust memory) and GHSA-crvj-82cr-hjcx (the query parser reads parameters after the URL fragment, creating cache-key and proxy differentials). hono is a runtime dependency of `core/`, so the fix raises the declared floor rather than only moving the lockfile: a published install resolves this range from the root manifest, and `^4.13.1` would still have let a consumer land on a vulnerable 4.13.x. Refs #2300 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RsmR1iQstcrEzJFmgZXGLi Signed-off-by: cliffhall <cliff@futurescale.com>
Ahead of the v2.6.0 milestone merge into `main`. The bump belongs on `v2/main` so it flows into `main` with the rest of the milestone's work — doing it on the merge branch instead leaves `v2/main` reading a stale version and lets the bump leak into unrelated PRs (#2010). There is one version number in the repo; the clients carry none. No tag is created here: the release tag points at the merge commit on `main`. Closes #2300 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RsmR1iQstcrEzJFmgZXGLi Signed-off-by: cliffhall <cliff@futurescale.com>
There was a problem hiding this comment.
🟢 Approval recommended
The manifest and lockfile changes are internally consistent and match issue #2300’s release-preparation scope.
Pull request overview
Prepares release 2.6.0 by updating the package version and raising Hono’s minimum compatible version beyond the reported runtime advisories.
Changes:
- Bumps Inspector from
2.5.0to2.6.0. - Raises Hono from
^4.13.1to^4.13.7. - Synchronizes the root lockfile metadata and resolved Hono artifact.
File summaries
| File | Description |
|---|---|
package.json |
Updates the release version and secure Hono dependency floor. |
package-lock.json |
Records version metadata and locks Hono at 4.13.7. |
Review details
- Files reviewed: 1/2 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
4 tasks
This was referenced Sep 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2300
Release 2.6.0, step 1 of two. Per the
releaseskill this PR carries the releasenpm audit, any fixes it forces, and the version bump — all three together, onv2/main, so they flow intomainwith the rest of the milestone's work.The audit
npm audit --audit-level=highacross all five installs (root + web/cli/tui/launcher): all exit 0 — nothing high or critical. Two moderate clusters were reported:hono <=4.13.4— GHSA-gqvv-2mrq-wpjv, GHSA-g6gw-c38x-mqfc, GHSA-crvj-82cr-hjcxcore/imports it@vitest/mocker2.1.0–4.1.10 — GHSA-82fw-gwwq-j7x9No
npm audit fixwas run, with or without--force— it resolves an in-range advisory by silently downgrading, whichlocal:gatecannot detect (#2058).The hono fix
Raises the declared floor
^4.13.1→^4.13.7, not just the lockfile. hono is a runtime dependency ofcore/, and a published install resolves this range from the root manifest — under^4.13.1a consumer could still land on a vulnerable 4.13.x even with our lockfile pinned safely.Why the vitest bump is not here
vitest,@vitest/coverage-v8and web's@vitest/browser-playwrightare pinned exactly and must move together (AGENTS.md). The root install takes 4.1.11 cleanly;clients/webwill not:@vitest/browser-playwrightdeclares an exact peer onvitest, web does not declarevitestitself (it is the peer shadow AGENTS.md describes), and web's lockfile pins that copy at 4.1.10 — a knot npm resolves by refusing. Regenerating web's lockfile does clear it, but re-resolves the whole tree: 298 version lines changed, 649 → 657 packages. That is an uncontrolled dependency update, not a security patch, and it does not belong in a release-prep PR.It is dev-only, moderate, and does not gate the release (
--audit-level=highis clean), so it is tracked as #2301 with the full reproduction and three candidate approaches.The bump
npm version minor --no-git-tag-version—2.5.0→2.6.0. Two version lines, and deliberately no tag: the release tag points at the merge commit onmain, cut in step 2.Verification
npm run local:gate— pass, in a dedicated worktree with a fullnpm install.verify:build-gateverify:bundle-externalsBuild output confirms the new version throughout (
@modelcontextprotocol/inspector@2.6.0).No UI or TUI surface changes, so no screenshots apply.
Next
Once this merges, PR 2 takes
v2/mainintomainwhole — no commits of its own — smoke-tested from the production build against every one of the milestone's 42 closed issues, with the ledger artifact for maintainer review.🤖 Generated with Claude Code
https://claude.ai/code/session_01RsmR1iQstcrEzJFmgZXGLi