# Copilot code review dependency scans — flags vulnerable and odd-license packages

> Copilot code review now comments when a pull request adds a vulnerable or unusually licensed package.

- Org: GitHub
- Date: 2026-12-03
- Category: tool, security
- Source: https://blog.github.com/changelog/2026-12-03-copilot-code-review-dependency-scans/
- Canonical page: https://ai-tldr.dev/releases/github-copilot-code-review-dependency-scans/

## In short

GitHub Copilot code review can now scan pull requests for vulnerable dependencies and for package licenses outside a common open source set. Both scans are in public preview and off by default.

## What it is

GitHub added two optional scans to Copilot code review: dependency vulnerability scans and license compliance scans. They run when a pull request adds or updates a package. Both are in public preview on Copilot Pro, Pro+, Max, Business and Enterprise plans.

## How it works

For vulnerabilities, Copilot checks each new or updated package against the GitHub Advisory Database and comments with the advisories, their severity and the first patched version when one exists; low-severity advisories are not reported. For licenses, it compares each package's license with a built-in set of commonly allowed open source licenses and comments when a license is outside it. It does not use an enterprise's own license policy.

## Why it matters

Supply-chain problems get caught in the same review pass as code problems, before merge, without a separate tool. The scans add to the AI credits a review uses, and packages with no license data are not flagged.

## Who it's for

teams that already use Copilot code review on pull requests

## Try it

Settings > Copilot > Code review, at organization or repository level

## Links

- [Changelog](https://blog.github.com/changelog/2026-12-03-copilot-code-review-dependency-scans/)
- [Setup Docs](https://docs.github.com/copilot/how-tos/copilot-on-github/set-up-copilot/configure-code-review#configuring-dependency-scans)
- [License Compliance Docs](https://docs.github.com/enterprise-cloud@latest/code-security/concepts/supply-chain-security/open-source-license-compliance)
