-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Bump hono direct dep + override @hono/node-server (six advisories) #1484
Copy link
Copy link
Closed
Labels
P2Medium priority - Backlog, when time permitsMedium priority - Backlog, when time permitsarea: serverHTTP server (packages/server) - API routes, SSE, adaptersHTTP server (packages/server) - API routes, SSE, adaptersdependenciesPull requests that update a dependency filePull requests that update a dependency fileeffort/lowSingle file or function, one responsibility, isolated changeSingle file or function, one responsibility, isolated changesecuritySecurity vulnerabilities and hardeningSecurity vulnerabilities and hardening
Metadata
Metadata
Assignees
Labels
P2Medium priority - Backlog, when time permitsMedium priority - Backlog, when time permitsarea: serverHTTP server (packages/server) - API routes, SSE, adaptersHTTP server (packages/server) - API routes, SSE, adaptersdependenciesPull requests that update a dependency filePull requests that update a dependency fileeffort/lowSingle file or function, one responsibility, isolated changeSingle file or function, one responsibility, isolated changesecuritySecurity vulnerabilities and hardeningSecurity vulnerabilities and hardening
Context
Spun out of #1353 follow-up. `bun audit` against `bun.lock` (the actual runtime tree) flagged `hono` and `@hono/node-server` with several advisories. These are not on the Dependabot dashboard because Dependabot's `bun.lock` coverage is incomplete — they only surface via `bun audit` locally.
Affected packages
`hono <4.12.12` — direct dep in `@archon/server`
Currently pinned to `^4.11.4` in `packages/server/package.json`. Six advisories:
Several of these affect code paths Archon actually uses (`setCookie` / `getCookie` for the auth sidecar; `serveStatic` for the bundled web UI).
`@hono/node-server <1.19.13` — transitive
Pulled in via `@anthropic-ai/claude-agent-sdk`, `@mariozechner/pi-ai`, and `shadcn`. Not directly imported by Archon.
Proposed fix
In `packages/server/package.json`:
```diff
```
In root `package.json` overrides:
```diff
"overrides": {
...
}
```
Verification
Effort: ~30 min including manual cookie verification.