Copilot code review dependency scans are off by default
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.
Sean McLellan
Lead Architect & Founder

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, 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 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.

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 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 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 covers. If you're already measuring review value, the address-rate baseline for Copilot code review 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, and IDE plugins can send dependency data on their own, as the Copilot for JetBrains Maven dependency check shows.
Recommended first step: pilot on one active repository
BaristaLabs recommends a two-week pilot before you set an organization default:
- Check that preview features are allowed. GitHub's setup docs say an organization or enterprise owner must enable previews first if they're restricted.
- 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.
- Leave License compliance off if you already run a license policy. Turn it on only where you have none.
- Compare the comments with your existing checks for the same pull requests, and watch AI credit usage for that repository.
- 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.
Sources and scope
- GitHub Changelog: Copilot code review: Dependency vulnerability and license compliance scans, December 3, 2026
- GitHub Docs: GitHub Copilot code review (Dependency scans, usage and billing), read December 4, 2026
- GitHub Docs: Configuring code review by GitHub Copilot (Configuring dependency scans), read December 4, 2026
- GitHub Docs: Dependency review, read December 4, 2026
- GitHub Docs: About 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.
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
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.