Repository navigation
fix(runtime): patch vulnerable development toolchain - #309
Merged
Merged
Conversation
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.
The runtime development lockfile resolves vulnerable sharp and undici versions through Wrangler/Miniflare. Pin Wrangler 4.149.0 and refresh only
workers/runtime/package.jsonand its lockfile, resolving sharp 0.35.5 and undici 7.29.1. The final npm audit reports zero vulnerabilities.These are development/emulator/deployment tooling dependencies, with no runtime source imports found. This change does not establish an exploit in the deployed Worker or qualify Stripe/booking production behavior.
Relevant primary advisories include sharp SVG/librsvg GHSA-wq5f-xc86-pv6w and undici BalancedPool TLS GHSA-w293-vg96-wgc3. Updating undici also clears the related WebSocket, decompression, caching and interceptor advisories reported by npm. Miniflare and Wrangler entries are affected dependency-chain reports rather than additional independently demonstrated Once exploits.
Validation: Windows Node24.19.0 existing runtime suite 199 passed, zero failed/skipped; credential-free local provider journal recorded one POST/one effect, UNKNOWN blocking, positive reconciliation and confirmed replay. Guarded
npm run deploy:dry-runpassed with Wrangler4.149.0; nothing deployed.npm audit --package-lock-only --jsonreports zero vulnerabilities. No provider call used real credentials.The generated lockfile includes many optional OS/architecture package resolutions and is consequently a larger diff than the manifest edit. Local Windows installation and bundling passed; Linux CI must validate the same lockfile before merge. Reverting this commit restores the prior toolchain if compatibility regresses, with the advisory exposure explicitly retained.