# Copilot code review dependency scans are off by default

- Canonical: https://www.baristalabs.io/blog/copilot-code-review-dependency-license-scans
- Published: 2026-12-04
- Author: Sean McLellan
- Excerpt: Copilot code review can now flag vulnerable packages and licenses outside a built-in allowed set. Both preview scans stay off until an admin turns them on.

AI Development

Sean McLellan

Lead Architect & Founder

December 4, 2026 6 min read

Constructed diagram Illustration: parcels pass under an inspection lamp that singles one out, while the gate ahead stays open. Not product UI.

GitHub added two dependency scans to Copilot code review on December 3, 2026: one flags packages with known vulnerabilities, the other flags licenses outside a built-in allowed set. Both are in public preview, both are off by default, and both add to the AI credits each review uses. An organization owner or repository admin has to turn them on in the Copilot code review settings.

The catch is what kind of control you get. Findings arrive as review comments on the manifest lines that added the package. The license scan ignores your enterprise's license policy, and low-severity advisories don't show up at all. Treat the scans as earlier feedback for the developer, not as a replacement for a check that can stop a merge.

## What changed in Copilot code review?

Copilot code review can now look at the dependencies a pull request adds or updates. According to the [GitHub changelog](https://github.blog/changelog/2026-12-03-copilot-code-review-dependency-scans/), the goal is to "flag a risky dependency in the pull request that adds it, so you can fix it before you merge."

There are two separate scans:

- **Dependency vulnerabilities.** Copilot checks each added or updated package against advisories GitHub has reviewed in the GitHub Advisory Database. GitHub says each comment "names the advisories, their severity, and the first patched version when one exists." Low-severity advisories aren't reported.
- **License compliance.** Copilot checks each package's license against "a built-in set of commonly allowed open source licenses" and comments when a license falls outside it. Packages with no license information aren't flagged.

The scans are available on the Copilot Pro, Pro+, Max, Business and Enterprise plans. GitHub labels both "in public preview and subject to change."

## What the scans read, and what they skip

The scans read package manager manifests such as `package.json`, `pyproject.toml` and `go.mod`. The [Copilot code review docs](https://docs.github.com/en/copilot/concepts/agent-capabilities/agent-powered-workflows-and-operations/code-review#dependency-scans) list support for npm, pip, Maven, NuGet, Composer, Go modules, Rust, RubyGems and pub, plus Erlang and Swift for the vulnerability scan only.

Three limits matter when you decide how much to rely on them:

- **Lockfile-only changes aren't scanned.** The scans check transitive dependencies only when the pull request adds or changes them in a lockfile, and they "do not run on lockfile-only changes." A pull request that only refreshes a lockfile gets no dependency comments from Copilot.
- **Low-severity advisories are left out.** If your team tracks every advisory, this scan won't show you all of them.
- **Missing license data is silent.** A package without license information produces no license finding, so no comment doesn't mean the license was checked and approved.

GitHub's docs add one more detail: "If a scan cannot check a package, Copilot might not approve the pull request." That matters most if Copilot approvals count toward your merge requirements.

## How do Copilot dependency scans compare to dependency review?

The dependency review action and license compliance rulesets can block a merge. Copilot's scans comment. GitHub already offers both blocking controls, and the new scans sit beside them rather than replacing them.

![Constructed comparison diagram titled Three GitHub checks for new dependencies. Card 1, Copilot code review scans (preview): checks GitHub-reviewed advisories and licenses against a built-in allowed set; result, review comments on added manifest lines; cost, adds to the AI credits a review uses. Card 2, Dependency review action: checks vulnerable packages and a license allow or deny list you set; result, a failing check blocks merge when required; needs a public repo, or Code Security or Advanced Security. Card 3, License compliance ruleset: checks licenses against your enterprise policy; result, an Active ruleset blocks and Evaluate mode annotates; needs GitHub Enterprise Cloud and Code Security. Footnote: Copilot's license scan does not run where a ruleset requires license compliance results.](https://www.baristalabs.io/blog/inline/copilot-code-review-dependency-license-scans.jpg)

Constructed diagram Constructed from GitHub Changelog (December 3, 2026) and GitHub Docs pages read December 4, 2026. Not product UI.

Scroll sideways to see all 4 columns.

| Comparison dimension | Copilot code review scans | Dependency review action | License compliance ruleset |
| --- | --- | --- | --- |
| What it checks | GitHub-reviewed advisories (not low severity); licenses against a built-in allowed set | Vulnerable package versions; license allow or deny lists you configure | Licenses against your enterprise policy, including transitive dependencies in the dependency graph |
| Can it block a merge? | Not stated; findings are review comments | Yes, when the check is required to pass | Yes, in Active mode; Evaluate mode only annotates |
| What you need | Copilot Pro, Pro+, Max, Business or Enterprise | Public repo, or a private repo with GitHub Code Security or Advanced Security | GitHub Enterprise Cloud, and GitHub Code Security on the repository |

Sources: the [dependency review docs](https://docs.github.com/en/code-security/concepts/supply-chain-security/about-dependency-review) say the action's check "will fail if it discovers any vulnerable packages" and blocks the merge "when the repository owner requires the dependency review check to pass." The [license compliance docs](https://docs.github.com/enterprise-cloud@latest/code-security/concepts/supply-chain-security/open-source-license-compliance) say an Active ruleset blocks noncompliant dependencies "until violations are resolved."

The two license checks also don't stack. If a ruleset with the **Require license compliance results before merging** condition applies to the base branch, Copilot's license scan doesn't run there. Teams that already enforce a license policy will see only the vulnerability scan from Copilot on those branches.

## How much do the scans add to review cost?

GitHub hasn't published a separate price. Its docs say only that the scans "add to the AI credits a review uses." For a baseline, GitHub estimates an average Copilot code review at about $0.25 on Lite, $1.50 on Balanced and $10 on Max, excluding GitHub Actions minutes. Expect the scans to push those numbers up by an amount GitHub hasn't stated.

Who pays depends on your code review billing setting. Starting December 30, unless an admin saves a choice, licensed members' reviews bill to the organization, which the BaristaLabs post on [Copilot code review billing moving to the organization on December 30](https://www.baristalabs.io/blog/copilot-code-review-billing-default-december-30) covers. If you're already measuring review value, the [address-rate baseline for Copilot code review](https://www.baristalabs.io/blog/copilot-code-review-address-rate-adaptive) is a useful before-and-after measure here too.

## Who should turn the scans on

BaristaLabs' interpretation, based on the changelog and docs:

- **Teams with no dependency check on pull requests today** get the most from this. Teams on private repositories without GitHub Code Security can't use the dependency review action, so a Copilot comment may be the simplest pull-request-time signal they can add.
- **Teams that already require the dependency review action** get a second, earlier signal in the review thread. The comment names the first patched version, which can save a lookup. It doesn't add a new enforcement point.
- **Enterprises with a license compliance ruleset** won't get Copilot's license scan on those branches, and they don't need it there.
- **Regulated or audit-driven teams** should keep their required checks. A review comment is not an audit control.

This is the pull-request side of a problem BaristaLabs has covered before: [coding agents need dependency no-fly lists](https://www.baristalabs.io/blog/coding-agents-need-dependency-no-fly-lists), and IDE plugins can send dependency data on their own, as the [Copilot for JetBrains Maven dependency check](https://www.baristalabs.io/blog/copilot-jetbrains-maven-dependency-checks) shows.

## Recommended first step: pilot on one active repository

BaristaLabs recommends a two-week pilot before you set an organization default:

1. **Check that preview features are allowed.** GitHub's [setup docs](https://docs.github.com/en/copilot/how-tos/copilot-on-github/set-up-copilot/configure-code-review#configuring-dependency-scans) say an organization or enterprise owner must enable previews first if they're restricted.
2. **Turn on Dependency vulnerabilities in one repository** that takes regular dependency updates. Go to the repository's **Settings**, then **Copilot**, then **Code review**, and under **Security** turn on the scan. A repository setting overrides the organization default and keeps its own value afterward.
3. **Leave License compliance off** if you already run a license policy. Turn it on only where you have none.
4. **Compare the comments with your existing checks** for the same pull requests, and watch AI credit usage for that repository.
5. **Then decide on the organization default** under the organization's **Settings**, then **Copilot**, then **Code review**.

If you want help fitting Copilot code review into your pull-request checks and budget, see [AI consulting](https://www.baristalabs.io/services/ai-consulting).

## Sources and scope

- [GitHub Changelog: Copilot code review: Dependency vulnerability and license compliance scans](https://github.blog/changelog/2026-12-03-copilot-code-review-dependency-scans/), December 3, 2026
- [GitHub Docs: GitHub Copilot code review (Dependency scans, usage and billing)](https://docs.github.com/en/copilot/concepts/agent-capabilities/agent-powered-workflows-and-operations/code-review#dependency-scans), read December 4, 2026
- [GitHub Docs: Configuring code review by GitHub Copilot (Configuring dependency scans)](https://docs.github.com/en/copilot/how-tos/copilot-on-github/set-up-copilot/configure-code-review#configuring-dependency-scans), read December 4, 2026
- [GitHub Docs: Dependency review](https://docs.github.com/en/code-security/concepts/supply-chain-security/about-dependency-review), read December 4, 2026
- [GitHub Docs: About open source license compliance](https://docs.github.com/enterprise-cloud@latest/code-security/concepts/supply-chain-security/open-source-license-compliance), read December 4, 2026

These sources don't give detection rates, false-positive rates, a per-scan AI credit cost, or a date for general availability. They also don't say whether a scan finding on its own stops Copilot from approving a pull request. BaristaLabs hasn't run the scans; this post is based on GitHub's published documentation.

Copilot code review setup

Plan a Copilot dependency scan pilot

Bring the repositories you want to cover and the dependency or license checks you run today. BaristaLabs can help you pick a pilot repository, compare Copilot's comments with your required checks and set the organization default.

[Plan my scan pilot](https://www.baristalabs.io/contact?service=ai-consulting&placement=end&source=blog&slug=copilot-code-review-dependency-license-scans) [Explore AI consulting](https://www.baristalabs.io/services/ai-consulting)

A list of your repositories and current pull-request checks is enough to start.

Turn this idea into a pilot

## Which workflow should go first?

Use the readiness check to compare impact, effort, risk, owner, and next step before requesting a review.

- 3-5 minutes
- Deterministic score
- No sensitive data

[Check workflow readiness](https://www.baristalabs.io/assessment)

Practical AI Workflow Notes

## Enjoyed this? Get our plain-English workflow notes.

We send occasional short notes on putting AI to work in everyday operations, from taming messy documents and customer follow-ups to simple reporting and safety guardrails.

Email address

Send me the notes

A relaxed way to stay in touch if you're still exploring and aren't ready to chat yet.

Occasional emails with practical ideas only. Unsubscribe anytime.

Article-specific next step

Plan my scan pilot

[Plan my scan pilot](https://www.baristalabs.io/contact?service=ai-consulting&placement=sidebar&source=blog&slug=copilot-code-review-dependency-license-scans)

![Sean McLellan profile photo](https://www.baristalabs.io/profile-sean-mclellan.jpg)

## Sean McLellan

Lead Architect & Founder

Sean McLellan is the founder and lead architect at BaristaLabs. He brings more than two decades of software architecture experience to BaristaLabs products and client work for small teams. Client work starts with an assessment of one workflow. Fixed-scope discovery then defines a bounded pilot, explicit human-review boundaries, and the source-traceable proof needed for the next decision.

[More articles by Sean McLellan](https://www.baristalabs.io/authors/sean-mclellan)

[Twitter](https://twitter.com/seanmclellan) [GitHub](https://github.com/seanmclellan)
