Skip to content

fix(runtime): patch vulnerable development toolchain - #309

Merged
stringsofthemind-oss merged 1 commit into
mainfrom
fix/runtime-toolchain-security
Oct 10, 2026
Merged

stringsofthemind-oss merged 1 commit into
mainfrom
fix/runtime-toolchain-security

Conversation

@stringsofthemind-oss

Copy link
Copy Markdown
Owner

The runtime development lockfile resolves vulnerable sharp and undici versions through Wrangler/Miniflare. Pin Wrangler 4.149.0 and refresh only workers/runtime/package.json and 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-run passed with Wrangler4.149.0; nothing deployed. npm audit --package-lock-only --json reports 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.

@stringsofthemind-oss
stringsofthemind-oss merged commit b705ab1 into main Oct 10, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant