chore(deps): clear ws DoS advisory and roll up pending dependabot bumps - #130
Merged
Conversation
Forces the patched ws across the wrangler -> miniflare -> ws transitive path, clearing the high-severity advisory GHSA-96hv-2xvq-fx4p (memory exhaustion DoS from tiny fragments) that was failing the npm audit and OSV scanner steps in CI.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This was referenced Jun 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.
Why
The six open Dependabot PRs (#124–#129) all failed CI on the same step — not their bumps, but the
npm audit/ OSV scanner gates tripping on a newly-published ws advisory (high severity):Vulnerable
ws@8.20.1arrives transitively viawrangler→miniflare→ws, so it failed every CI run, includingmain.npm audit fix --forcewanted to downgrade wrangler to 3.x (breaking, wrong direction). Same pattern as the earlier esbuild fix.What
security(deps): pinwsto^8.21.0(the patched release) viaoverrides, forcing it across the transitive path.happy-domalready resolves to 8.21.0, so this only moves the wrangler/miniflare copy. Build-time/dev tooling, not shipped — display-only, no release bump.Verification
tsc --noEmitclean ·eslint . --quietclean ·npm audit→ 0 vulnerabilities · 100% coverage · production build succeeds.