{"slug": "copilot-code-review-dependency-vulnerability-and-license-compliance-scans", "title": "Copilot code review: Dependency vulnerability and license compliance scans", "summary": "GitHub's Copilot code review now flags vulnerable and non-compliant dependencies directly in the pull requests that add them, with both scans in public preview and off by default. The dependency vulnerability scan checks added or updated packages against advisories in the GitHub Advisory Database, naming each advisory, its severity and the first patched version where one exists, while skipping low-severity advisories; the license compliance scan compares each package's license against a built-in set of commonly allowed open source licenses and does not flag packages lacking license information. Both scans are available to Copilot Pro, Pro+, Max, Business and Enterprise plans, add to the AI credits a review consumes, and are enabled per organization or repository under Settings, Copilot, Code review, with repository settings overriding organization defaults.", "body_md": "# Copilot code review: Dependency vulnerability and license compliance scans\n\nCopilot 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.\n\nThey're available to Copilot Pro, Pro+, Max, Business, and Enterprise plans, and add to the AI credits a review uses.\n\n## [🛡️ Dependency vulnerabilities](#️-dependency-vulnerabilities)\n\nWhen 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.\n\n## [📜 License compliance](#-license-compliance)\n\nCopilot 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.\n\nThis scan doesn't use your enterprise's license policy. To enforce one, use [open source license compliance](https://docs.github.com/enterprise-cloud@latest/code-security/concepts/supply-chain-security/open-source-license-compliance?utm_source=ccr-changelog-license-compliance-docs&utm_medium=changelog). On branches where a ruleset requires its results before merging, this scan doesn't run.\n\n## [⚙️ Turn on the scans](#️-turn-on-the-scans)\n\nBoth 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.\n\nTo get started, see [Configuring dependency scans](https://docs.github.com/copilot/how-tos/copilot-on-github/set-up-copilot/configure-code-review?utm_source=ccr-changelog-dependency-scans-docs&utm_medium=changelog#configuring-dependency-scans).", "url": "https://wpnews.pro/news/copilot-code-review-dependency-vulnerability-and-license-compliance-scans", "canonical_source": "https://blog.github.com/changelog/2026-12-03-copilot-code-review-dependency-scans/", "published_at": "2026-12-03 23:47:58+00:00", "updated_at": "2026-12-04 00:16:20.368537+00:00", "lang": "en", "topics": ["ai-products", "ai-tools", "developer-tools", "ai-agents"], "entities": ["GitHub", "Copilot", "GitHub Advisory Database", "Copilot Pro", "Copilot Pro+", "Copilot Max", "Copilot Business", "Copilot Enterprise"], "also_reported_by": [], "takeaway": "Copilot code review now comments on pull requests that add or update a package, citing GitHub Advisory Database advisories with severity and first patched version (low-severity skipped) and flagging licenses outside a built-in allowed set, but the scans are off by default and must be enabled per org", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/copilot-code-review-dependency-vulnerability-and-license-compliance-scans", "markdown": "https://wpnews.pro/news/copilot-code-review-dependency-vulnerability-and-license-compliance-scans.md", "text": "https://wpnews.pro/news/copilot-code-review-dependency-vulnerability-and-license-compliance-scans.txt", "jsonld": "https://wpnews.pro/news/copilot-code-review-dependency-vulnerability-and-license-compliance-scans.jsonld"}}