Fix security vulnerabilities with targeted solutions #1759
Merged
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
This PR fixes all reported security vulnerabilities using targeted solutions rather than blanket overrides.
Approach
Fixed directly where possible:
vite
from 6.1.1 to 7.0.2 (fixes esbuild vulnerability)mocha
from 10.2.0 to 11.7.1 in@glimmer/vm-babel-plugins
(fixes nanoid and serialize-javascript vulnerabilities)Added minimal overrides for third-party issues:
@oclif/plugin-warn-if-update-available
: Fix lodash.template vulnerability (from tracerbench)d3-color
: Fix ReDoS vulnerability (from tracerbench)got
: Fix UNIX socket redirect vulnerability (from auto-dist-tag)esbuild
: Ensure all transitive dependencies use secure versionVulnerabilities Fixed
All 7 vulnerabilities resolved:
Follow-up Actions
We should file issues with upstream packages:
got
Test Plan
pnpm audit
shows no vulnerabilitiespnpm install
completes successfully