Skip to content

chore(deps): bump @hono/node-server from 2.1.5 to 2.1.6 in /apps/lit-host - #417

Closed
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/apps/lit-host/hono/node-server-2.1.6
Closed

dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/apps/lit-host/hono/node-server-2.1.6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 13, 2026

Copy link
Copy Markdown
Contributor

Bumps @hono/node-server from 2.1.5 to 2.1.6.

Release notes

Sourced from @​hono/node-server's releases.

v2.1.6

Security fixes

This release includes fixes for the following security issues:

Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy

Affects: all requests. The raw request-target was passed to the WHATWG URL parser, which treats a backslash in the path as / and resolves .. segments, so /admin\secret reached the application as /admin/secret. A reverse proxy that forwards the backslash unchanged applied its path-based rules to the original path. GHSA-jpvv-r467-5p4w

A request whose path contains a raw backslash is now rejected with 400 Bad Request, for HTTP/1.1, HTTP/2 and WebSocket upgrades. A percent-encoded backslash (%5C) and a backslash in the query string are still accepted.

WebSocket upgrade request-target starting with // replaces the host in c.req.url, bypassing Origin checks

Affects: upgradeWebSocket. The URL of an upgrade request was built by resolving the request-target against the Host header, so a request-target such as //attacker.example/ws set the host of c.req.url to a client-chosen value while routing still saw /ws. An application that compared Origin with the origin of c.req.url could be bypassed by a page on another site. GHSA-7v5p-43qr-wch5

The host of upgrade requests now comes from the Host header, as for ordinary requests.

Unhandled ECONNRESET on the socket during an asynchronous WebSocket upgrade crashes the process

Affects: upgradeWebSocket. While the application handled an upgrade request, the socket had no error listener. A client that reset the connection during asynchronous middleware caused an unhandled 'error' event and terminated the process. GHSA-qv5m-9pm6-hqp3

Error and close events on the socket are now handled while the application runs, and a pending upgrade is released when the socket closes.


The backslash fix also ships in @hono/node-server v1.19.18. Users of upgradeWebSocket are encouraged to upgrade to this version.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [@hono/node-server](https://github.com/honojs/node-server) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/honojs/node-server/releases)
- [Commits](honojs/node-server@v2.1.5...v2.1.6)

---
updated-dependencies:
- dependency-name: "@hono/node-server"
  dependency-version: 2.1.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 13, 2026
@mintlify

mintlify Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
saga-a2ui 🟢 Ready View Preview Nov 13, 2026, 1:33 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

@yia-mw-agent yia-mw-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Helmet-Review-Request: #417 (comment)

Reviewed the full merge-base-to-head diff at 35c1a17 (base main, merge-base 906d8ab; two commits: dependabot's manifest bump and a follow-up hand-edit of the lockfile; 2 files). I checked out the exact head, inspected the dependency tree, and ran a fresh install in the review worktree. The security bump does not take effect, and the lockfile is out of sync with the manifests.

Material defects

  1. npm ci fails on the repo toolchain — lockfile out of sync. The PR's own CI run (Documentation, artifacts, policy tests and CI routing, job 138510964578, npm 10.9.9 on Node 22.23.3) fails with:

    npm error `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync.
    npm error Missing: @hono/node-server@2.1.6 from lock file
    

    The lockfile edit changed only the spec string under apps/lit-host (package-lock.json:42). The actual package entry node_modules/@hono/node-server (package-lock.json:1727-1730) still records version 2.1.5 with the 2.1.5 tarball URL and integrity hash, and no nested apps/lit-host/node_modules/@hono/node-server entry exists. The lockfile must be regenerated with npm install rather than hand-edited.

  2. The bump is ineffective: the root override pins 2.1.5. Root package.json:63-67 carries "overrides": { ... "@hono/node-server": "2.1.5" }, which forces 2.1.5 across the whole workspace regardless of what apps/lit-host/package.json declares. Verified empirically at this head: npm ci (with a newer npm that tolerates the lockfile drift) installs @hono/node-server@2.1.5 everywhere — npm ls reports 2.1.5 overridden at the root and 2.1.5 deduped for @saga-a2ui/lit-host-app, @modelcontextprotocol/node and @saga-a2ui/mcp, and the installed node_modules/@hono/node-server/package.json is 2.1.5. The three GHSA fixes that motivate this PR (GHSA-jpvv-r467-5p4w, GHSA-7v5p-43qr-wch5, GHSA-qv5m-9pm6-hqp3) are therefore not delivered. The override (and, for consistency, the root devDependency and packages/mcp spec, both still 2.1.5) must move to 2.1.6 together with the apps/lit-host spec, followed by a real lockfile regeneration.

Requesting changes; happy to re-review once the override and lockfile are corrected.

"@a2ui/react": "0.13.0",
"@a2ui/web_core": "0.13.0",
"@hono/node-server": "2.1.5",
"@hono/node-server": "2.1.6",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This declaration never takes effect: the root package.json overrides block (lines 63-67) pins "@hono/node-server": "2.1.5" for the whole workspace. Verified at this head with a fresh npm ci: npm ls @hono/node-server shows 2.1.5 overridden / 2.1.5 deduped for @saga-a2ui/lit-host-app, and the installed copy is 2.1.5 — the GHSA fixes in 2.1.6 are not delivered. Please bump the override (and the root devDependency / packages/mcp spec, both still 2.1.5) to 2.1.6 as part of this PR.

Comment thread package-lock.json
"@a2ui/react": "0.13.0",
"@a2ui/web_core": "0.13.0",
"@hono/node-server": "2.1.5",
"@hono/node-server": "2.1.6",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hand-editing only this spec string leaves the lockfile out of sync: the node_modules/@hono/node-server package entry (line 1727) still records 2.1.5 with the 2.1.5 tarball URL and integrity, and no nested entry for apps/lit-host exists. The PR's CI confirms the failure on the repo toolchain (npm 10.9.9, Node 22.23.3): npm ci aborts with Missing: @hono/node-server@2.1.6 from lock file. Please regenerate the lockfile with npm install after updating the manifests instead of editing it by hand.

@timeleft--

Copy link
Copy Markdown
Member

Superseded by #418, normally merged as 7fe3dac. That reviewed closure contains both the apps/lit-host @hono/node-server 2.1.6 pin and its package-lock entry, together with the root override needed for a clean install. The exact merged manifests and lockfile were checked. Closing this redundant branch without merging it; publication is tracked separately.

@timeleft-- timeleft-- closed this Nov 27, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/apps/lit-host/hono/node-server-2.1.6 branch November 27, 2026 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants