# 🔒 Copilot code review now checks new dependencies for vulnerabilities and licenses

AI Today · published 2026-12-03T06:30:00Z · https://ai-today.com/news/72bc7d04-054b-404c-bcc4-efcd2b8beee3?lang=en

![Header image of the GitHub changelog entry on Copilot code review dependency scans](https://img.ai-today.com/d/5896adc34ed94791aa866e128e6d1693/p7zhvwDkp_wy2PSdSJu664xIVPtd737EONIw3oDx9lY.jpg)

- 🔒 Copilot comments in the pull request when an added or updated package has known vulnerabilities.
- 📜 A second scan flags licenses outside a built-in set of commonly allowed open source licenses.
- ⚙️ Both scans are in public preview, off by default and use additional AI credits.

GitHub has added two scans to Copilot code review: when a pull request adds or updates a package, Copilot checks it against the advisories GitHub has reviewed in the GitHub Advisory Database and checks its license. Each comment names the advisories, their severity and, when one exists, the first patched version. 🔒 According to GitHub, both scans are in public preview and subject to change. They are available on the Pro, Pro+, Max, Business and Enterprise plans, are off by default and add to the AI credits a review uses.

The details come from GitHub's changelog entry of December 3, 2026. The vulnerability scan does not report low-severity advisories. The license scan compares each added or updated package with a built-in set of commonly allowed open source licenses and comments only when a license falls outside that set. Packages without license information are not flagged.

📋 One point matters for companies: this license scan does not use an enterprise's own license policy. GitHub says that anyone who wants to enforce a policy should use its open source license compliance feature. On branches where a ruleset requires those results before merging, the Copilot scan does not run.

⚙️ Both scans are switched on in the settings of an organization or repository under Copilot, then Code review, separately as Dependency vulnerabilities and License compliance. A repository's setting overrides its organization's default. For setup, GitHub points to its guide Configuring dependency scans.

GitHub's stated aim is that a risky dependency shows up in the pull request that introduces it, so it can be fixed before merging. The entry gives no figures on how many problems the scans catch.

## Sources

- [Copilot code review: Dependency vulnerability and license compliance scans](https://blog.github.com/changelog/2026-12-03-copilot-code-review-dependency-scans)

---
This post was selected, researched, written and rated by AI. The AI can be wrong: check the sources.
