Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Bump the @hono/node-server override to 2.1.6 or newer for two moderate advisories

garrytan11982cbf600d
diff --git a/bun.lock b/bun.lock
index 3f369fbb58..33c3b13af9 100644
--- a/bun.lock
+++ b/bun.lock
@@ -56,7 +56,7 @@
"overrides": {
"@ai-sdk/provider-utils": "4.0.56",
"@aws-sdk/util-format-url": "3.972.9",
- "@hono/node-server": "^2.0.5",
+ "@hono/node-server": "^2.1.6",
"body-parser": "^2.4.0",
"fast-uri": "^3.1.9",
"fast-xml-builder": "^1.1.7",
@@ -174,7 +174,7 @@
"@electric-sql/pglite": ["@electric-sql/[email protected]", "", {}, "sha512-ichuWTgtd4mOM1G4SpyGJa5trT03lWbMypDV0fUXUCXg5hiHqVAz/bZyV68NqmkLB7WcYmj1RMJVSp8HV/v/ZQ=="],
- "@hono/node-server": ["@hono/[email protected]", "", { "peerDependencies": { "hono": "^4" } }, "sha512-TA//nWMqPhbfdfneACk6t5a9eqbS9lABEPyKn0/xZTah3H3U2XaVg85rJFl0/Fyit0I552YDHgXGVSf3GwqbUw=="],
+ "@hono/node-server": ["@hono/[email protected]", "", { "peerDependencies": { "hono": "^4 || ^5.0.0-0" } }, "sha512-jdf7FHh6A1lzjpHHQUgxsg2GeER2vMetnAOfeActzcoli6jamlK+NAwL6Dsr5Fl3BS3tYUQzCdtZjU8Qxv7bEA=="],
"@jsquash/avif": ["@jsquash/[email protected]", "", { "dependencies": { "wasm-feature-detect": "^1.2.11" } }, "sha512-LMRxd0fMgfCLtobDh0/sFYJMMiRJTNYSEEWvRDKXlAeZ08t3gI5V+1thIT0XjXJ+SVG7Zug9B0XPyx0Ti5VRNA=="],
diff --git a/changelog.d/capy-db-wins-unimported-guard.md b/changelog.d/capy-db-wins-unimported-guard.md
index 387be24394..2bbfec91e6 100644
--- a/changelog.d/capy-db-wins-unimported-guard.md
+++ b/changelog.d/capy-db-wins-unimported-guard.md
@@ -13,5 +13,6 @@ important: data-loss
- Hold texts, `fix` steps and the docs that print a database-wins repair now give the preview as the step and say the apply needs the user's consent.
- `docs/guides/repair.md` explains the new behaviour and how to find edits an earlier repair overwrote, from the reconcile backups it kept.
- Tests: `test/db-wins-unimported-gst2579.test.ts` on PGLite and Postgres.
+- The `@hono/node-server` override (pulled in by the MCP SDK) moves from `^2.0.5` to `^2.1.6`, now resolving 2.1.8, which fixes GHSA-qv5m-9pm6-hqp3 (a reset connection during a WebSocket upgrade could crash `gbrain serve --http`) and GHSA-jpvv-r467-5p4w (a backslash in a request path could get past a static-path check).
<!-- behavior-change: db_wins_unimported_gst2579 -->
diff --git a/package.json b/package.json
index a7599ca6c7..00dac9e08a 100644
--- a/package.json
+++ b/package.json
@@ -262,7 +262,7 @@
"overrides": {
"@aws-sdk/util-format-url": "3.972.9",
"@ai-sdk/provider-utils": "4.0.56",
- "@hono/node-server": "^2.0.5",
+ "@hono/node-server": "^2.1.6",
"fast-uri": "^3.1.9",
"body-parser": "^2.4.0",
"fast-xml-builder": "^1.1.7",