Repository navigation
chore(deps): override payload's pinned undici to 7.29.1 - #185
Merged
Merged
Conversation
[email protected] pins undici at exactly 7.29.0, which carries two high advisories: GHSA-rfgv-xxqx-mfg5 (CVE-2026-19534, WebSocket subprotocol DoS) and GHSA-w293-vg96-wgc3 (CVE-2026-84961, BalancedPool TLS bypass). Both are patched in 7.29.1 and no payload release moves the pin yet, so a pnpm override is the only way to resolve them from here. The selector targets the exact version rather than a range, so the entry goes inert instead of pinning backwards once payload bumps undici itself. 7.29.1 was already in the lockfile for miniflare, so both importers now dedupe onto one copy. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_0192wG9LLUNMN5tqLy6Zos7N
Deploying wemeditate-design with
|
| Latest commit: |
3060eb7
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://587c091e.wm-design.pages.dev |
| Branch Preview URL: | https://claude-chore-deps-undici.wm-design.pages.dev |
sydevs-bot
marked this pull request as ready for review
October 12, 2026 21:58
sydevs-bot
enabled auto-merge
October 12, 2026 21:58
Contributor
Author
|
Adversarial review skipped: 2 file(s), 16 changed line(s), under 🤖 sydevs dispatcher |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
wemeditate-web | 3060eb7 | Commit Preview URL Branch Preview URL |
Oct 12 2026, 09:57 PM |
Ardnived
approved these changes
Oct 14, 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.
Summary
undici7.29.0→7.29.1under[email protected], clearing GHSA-rfgv-xxqx-mfg5 and GHSA-w293-vg96-wgc3 (both high).pnpm.overridesentry is the only route:payloadpins undici exactly, and no payload release moves that pin yet.Change outline
Contract — the pnpm resolution graph
payloaddeclares"undici": "7.29.0"exactly, so a caret bump cannot reach it. The overriderewrites that one declaration, and both importers then share the copy miniflare already pulled.
Preview
Preview pending — no Cloudflare branch alias exists until the first build on this branch finishes.
Nothing visual changed; these only prove the Worker boots and the Ladle build survives.
Test results
.claude/skills/pr-prep/check.sh --full— lint 0 errors (2,115 pre-existing warnings),tsc --noEmitclean,vitest run84 files / 847 testspnpm buildNotes for reviewer
The advisories are real but not reachable in the deployed Worker.
grep -rl undici dist/finds nothing in either bundle, with
lexicalas a positive control in the same tree. This repoimports only
@payloadcms/richtext-lexical/react, andpayload's server core never enters theSSR graph. So this closes two Dependabot alerts and removes a recurring handler fire; it does not
patch live exposure. Flagging that rather than overselling the fix.
One judgement call: the selector is
[email protected], notundici. A bare"undici": "^7.29.1"would also pin miniflare's copy and would keep forcing a version after payload moveson. The version-scoped form stops matching the day payload bumps its pin, so it goes inert
instead of pinning backwards. The cost is that pnpm warns about nothing when an override matches
nothing, so the entry will sit as dead config until someone notices — worth deleting next time
payload's pin moves, not worth a mechanism here.
bracesis left alone deliberately, and it is the one high advisory still open.GHSA-vfj7-8cjw-p6xm covers
<=3.0.3, and3.0.3is the newest published version — there is nopatch to take. It reaches the tree only as
@ladle/react > globby > fast-glob > micromatch > braces, a devDependency that runs at playground build time over Ladle's own glob patterns. NoPR and no ticket: nothing to bump, and no live risk to park.
Docs checked, nothing stale.
undici,bracesandoverridesappear in no.md,.tomlor
.env.example. The only pre-existing hit is the word "braces" inMCP_USAGE.md, about JSsyntax.
Detail
The two advisories.
BalancedPoolBoth patched in
7.29.1. The npm bulk advisory endpoint lists ten undici advisories in total, everyone ranged
<7.29.1, so this target clears the package outright rather than only the two thatcross the high threshold.
That the override binds, measured rather than assumed.
pnpm audit --audit-level=highbeforeand after:
origin/mainThat it introduces no peer problem. A plain
pnpm installon an up-to-date lockfile skipsresolution and reports nothing, so both manifests were resolved from scratch in a scratch directory
with
pnpm install --lockfile-only --no-frozen-lockfile. The unmet-peer set is byte-identicalbetween
origin/mainand this branch: two@cloudflare/workers-typeslines and onereactline,all pre-existing and all untouched here.
Why not bump
@payloadcms/richtext-lexicalinstead.[email protected]is the newest stablerelease — the only later tags are
3.91.0-internal.*prereleases — and3.90.2is the versionthat carries the pin. There is nothing to upgrade to.
Pipeline steps not run, and why.
/simplify— the diff is a five-line manifest block and a generated lockfile. No code to simplify./pr-review-toolkit:review-pr all— the plugin is not installed in this environment./code-review highran instead and reported no findings, having independently confirmed the selector binds, the inert-on-bump claim, the frozen-lockfile install, and the absence fromdist/server./security-review—securityReview.triggerPatternin.claude/workflow.jsonmatches neither changed path.comment-lint.mjs— clean; the branch adds no comments.🤖 Written by the sydevs autonomous loop — see what this is
🤖 Generated with Claude Code
https://claude.ai/code/session_0192wG9LLUNMN5tqLy6Zos7N
Generated by Claude Code