security: clear 28 CVEs (incl. CRITICAL @clerk/shared)#1
Merged
Conversation
28 vulns (1 CRIT, 17 HIGH, 10 MOD) -> 0 after this PR. Direct deps bumped: - @clerk/remix to latest, react/dom 18 -> 19 - stripe 17 -> 22, wrangler 3.99 -> 4.94 - vite 5.4 -> 7.1.13, tailwindcss 3 -> 4 - typescript 5.7 -> 6, types/react 18 -> 19 Root-level npm overrides cleared transitive vulns (project is a workspace; overrides must be at root not app/): - @clerk/shared ^4.13.1 (CRITICAL GHSA-vqx2-fgx2-5wq9) - @clerk/backend ^3.4.13, @clerk/clerk-react ^5.61.3 (HIGH GHSA-w24r) - tar ^7.5.1 (6 HIGH), undici ^7.16.0 (2 HIGH) - lodash ^4.18.1, js-cookie ^3.0.6, defu ^6.1.5 - path-to-regexp ^8.4.2, picomatch ^4.0.4 - esbuild ^0.27.0, qs ^6.15.2, vite ^7.1.13, yaml ^2.9.0 - estree-util-value-to-estree ^3.4.0 Install requires --legacy-peer-deps (Remix 2.17 + vite 7 peer drift). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR updates npm workspace dependencies and adds root-level overrides to eliminate reported CVEs across the CLI package and the app/ Remix project.
Changes:
- Add root
overrides(tar/undici/Clerk/etc.) and bump rootdotenv. - Bump
app/runtime deps (Remix/Clerk/React/Stripe) and dev tooling (Wrangler/Vite/Tailwind/TypeScript/Playwright). - Centralize security-driven transitive version pinning at the workspace root.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| package.json | Adds root overrides for vulnerable transitive deps; bumps dotenv. |
| app/package.json | Bumps Remix app dependencies and front-end/tooling versions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+43
to
+44
| "typescript": "^6.0.3", | ||
| "vite": "^8.0.14", |
| "esbuild": "^0.27.0", | ||
| "estree-util-value-to-estree": "^3.4.0", | ||
| "qs": "^6.15.2", | ||
| "vite": "^7.1.13", |
Comment on lines
+53
to
+55
| "@clerk/shared": "^4.13.1", | ||
| "@clerk/backend": "^3.4.13", | ||
| "@clerk/clerk-react": "^5.61.3", |
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.
28 vulns (1 CRIT, 17 HIGH, 10 MOD) → 0.
Key fixes
@clerk/shared^4.13.1 (CRITICAL GHSA-vqx2-fgx2-5wq9)tar^7.5.1 clears 6 HIGH vulns from@remix-run/dev → cacache → tar 6.2.1@clerk/backend^3.4.13,@clerk/clerk-react^5.61.3 (HIGH GHSA-w24r)undici^7.16.0 (2 HIGH),vite^7.1.13 (MOD)lodash,js-cookie,defu,path-to-regexp,picomatch,qs,yaml,esbuildall bumped via root overridesDirect dep bumps (via ncu)
Install note
Requires
npm install --legacy-peer-deps(Remix 2.17 + vite 7 peer drift). Project is a workspace — all overrides go at rootpackage.json, notapp/package.json.Test plan
npm install --legacy-peer-depssucceedsosv-scannerreports 0 vulns (was 28)🤖 Generated with Claude Code