Repository navigation
Fix Grype high-severity findings by patching dev dependency vulnerabilities - #306
Closed
aviadhahami with Copilot wants to merge 7 commits into
Closed
aviadhahami with Copilot wants to merge 7 commits into
aviadhahami with Copilot wants to merge 7 commits into
Conversation
Co-authored-by: aviadhahami <7353632+aviadhahami@users.noreply.github.com>
Co-authored-by: aviadhahami <7353632+aviadhahami@users.noreply.github.com>
aviadhahami
approved these changes
Oct 11, 2026
…ulnerability-scan # Conflicts: # package-lock.json Co-authored-by: aviadhahami <7353632+aviadhahami@users.noreply.github.com>
…into copilot/fix-grype-vulnerability-scan Co-authored-by: aviadhahami <7353632+aviadhahami@users.noreply.github.com>
aviadhahami
marked this pull request as ready for review
October 11, 2026 08:11
aviadhahami
approved these changes
Oct 11, 2026
Co-authored-by: aviadhahami <7353632+aviadhahami@users.noreply.github.com>
…ulnerability-scan Co-authored-by: aviadhahami <7353632+aviadhahami@users.noreply.github.com>
Collaborator
|
Superseded by #308, which fixes the same failing Grype scan without an |
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.
The "Grype Vulnerability Scan 🔍" job failed on high-severity findings in
package-lock.json. All of the findings are in dev-only transitive dependencies. The job log doesn't list them, so I reproduced them withnpm audit.npm audit fixapplied non-breaking patch and minor bumps inpackage-lock.json.underscore.npm auditfindings drop from 20 to 11.serialize-javascriptoverridemocha@10pulls inserialize-javascript@6, which has a high-severity RCE advisory and a DoS advisory.package.jsonto pin it to^7.1.2. This avoids amochamajor upgrade, andmocha@10.8.2is unchanged:Remaining high finding:
braces(viamocha→chokidar) has no patched release. The only audit "fix" is a major upgrade tomocha@12, which I skipped to avoid over-upgrading. The Grype job may still fail on this finding. Options:.grype.yaml;mochain a separate PR.Review note: the
serialize-javascriptoverride crosses a major version (6 → 7). It's only used insidemocha's test tooling, but please confirm that's acceptable.