fix(deps): patch security vulnerabilities in hono, dependency-cruiser, and transitive deps#1104
Merged
Merged
Conversation
…, and transitive deps Bump hono catalog ^4.12.1 -> ^4.12.7 (fixes serveStatic file access, cookie injection, SSE injection, prototype pollution). Bump dependency-cruiser ^17.3.1 -> ^17.3.8 (drops vulnerable ajv dep). Update transitive deps via lockfile: @hono/node-server 1.19.9 -> 1.19.11, express-rate-limit 8.2.1 -> 8.3.1, flatted 3.3.3 -> 3.4.1, undici 6.23.0 -> 6.24.1 (qdrant). Reduces pnpm audit from 27 to 18 vulnerabilities.
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (9 files)
Reviewed by gpt-5.4-20260305 · 443,859 tokens |
Add null guards for c.req.param() which now returns string | undefined in hono >=4.12.7 (cloud-agent-next, deploy-builder). Cast workers-tagged-logger middleware to MiddlewareHandler to bridge stale .d.ts compiled against older hono (ai-attribution, webhook-agent).
… and undici versions
eshurakov
approved these changes
Mar 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Patches 9 security vulnerabilities identified by
pnpm auditby bumping direct dependencies and updating transitive deps in the lockfile:^4.12.1→^4.12.7— fixes arbitrary file access viaserveStatic, cookie attribute injection, SSE control field injection, and prototype pollution viaparseBody^17.3.1→^17.3.8— drops the vulnerableajvtransitive dependency entirelyparse()@qdrant/js-client-rest(lockfile) — fixes WebSocket DoS, HTTP smuggling, and CRLF injectionReduces
pnpm auditfrom 27 → 18 vulnerabilities. The remaining 18 are blocked by upstream pinning (discord.js, miniflare, monaco-editor, storybook/elliptic).Verification
pnpm install— passespnpm audit— confirms reduction from 27 to 18 vulnerabilitiesVisual Changes
N/A
Reviewer Notes
undici@6.24.1was added tominimumReleaseAgeExcludebecause it was published 1 day ago (within the 4-dayminimumReleaseAgewindow). This exclusion can be removed after March 18.