GitHub · 2026-12-03 · notable
Copilot code review dependency scans — flags vulnerable and odd-license packages
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.
GitHub · 2026-12-03 · 2 sources checked

Copilot code review now comments when a pull request adds a vulnerable or unusually licensed package.
What is it?
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 does it work?
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 does it matter?
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 is it for?
teams that already use Copilot code review on pull requests
Try it
Settings > Copilot > Code review, at organization or repository level