Skip to content

GitHub Copilot code review adds dependency and licence checks

Two new preview scans flag vulnerable packages against the GitHub Advisory Database and licences outside a built-in allowlist, for Pro, Business and Enterprise plans.

Source: GitHub

GitHub added two scanning checks to Copilot code review on 3 December: a dependency vulnerability scan and a licence compliance scan, both triggered when a pull request adds or updates a package.

The dependency scan checks new or changed packages against the GitHub Advisory Database and comments with the severity and the first patched version, skipping low-severity findings. The licence scan compares package licences to a built-in allowlist of common open source licences and flags anything outside it, but GitHub is explicit that “this scan doesn’t use your enterprise’s license policy.” Both are available on Copilot Pro, Pro+, Max, Business and Enterprise plans, off by default, and turned on per organisation or repository under Copilot > Code review. They are in public preview and consume AI credits.

Settings → Copilot → Code review
  ☐ Dependency vulnerability scan
  ☐ License compliance scan

Why it matters: this puts a basic version of dependency and licence checking inside the Copilot PR review flow for plans that don’t carry GitHub Advanced Security, which previously gated similar checks behind Enterprise rulesets and the dependency review action.

The caveat: packages with no licence metadata aren’t flagged, low-severity dependency findings are skipped, and the scan won’t run on branches where a ruleset already requires a different compliance result. Teams that already enforce a licence policy through Enterprise rulesets still need that separate check.

Share

Related reading

More from The Wire

All briefs