The latest updates on your projects. Learn more about Vercel for GitHub.
Patch Next.js and vulnerable Cloudflare tooling dependencies#68
The workspace production audit reported 18 findings in Next.js, Undici and brace-expansion. None of the existing open PRs patches these dependencies. This change upgrades both app and marketing Next.js to 16.3.6, scopes overrides to vulnerable Undici 7.x and brace-expansion 2.x/5.x versions, and refreshes the lockfile. The overrides preserve the affected major-version lines. Both production and full dependency audits now report zero vulnerabilities.
Validation:
- Frozen-lockfile install passes.
pnpm check:fullpasses: app/marketing typechecks, app build, 69 unit tests, 118 Convex tests, 2 CSP tests, production browser smoke checks for 26 pages and 3 expected 404s, and production audit.- App and marketing OpenNext Cloudflare builds pass.
- Local Wrangler previews pass: marketing renders with the Free-plan CTA, legacy redirect and dynamic summary; the app serves public pages, its public summary and static JavaScript.
- Full audit including development dependencies reports zero vulnerabilities.
Stacked on #67. The dependency-audit document records the original findings, advisory references, patched versions and validation. No deployment was performed.
Summary by CodeRabbit
- Bug Fixes
- Updated dependencies to address 18 reported security findings. Production and development dependency audits now report zero vulnerabilities.
- App and marketing builds pass with the updated dependencies.
- Documentation
- Added an audit summary covering patched versions, security findings, and verification results. Added links to the audit details from the documentation index and testing guide.
Checks
Added 1 commit
- Patch Next.js and vulnerable Cloudflare tooling dependenciesae5507c
Navigate logical layers of code changes, visualize relationships, and explore their blast radius.
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 6bc3e017-0f54-45c7-aac9-807343bdc4aa
📥 Commits
Reviewing files that changed from the base of the PR and between d59f6388a65dbd5fc70aa4851eb7f87856cbab6a and ae5507ca3da77a29ec1a10057639fc6eeb3a1368.
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (6)
docs/README.mddocs/dependency-audit.mddocs/testing.mdpackage.jsonpnpm-workspace.yamlwebsite/package.json
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
📝 Walkthrough
Walkthrough
The pull request updates Next.js versions in both workspaces and adds pnpm overrides for Undici and brace-expansion. It also updates documentation with dependency audit findings, remediation status, and reported validation results.
Changes
Dependency remediation
| Layer / File(s) | Summary |
|---|---|
Dependency updates and verification package.json, website/package.json, pnpm-workspace.yaml, docs/dependency-audit.md, docs/testing.md, docs/README.md | The manifests update Next.js to 16.3.6, and the workspace adds scoped overrides for Undici and brace-expansion. The audit and testing documentation reports zero vulnerabilities and passing checks and builds. The documentation index links to the audit. |
Priority: ➖ Normal
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Other
Merge Risk: ⚪ Minimal · up to ae550
The dependency updates and lockfile select Next.js 16.3.6 and the patched Undici and brace-expansion releases within their existing major lines. No concrete compatibility or runtime issue was identified, so the PR appears ready to merge subject to normal checks.
Architecture Summary
Architecture risk: 🔵 Low · up to ae550
The change affects 4 systems.
Changed systems: docs, package.json, pnpm-workspace.yaml, website
Architecture concerns No architecture-level concerns identified.
Review details
Systems and components
- observed — docs (service) was modified; 3 changed files map to changed impact.
- observed — package.json (service) was modified; 1 changed file maps to changed impact.
- observed — pnpm-workspace.yaml (service) was modified; 1 changed file maps to changed impact.
- observed — website (service) was modified; 1 changed file maps to changed impact.
Before / after behavior
- observed — Modified behavior in docs/README.md: Adds a documentation-index entry for the dependency audit and its stated contents.
- observed — Modified behavior in docs/dependency-audit.md: The finding count is now explicitly labeled as the pre-remediation audit result; the finding totals and package table remain unchanged.
- observed — Modified behavior in docs/dependency-audit.md: A new “Current status” section reports that both production and full audits find zero vulnerabilities, both workspaces resolve Next.js 16.3.6, and scoped overrides raise Undici and brace-expansion versions to their listed patch targets while preserving affected major-version lines. It also states that the refreshed lockfile is committed.
- observed — Modified behavior in docs/dependency-audit.md: The prior statement that remediation had not changed vulnerable versions and that validation remained future work is replaced with a report that the security PR patched the findings and that the listed checks, builds, previews, and frozen-lockfile install pass.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
| Check name | Status | Explanation |
|---|---|---|
| Description Check | ✅ Passed | Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check | ✅ Passed | The title clearly and concisely describes the primary changes: updating Next.js and patching vulnerable Cloudflare tooling dependencies. |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0… |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
- Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Autopilot is currently an internal CodeRabbit preview.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
Deploying with
Cloudflare Workers
The latest updates on your project. Learn more about integrating Git with Workers.
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs | relay-web | ae5507ca | Commit Preview URL Branch Preview URL | Oct 02 2026, 08:53 AM |
Capy couldn't review this pull request because Screen's workspace is out of credits, add credits or enable auto-reload to resume automatic reviews.