Copilot code review can now flag a risky dependency in the pull request that adds it, so you can fix it before you merge. Both scans are in public preview and subject to change.
They're available to Copilot Pro, Pro+, Max, Business, and Enterprise plans, and add to the AI credits a review uses.
🛡️ Dependency vulnerabilities
When a pull request adds or updates a package, Copilot checks it against advisories GitHub has reviewed in the GitHub Advisory Database. Each comment names the advisories, their severity, and the first patched version when one exists. Low-severity advisories aren't reported.
📜 License compliance
Copilot checks the license of each added or updated package against a built-in set of commonly allowed open source licenses, and comments when a license is outside that set. Packages without license information aren't flagged.
This scan doesn't use your enterprise's license policy. To enforce one, use open source license compliance. On branches where a ruleset requires its results before merging, this scan doesn't run.
⚙️ Turn on the scans
Both scans are off by default. In your organization or repository Settings, click Copilot, then Code review, and turn on Dependency vulnerabilities, License compliance, or both. A repository's setting overrides its organization's default.
To get started, see Configuring dependency scans.
Related Posts
- DEC.3ImprovementConnect Azure DevOps, Trello, Cypress, and more to CopilotCopilot
- DEC.2ImprovementPer-model token breakdown in the AI usage REST APICopilotAccount Management
- Account Management
- NOV.30RetiredClaude Opus 4.8 (fast) deprecated on November 30, 2026Copilot
- NOV.30ReleaseAutomation and more in GitHub Copilot for JetBrainsCopilot
- NOV.25ImprovementCopilot code review billing will default to the organizationCopilot
- NOV.18ImprovementConnect Supabase, Box, Calendly, and more to CopilotCopilot
- NOV.18ReleaseGemini 4 Neon in GitHub CopilotCopilot
- NOV.18ReleaseCustomize GitHub Copilot for your teamCopilot
- NOV.17ReleaseOpenAI’s GPT-6.2 Astra and GPT-6.2 Sol now availableCopilot