Skip to content

Conversation

@BigBlueHat
Copy link
Collaborator

@BigBlueHat BigBlueHat commented Oct 10, 2025

This PR is to address @davidlehn's concerns around developers not knowing how to find the correct replacements for a vulnerable dependency. In addition to the CVE links provided by OSV (which have been there from the beginning), the scanner now also provides an npm audit report showing available replacement versions as well as an npm list result filtered on the vulnerable dependencies for the frequent case when the vulnerability is in a secondary (or "lower") dependency.

Hopefully this helps ease developer research time and speeds resolution of vulnerability issues.

This is headed toward being a shared GitHub Action, so it can be run on
both the old code and the new/latest code (without copying and pasting...).
This also now generates reports for the old and new code separately.
This action is new to the repo and it will fail on the old branch, so we
are continuing on error in that case.
Otherwise we have to download the entire node_modules/ just to check the same data.
Local tests did not need this...but apparently the runner in the cloud does.
@BigBlueHat BigBlueHat merged commit 6a60895 into main Oct 11, 2025
@BigBlueHat BigBlueHat deleted the add-npm-audit-list branch October 11, 2025 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants