You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improvements specially on npm vuln detection (#2709)
* Fix npm bundled dependency tree traversal
Keep traversing duplicate package/version nodes when walking npm's
bundled dependency tree so nested shipped dependencies are not skipped.
Also record package paths in the collected tree data and add focused
tests for duplicate parent subtrees and bundleDependencies=true.
* Prefer CVE ids and merge duplicate vuln findings
Use CVE identifiers when GitHub advisories provide them, while keeping
alternate advisory ids as aliases for reconciliation.
Also merge duplicate findings across the final vulnerability output so
the same issue is not reported separately under GHSA and CVE ids.
Preserve ignores across both preferred and alias ids when filtering
GitHub advisory matches.
* Augment npm scans with GH advisories and NVD data
Pass the NVD key into npm package scanning, query GitHub's global
advisory API for exact installed npm package versions, and enrich CVE
matches with NVD metadata when available.
Harden advisory merging, error accounting, pagination, GHSA fallback,
severity normalization, and deterministic test coverage for the extra
advisory and NVD paths.
0 commit comments