Open
Conversation
- Add npm overrides for form-data (4.0.5), fast-xml-parser (5.5.10), handlebars (4.7.9) - Regenerate package-lock.json to reflect safe versions (was stale with vulnerable versions) - Update yarn resolutions from 5.5.9 to 5.5.10 for fast-xml-parser - Resolves 3 critical CVEs: GHSA-fjxv-7rqg-78g4, GHSA-37qj-frw5-hhjh, GHSA-3mfm-83xf-c92r and related advisories Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
overridesfield to match existing yarnresolutions— the package-lock.json was stale with vulnerable versions while yarn.lock already had safe onesfast-xml-parserresolution from5.5.9→5.5.10in bothresolutionsandoverridespackage-lock.jsonso npm audit no longer reports false positivesVulnerabilities Fixed (3 Critical)
fast-xml-parserform-datahandlebarsRoot Cause
The
resolutionsfield (yarn-only) was already added in a prior commit, so yarn.lock correctly pinned safe versions. However, the npmoverridesequivalent was missing, leavingpackage-lock.jsonwith the older vulnerable versions. This causednpm auditto report 3 criticals that were already mitigated in yarn.Test plan
npm audit --audit-level=criticalreports 0 critical vulnerabilitiesyarn audit --level criticalreports 0 critical vulnerabilitiesyarn install --frozen-lockfilesucceeds🤖 Generated with Claude Code