Skip to content

Commit 3c35571

Browse files
committed
fix(deps): bump hono 4.12.18 -> 4.12.21 (resolves 4 Dependabot advisories)
Patches all four open MEDIUM Dependabot alerts on hono (<4.12.21): - GHSA-3hrh-pfw6-9m5x (CVE-2026-47675): Set-Cookie injection via unsanitized sameSite/priority in the cookie helper - GHSA-2gcr-mfcq-wcc3 (CVE-2026-47676): app.mount() strips the mount prefix using an undecoded path - GHSA-xrhx-7g5j-rcj5 (CVE-2026-47674): IP-restriction bypass for non-canonical IPv6 deny rules - GHSA-f577-qrjj-4474 (CVE-2026-47673): JWT middleware accepts any Authorization scheme, not only Bearer The bump is a patch within 4.12.x (non-breaking). The loopback bridge in lib/local-bridge.ts uses only core Hono routing and none of the affected middleware, so this is dependency hygiene. Also pulled in by npm audit fix: brace-expansion 5.0.5 -> 5.0.6 (dev-only, GHSA-jxxr-4gwj-5jf2). npm audit now reports 0 vulnerabilities. Docs kept in sync with the new pin (enforced by test/documentation.test.ts docs-supplychain-03): - SECURITY.md: hono override rationale updated to 4.12.21 - README.md: current prerelease link corrected to v2.3.0-beta.1 (drifted at the v2.3.0-beta.1 release; was the second failing doc test) Verified: build, typecheck, lint, and full vitest suite (4428 passed, 0 failed, 3 skipped) all green.
1 parent d8306d5 commit 3c35571

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ codex-multi-auth doctor --json
383383

384384
## Release Notes
385385

386-
- Current prerelease: [docs/releases/v2.3.0-beta.0.md](docs/releases/v2.3.0-beta.0.md) — install via `npm i -g codex-multi-auth@beta`
386+
- Current prerelease: [docs/releases/v2.3.0-beta.1.md](docs/releases/v2.3.0-beta.1.md) — install via `npm i -g codex-multi-auth@beta`
387387
- Current stable: [docs/releases/v2.2.2.md](docs/releases/v2.2.2.md) — install via `npm i -g codex-multi-auth`
388388
- Previous stable: [docs/releases/v2.2.1.md](docs/releases/v2.2.1.md)
389389
- Previous stable: [docs/releases/v2.2.0.md](docs/releases/v2.2.0.md)

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ The following are not treated as vulnerabilities in this repository:
7979

8080
Security override rationale (`package.json` -> `overrides`):
8181

82-
- `hono`: pinned to `4.12.18` to keep builds out of the vulnerable `4.12.0-4.12.1` range reported in `GHSA-xh87-mx6m-69f3` (authentication bypass advisory).
82+
- `hono`: pinned to `4.12.21` to keep builds out of the vulnerable `<4.12.21` range reported in `GHSA-3hrh-pfw6-9m5x`, `GHSA-2gcr-mfcq-wcc3`, `GHSA-xrhx-7g5j-rcj5`, and `GHSA-f577-qrjj-4474` (Set-Cookie injection, `app.mount()` path-decoding, IPv6 IP-restriction bypass, and JWT scheme-acceptance advisories).
8383
- `rollup`: pinned to `^4.59.0` to keep the Vite and Vitest transitive graph above the vulnerable `<4.59.0` range surfaced by `npm audit`.
8484

8585
Before release and after dependency changes:

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,12 @@
176176
"@codex-ai/plugin": "file:vendor/codex-ai-plugin",
177177
"@codex-ai/sdk": "file:vendor/codex-ai-sdk",
178178
"@openauthjs/openauth": "^0.4.3",
179-
"hono": "4.12.18",
179+
"hono": "4.12.21",
180180
"undici": "6.25.0",
181181
"zod": "4.4.3"
182182
},
183183
"overrides": {
184-
"hono": "4.12.18",
184+
"hono": "4.12.21",
185185
"flatted": "3.4.2",
186186
"minimatch": "10.2.4",
187187
"picomatch": "4.0.4",

0 commit comments

Comments
 (0)