Exposure to vulnerabilities in your code and in dependencies

Understand how vulnerabilities in your own code and in third-party dependencies contribute to your organization's overall security exposure, and how to measure and reduce that risk.

Risks of unaddressed vulnerabilities

Your organization has exposure to vulnerabilities in both the code you write and maintain, and in the open source or third-party dependencies your code uses. Assessing your exposure to vulnerabilities is crucial if you want to prevent:

Regularly assessing vulnerability exposure helps you identify risks early and prioritize remediation.

Ways to monitor your repositories for vulnerable code

GitHub provides a comprehensive set of Dependabot metrics to help you monitor, prioritize, and remediate these risks across all repositories in your organization. See Metrics for Dependabot alerts.

Reducing organizational vulnerability exposure

Reducing organizational vulnerability exposure requires ongoing visibility into risk, remediation progress, and policy enforcement across repositories. Dependabot and code scanning metrics provide this visibility. Use the following best practices to monitor and reduce your organization's vulnerability exposure:

Monitor vulnerability metrics for dependencies

Use the metrics overview for Dependabot to gain visibility into the current state of your organization's dependency vulnerabilities. See Viewing metrics for Dependabot alerts.

Monitor introduction of new code scanning alerts

Use the alert view for code scanning to gain visibility into remediation activity in your organization's pull requests. See Viewing code scanning metrics for pull requests.

Prioritize remediation efforts

Focus on vulnerabilities that present the highest risk to your organization.

Communicate risk and progress

Establish and enforce policies

Assess the impact of alerts