Repository navigation
Update hono to fix five security advisories - #4408
Merged
Merged
Conversation
The weekly OSV scan flagged hono 4.13.13 with five advisories fixed in 4.13.16. hono comes in only through the dev toolchain (claude-agent-sdk, then the MCP SDK), so none was reachable. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
The dependency security test now checks hono >= 4.13.16; the contributor guide's description of that test names it too. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Merged
capy-ai Bot
added a commit
that referenced
this pull request
Nov 17, 2026
- /autoplan's approval page no longer hides a reviewer's product objection behind "keep your direction". (#4431) - Every skill that loads the shared preamble, on every host, now says to ask a question once and to check a file before handing it over. (#4383) - The Captain manuals now name the `Failed or skipped:` and `Also changed:` lines that READY and lane reports carry. (#4432) - gstack's shell locks hold again on Ubuntu 26.04, where `mkdir` reports success when another process won the race (GST-2247). (#4262) - `test/gstack-lock-race.test.ts` runs the old pattern and the helper against a PATH shim that behaves like uutils 0.8.0 `mkdir`, so it runs on any runner image: the old pattern lets two of four racers win, the helper admits exactly one in each of 60 races and never overlaps across take, hold and release loops, and parallel `gstack-config` writers keep every key. (#4262) - Windows Setup E2E now runs when `bin/gstack-lock.sh` changes. (#4433) - Claude Code's skill list now says when to use each gstack skill, so Opus loads /review and /plan-eng-review when a request fits. (#4387) - A pull request's merge head can no longer keep its `/ship` receipt without a full review. (#4365) - `/ship` now counts review rounds per pull request, and the head that merges always gets a full review. (#4360) - /ship's documentation audit no longer accepts a passing result when an earlier line from the same audit said "blocked". (#4434) - /ship's documentation audit no longer spends an attempt when the audit child writes text after its result. (#4285) - The README lists the two new guides, and the install doc counts its hooks right. (#4403) - docs/releases.md now says the stable release cut treats a failed commit status as red and a pending one as still going, as it has since #4257. (#4436) - /ship's `finish --docs-requested` now accepts a docs fix when the audit named the file with a line number. (#4437) - Document the `.gstack/approval-classes.json` schema, `gstack-approval-classes` CLI commands, and owner approval citation format in `docs/ship-policy.md#approval-classes`. (#4355) - `/eval-plan` now runs four result checks instead of leaving them to judgment. (#4384) - The /review coverage-audit eval no longer fails a run that really read the source file when zsh stops a command line at an `echo ====` separator. (#4364) - Sixteen in-repo documentation links reach their section again. (#4394) - gstack agents now open every status report with what failed, what they didn't verify and what else they changed. (#4273) - Two new short guides. (#4380) - A skill you wrote whose contract still lists `check_after_last_edit` keeps the rest of its contract. (#4439) - The ship policy guide now explains how to merge any pull request with `gstack-ship-queue land`, even in a repository with one maintainer. (#4377) - /ship's test step runs a large unit suite on Linux. (#4426) - Every skill that loads the shared preamble, on every host, now says never to print a whole environment, git config or process table. (#4382) - Pull requests from /ship now open with at most three plain lines, and every merge lands as one commit titled with the PR title. (#4438) - `gstack-pr-wait`, `gstack-ci-gate` and the release cut no longer call a commit green while a check on it failed. (#4257) - `gstack-runaway` now says what a thread's cold and empty wakes cost, not just how many there were (GST-2770). (#4385) - The optional Stop hook no longer checks for a test run after the last edit, and /verify asks for it in plain words instead. (#4428) - /ship's test step says when it ran out of time, and you can set its budget. (#4429) - The remote test command no longer puts every file on one command line. (#4429) - The stable release no longer waits on the nightly Windows tests (GST-2815). (#4400) - Ubicloud fan-outs can no longer overshoot the vCPU limit, and owners no longer delete each other's VMs. (#4430) - hono is pinned to 4.13.16, which fixes five advisories the weekly OSV scan found in 4.13.13 (gstack#4406). (#4408) - `package.json` overrides (#4408) - `test/dependency-security.test.ts`: the lockfile floor check now covers `hono >= 4.13.16`. (#4408) - The nightly Windows test run finishes again. (#4409) - A short write-up checklist in ETHOS.md. (#4381) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
4 tasks done
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.
Contributor checkouts now install hono 4.13.16, which fixes five advisories the weekly dependency scan found in 4.13.13, keeping gstack's own install free of known-vulnerable packages.
What changed
The new hono floor row fails on main's lockfile (4.13.13) and passes on this branch (4.13.16).
Before/after as text: The new hono floor row fails on main's lockfile (4.13.13) and passes on this branch (4.13.16)
Why
The weekly OSV scan on 2026-11-16 failed and filed #4406: "vulnerable dependency needs triage". It flagged five hono advisories (GHSA-3gg2-335m-rxc6, GHSA-46wx-v44x-9hh2, GHSA-4h7h-rv7c-7m2v, GHSA-4m76-xfj5-7975, GHSA-h7mg-cq63-vhpq), all fixed in 4.13.16. Moving the override clears the scan, and a new floor row in the dependency test stops the old version from coming back.
Blast radius
Only the dev and test toolchain changes. hono reaches gstack through
@modelcontextprotocol/sdk(which asks for^4.11.4) and@hono/node-server(peer^4 || ^5.0.0-0), and both ranges accept 4.13.16. No tracked file imports hono and gstack never starts a hono server (git grep, read), andbun install --frozen-lockfileresolves the single 4.13.16 copy with no changes (script ran).Summary
The scan reported five advisories in hono 4.13.13. This PR pins hono to 4.13.16 in the package.json overrides, regenerates bun.lock so it holds that one copy, and adds a hono >= 4.13.16 row to the lockfile floor check in test/dependency-security.test.ts, which fails on main and passes here. The contributor guide's description of that test now names hono too.
Test Coverage
All new code paths have test coverage: the one changed runtime input (bun.lock) has a changed test naming it.
Tests ran: deps 10
Tests ran: test 1671 (files, carried from CI run 43884585058)
Pre-Landing Review
No issues found.
REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=0 fixed=0 scope=frozen ledgers_read=3 dispatches=1 est_input_tokens=1934
Gate edits: none detected (1 listed, 1 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Outside review: completed, clean (second-model review on openai/gpt-6.1-sol: no findings).
Review notes
Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.
CONTRIBUTING.md:435Contributor guide lists the dependency floors without honochangelog.d/update-hono-security-advisories.md:2important: security fast-tracks a change whose advisories are unreachable in gstackpackage.json:110hono 4.13.16 tightens RegExpRouter route acceptance; only matters if the MCP SDK registers an empty-matching patternThe documentation audit later fixed the CONTRIBUTING.md note; see Documentation.
Exploratory QA
Functional smoke on the CLI surface, 4 captures, verdict pass. The floor check passes on the branch (10 pass, 0 fail). Against main's bun.lock and package.json only the new hono row fails (9 pass, 1 fail).
bun install --frozen-lockfilereports no changes and the MCP SDK resolves hono 4.13.16. One capture was superseded: the first main-lockfile fixture lacked package.json, so the sharp row also failed there; the next capture fixed the fixture. Not covered: runtime use of the patched hono helpers, because gstack never imports hono.Design Review
No frontend files changed — design review skipped.
Eval Results
No prompt-related files changed — evals skipped.
Review bot comments
No review bot comments.
Plan Completion
Plan completion audit: not run (no plan is bound to this branch and no docs/designs/ file matches). This is a dependency security bug fix, exempt from plan review.
Issues
Fixes #4406
TODOS
No TODO items completed in this PR.
Documentation
Scope: the hono 4.13.13 to 4.13.16 security pin (package.json overrides, bun.lock, test/dependency-security.test.ts floor check, changelog.d fragment). I searched every Markdown doc and authored template for hono references.
Result: CONTRIBUTING.md's Dependency security regressions entry now lists
honoamong the version floors the test checks, matching the new test case. No other docs needed changes.Debt: none.
Test plan
Agent notes
Refs #4406
Approvals
No approvals recorded for branch update-hono-security-advisories.
Plan: exempt: bug fix
Plan check: exempt bug fix
REVIEW_LOOP: passes=1 blocking_found=0 deferred=0 noted=0 fixed=0 scope=frozen ledgers_read=3 dispatches=1 est_input_tokens=1934
Gate edits: none detected (1 listed, 1 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)