fix: bump undici and hono, unify audit gate#514
Merged
Conversation
Security: undici 6.23.0 to 6.24.0 (3 high WebSocket CVEs), hono 4.12.5 to 4.12.7 (moderate prototype pollution). One moderate remains (yauzl in @peac/audit: requires major-version API migration, deferred). Process: add prod audit gate to gate.sh and run-gates.sh so local full gate, pre-push Tier 2, and release gates all include the same audit check that CI runs. Prevents audit-only CI failures after local gates pass.
…owlist) Override flatted to >=3.4.1 (fixes GHSA-25h7-pfq9-p65f unbounded recursion DoS). Add allowlist entries for 2 undici 5.29.0 HIGH CVEs (dev-only via wrangler -> miniflare, prod uses patched 6.24.0).
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
Fixes 3 high and 1 moderate production dependency CVEs, and unifies the audit gate into the canonical gate path to prevent audit-only CI failures after local gates pass.
Scope
scripts/gate.sh: add prod audit check (was only inguard.sh, skipped in fast mode)scripts/release/run-gates.sh: add prod audit gate (was missing entirely)One moderate remains: yauzl in
@peac/auditrequires a major-version API migration (2.x to 3.x), deferred.Why the gate change matters
The v0.12.1 release PR passed local gates and pre-push checks but failed CI because
audit-gate.mjsran in CI as a separate job but was not part of the canonicalgate.shorrun-gates.shpaths. Now all three paths (local gate, pre-push Tier 2, release gate) include the same audit check.Validation