Repository navigation
[Chore] Patch reachable cron-parser and Hono security dependencies - #3744
Merged
Merged
Conversation
Contributor
|
No code issues found. See session Reviewed all eight changed files, dependency/peer-resolution consistency, cron scheduling callers, and Hono body-limit compatibility. No unrelated lockfile changes found. Current-head CI lint, typecheck, Knip, upgrade compatibility, and both Docker builds pass; tests and JavaScript/TypeScript CodeQL analysis are still running. Reviewed 24f8f00 |
daniel-lxs
marked this pull request as ready for review
November 26, 2026 17:52
daniel-lxs
approved these changes
Nov 26, 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.
Related issue
Requested security dependency investigation; no linked issue.
Why this PR exists
Patch source-reachable resource-exhaustion code after verifying current
developand all four maintainer advisories. The supplied scan was stale for Hono and Better Auth. Keep this PR in draft; no merge or auto-merge is requested.What changed
bodyLimit()use reaches GHSA-39q9-qp46-w8xg. In particular, credential-egress proxy buffering runs before substitute authentication; its 8 MiB byte limit did not bound per-chunk object overhead. The update consolidates chunks into bounded buffering.Exclusions and residuals:
apps/web/src/lib/server/auth.ts:1234–1248does not configureemailOTP(); the advisory's OTP flows are not reached.validator('json'|'form')path was found. Roomote uses explicit reads and Zod/MCP/tRPC validation. GHSA-92p4-j3wq-jmqx is incidentally covered by the body-limit-driven Hono update, not a separately proven exploit.'0 7 * * *'(apps/bullmq/src/scheduler.ts:246–250); other schedulers use numericevery. User automation/wakeup cron is evaluated by direct v5 helpers. This is a trusted-input residual, not a claim that v4 is patched. A v5 override would break BullMQ's removedparseExpressionAPI. No cross-major override, fork or unrelated BullMQ 6 migration is introduced. Reassess if user-controlled patterns or externally modified scheduler data are admitted..docker/app/runtime-deps/apimanifest/lock graph contains none of these target packages; no standalone lockfile edit is needed. API bundles and Next standalone originate from the root workspace graph.No intended feature or UI change. Pathological cron fields now fail with a normal parser error, and Hono buffers tiny chunks without retaining one object per chunk.
How it was tested
pnpm lint:fast,pnpm check-types:fast(27 packages),pnpm knip, manifest formatting andgit diff --checkpass. Commit and push hooks also pass.pnpm audit --prod --jsonreports zero findings both before and after; this does not supersede source reachability or maintainer advisories.Reachability report, including source paths/lines and all four advisory analyses
Validation commands, exit codes and output
Artifacts belong to task
2oaj06psb0rni; stored paths:tmp/opencode/reachability-report.md,tmp/opencode/validation-sanitized.log,tmp/opencode/security-probes.mjs,tmp/opencode/graph-validation.cjs.Checklist
[Fix],[Feat],[Improve],[Refactor],[Docs], or[Chore]followed by a user-facing descriptionpnpm lintandpnpm check-typespass locallypnpm changesetThe exact formatting-inclusive commands in the checklist were not run; the repository's normal fast lint/typecheck gates and targeted manifest formatting were run instead. No changeset was added for this dependency-only remediation.