Prioritize Dependabot alerts with reachability analysis #210999
ebndev
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Dependabot alerts can add up faster than a team can work through them. A vulnerable package in your dependency tree doesn't always mean your code uses the vulnerable part of it, so knowing whether it does gives you more context when deciding where to start.
Reachability analysis for Dependabot, now in public preview for JavaScript and TypeScript, adds that context to your alerts. It looks for call paths from your code to the vulnerable functions in your dependencies and shows the evidence on each alert. Use it alongside severity, EPSS score, production context, and your own knowledge of your application to prioritize and remediate dependency vulnerabilities in the way that works for your team.
How it works
Dependabot runs reachability analysis for you in a managed GitHub Actions workflow, so there's nothing to install or maintain. For each advisory, the analysis uses curated data that identifies the vulnerable functions in the affected package. CodeQL builds a call graph across your repository and its dependencies, then searches it for a path from your code to each of those functions.
Each open Dependabot alert gets one of these verdicts:
Verdicts appear on the Dependabot alerts you already use, and they never close or dismiss an alert. Filter and sort by verdict on the repository and organization alerts pages, or use the Dependabot alerts REST API to bring the same signal into your own tools and agents.
Availability and requirements
During the public preview:
Get started
Reachability analysis is off by default. Turn it on for many repositories at once with a custom security configuration for your enterprise or organization, or for a single repository in the Dependabot section of Settings > Advanced Security. Dependabot alerts must be on to see reachability verdicts.
The first scan starts right away and can take from a few minutes to a few hours. Scans then rerun daily while the repository has open Dependabot alerts, so verdicts keep up as your code and advisories change.
To learn more, see About reachability analysis for Dependabot alerts in GitHub Docs.
🌟 Leave a comment!
Join the discussion and leave feedback in the comments below!
Tune in for Day 2 of GitHub Universe & check out our round-up post of releases in the Community that need your input ⏭️
All reactions