Skip to content

fix(deps): close the seven open advisories (hono, @hono/node-server, esbuild) - #631

Merged
beyondnetPeru merged 1 commit into
developfrom
fix/deps-hono-esbuild-advisories
Aug 21, 2026
Merged

fix(deps): close the seven open advisories (hono, @hono/node-server, esbuild)#631
beyondnetPeru merged 1 commit into
developfrom
fix/deps-hono-esbuild-advisories

Conversation

@beyondnetPeru

Copy link
Copy Markdown
Contributor

Closes the seven open Dependabot alerts.

The dependabot PRs would not have closed any of them

Five dependabot PRs are open (#435#439): nestjs/common, nestjs/core, opentelemetry/resources, types/node, eslint-plugin-boundaries. The seven alerts are about hono, @hono/node-server and esbuild. Merging all five closes zero alerts, so this change does the work directly.

Alert Package From → to
80, 81 @hono/node-server 1.19.14 → 1.19.15
82 esbuild ^0.24.2 → ^0.25.0
75, 77, 78, 79 hono 4.12.27 → 4.12.34 (root override)

The four hono advisories are ReDoS in the CORS middleware, memo() retaining SSR output across requests, the Proxy Helper failing to strip headers named in Connection, and an algorithmic-complexity DoS in the language middleware.

Why hono needs an override

It is transitive twice over — a dependency of @modelcontextprotocol/sdk (^4.11.4) and a peer of @hono/node-server (^4). Neither range forces the patched version, so bumping @hono/node-server alone leaves it at 4.12.27.

Adding the override was not enough on its own: npm leaves an already-locked package where it is when only overrides changes, and neither npm install nor npm install --package-lock-only moved it. The lock entry was re-resolved deliberately, and its resolved and integrity restored from the registry — dropping those would leave a lockfile that npm ci cannot install.

Verification

  • npm ci from a clean directory containing only the manifests: 1303 packages added, hono@4.12.34 installed, found 0 vulnerabilities.
  • esbuild 0.25 still vendors the ESM dependencies the packaged binary depends on (GT-707) — dist/vendor/clack.cjs 107 kB / 59 exports, dist/vendor/conf.cjs 410 kB / 1 export — and the built CLI answers --version and rulesets.
  • Tests on the three workspaces that touch hono: agent-runtime-api 86 passed, agent-runtime 483 passed, CLI 133 passed.

🤖 Generated with Claude Code

…pendabot PRs touch

Dependabot has five pull requests open (#435-#439) and they cover nestjs,
opentelemetry, types/node and eslint-plugin-boundaries. The seven open alerts are
about three other packages entirely, so merging all five would have closed none
of them.

- `@hono/node-server` 1.19.14 -> 1.19.15 (alerts 80, 81)
- `esbuild` ^0.24.2 -> ^0.25.0 (alert 82)
- `hono` 4.12.27 -> 4.12.34 via a root override (alerts 75, 77, 78, 79):
  ReDoS in CORS middleware, `memo()` retaining SSR output across requests,
  Proxy Helper leaking `Connection`-listed headers, and complexity DoS in the
  language middleware

`hono` needs the override rather than a bump: it is transitive, reached through
`@modelcontextprotocol/sdk` (`^4.11.4`) and as a peer of `@hono/node-server`
(`^4`), so neither consumer's range forces the patched version. Changing
`overrides` alone did not move it -- npm leaves an already-locked package where it
is -- so the lock entry was re-resolved deliberately and its `resolved` and
`integrity` restored from the registry, since dropping those would break `npm ci`.

Verified, not assumed:

- `npm ci` from a clean directory with only the manifests present: 1303 packages,
  hono 4.12.34 installed, **0 vulnerabilities**
- esbuild 0.25 still vendors the ESM dependencies the packaged binary needs
  (GT-707): `dist/vendor/clack.cjs` 107 kB / 59 exports, `dist/vendor/conf.cjs`
  410 kB / 1 export, and the built CLI answers `--version` and `rulesets`
- tests on the three workspaces that touch hono: agent-runtime-api 86 passed,
  agent-runtime 483 passed, CLI 133 passed

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: aarroyo <beyondnet.peru@gmail.com>
@beyondnetPeru
beyondnetPeru requested a review from a team as a code owner August 21, 2026 17:24
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

Copy link
Copy Markdown

📊 Bilingual Coverage Impact

PR Changes

  • Paired EN/ES files modified: 12
  • New EN files needing ES translation: 0

Repository Coverage

Metric Value
Total EN files 525
Total ES files 495
Paired files 0
Coverage 0%

Good: All EN changes have ES counterparts.


Generated by GitHub Actions

@beyondnetPeru
beyondnetPeru merged commit 2341751 into develop Aug 21, 2026
47 checks passed
@beyondnetPeru
beyondnetPeru deleted the fix/deps-hono-esbuild-advisories branch August 21, 2026 17:35
beyondnetPeru added a commit that referenced this pull request Aug 21, 2026
…pendabot PRs touch (#631)

Dependabot has five pull requests open (#435-#439) and they cover nestjs,
opentelemetry, types/node and eslint-plugin-boundaries. The seven open alerts are
about three other packages entirely, so merging all five would have closed none
of them.

- `@hono/node-server` 1.19.14 -> 1.19.15 (alerts 80, 81)
- `esbuild` ^0.24.2 -> ^0.25.0 (alert 82)
- `hono` 4.12.27 -> 4.12.34 via a root override (alerts 75, 77, 78, 79):
  ReDoS in CORS middleware, `memo()` retaining SSR output across requests,
  Proxy Helper leaking `Connection`-listed headers, and complexity DoS in the
  language middleware

`hono` needs the override rather than a bump: it is transitive, reached through
`@modelcontextprotocol/sdk` (`^4.11.4`) and as a peer of `@hono/node-server`
(`^4`), so neither consumer's range forces the patched version. Changing
`overrides` alone did not move it -- npm leaves an already-locked package where it
is -- so the lock entry was re-resolved deliberately and its `resolved` and
`integrity` restored from the registry, since dropping those would break `npm ci`.

Verified, not assumed:

- `npm ci` from a clean directory with only the manifests present: 1303 packages,
  hono 4.12.34 installed, **0 vulnerabilities**
- esbuild 0.25 still vendors the ESM dependencies the packaged binary needs
  (GT-707): `dist/vendor/clack.cjs` 107 kB / 59 exports, `dist/vendor/conf.cjs`
  410 kB / 1 export, and the built CLI answers `--version` and `rulesets`
- tests on the three workspaces that touch hono: agent-runtime-api 86 passed,
  agent-runtime 483 passed, CLI 133 passed

Signed-off-by: aarroyo <beyondnet.peru@gmail.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant