fix: resolve 4 critical dependency vulnerabilities via scoped overrides#4681
Open
vikyw89 wants to merge 1 commit into
Open
fix: resolve 4 critical dependency vulnerabilities via scoped overrides#4681vikyw89 wants to merge 1 commit into
vikyw89 wants to merge 1 commit into
Conversation
pnpm audit reported 4 critical advisories. Pin only the vulnerable ranges to their patched minimums via scoped pnpm.overrides: - shell-quote <=1.8.3 -> >=1.8.4 (GHSA-w7jw-789q-3m8p, direct dep) - vitest >=4.0.0 <4.1.0 -> >=4.1.0 (GHSA-5xrq-8626-4rwp) - protobufjs <7.5.5 -> >=7.5.5 (GHSA-xq3m-2v4x-88gg, transitive) Scoped selectors leave all other versions untouched. Verified pnpm install succeeds and pnpm audit reports 0 criticals (237 -> 222). Closes Dokploy#4680 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
What
Adds scoped
pnpm.overridesto the rootpackage.jsonthat pin only the vulnerable version ranges of three packages to their patched minimums:Why
pnpm auditreports 4 critical advisories (3 distinct packages):>=1.8.4apps/dokploy>=4.1.0apps/dokploy; transitively viabetter-auth>=7.5.5protobufjsis purely transitive (7 levels deep), so an override is the only way to fix it without waiting on upstream.Verification
pnpm install→ exit 0, lockfile updated.pnpm audit→ 0 criticals (237 → 222 total).Notes
package@range) only touch the vulnerable versions; everything else resolves as before.vitest4.0.x → 4.1.x is a minor, dev/test-only bump.Closes #4680
🤖 Generated with Claude Code