This repository was archived by the owner on Jan 6, 2026. It is now read-only.
Fix security vulnerabilities with targeted solutions#1759
Merged
NullVoxPopuli merged 2 commits intomainfrom Jul 5, 2025
Merged
Fix security vulnerabilities with targeted solutions#1759NullVoxPopuli merged 2 commits intomainfrom
NullVoxPopuli merged 2 commits intomainfrom
Conversation
- Add targeted pnpm overrides for vulnerable dependencies: - @oclif/plugin-warn-if-update-available: Fix lodash.template vulnerability - brace-expansion: Fix ReDoS vulnerability - d3-color: Fix ReDoS vulnerability - esbuild: Fix dev server request vulnerability - got: Fix UNIX socket redirect vulnerability - nanoid: Fix predictable generation vulnerability - serialize-javascript: Fix XSS vulnerability - tar-fs: Fix path traversal vulnerabilities - All 18 vulnerabilities resolved (previously: 2 low, 12 moderate, 4 high)
- Update vite to v7 to fix esbuild vulnerability - Update mocha in vm-babel-plugins to fix nanoid and serialize-javascript vulnerabilities - Add minimal pnpm overrides for third-party packages: - @oclif/plugin-warn-if-update-available: Fix lodash.template vulnerability (tracerbench) - d3-color: Fix ReDoS vulnerability (tracerbench) - got: Fix UNIX socket redirect vulnerability (auto-dist-tag) - esbuild: Ensure all transitive dependencies use secure version All 7 vulnerabilities resolved (previously: 5 moderate, 2 high)
Contributor
|
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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:
vitefrom 6.1.1 to 7.0.2 (fixes esbuild vulnerability)mochafrom 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:
gotTest Plan
pnpm auditshows no vulnerabilitiespnpm installcompletes successfully