← Back to news
Copilot Dependency Scans: No Warning Is Not Permission to Merge

Photo: Sebastiaan ter Burg / Wikimedia Commons — CC BY-SA 2.0 (https://creativecommons.org/licenses/by-sa/2.0/); resized for display

04/12/2026

Copilot Dependency Scans: No Warning Is Not Permission to Merge

Dependency advice is not a license to merge

A coding agent can add a package in seconds. The engineering team inherits its maintenance burden, security exposure, and licensing obligations for much longer. GitHub's December 3 announcement brings that distinction into sharper focus: Copilot code review can now scan added or updated dependencies for vulnerabilities and license concerns. The feature is useful precisely because agent-generated changes can introduce dependencies faster than people can investigate them. But the new review comments should accelerate human judgment, not quietly replace the organization's definition of acceptable risk.

The two scans are in public preview, subject to change, and disabled by default. GitHub says they are available on Copilot Pro, Pro+, Max, Business, and Enterprise, and increase the AI credits consumed by a review. For software teams, the important question is not simply whether to activate another assistant. It is which decisions the assistant informs, which controls actually block a merge, and who remains accountable when a dependency arrives with incomplete information.

What the announcement actually promises

For vulnerabilities, Copilot checks packages added or updated by a pull request against advisories reviewed by GitHub in the GitHub Advisory Database. Comments identify the advisories, their severity, and the first patched version when one exists. That is actionable context close to the proposed code change. However, GitHub explicitly says low-severity advisories are not reported. A quiet review therefore cannot establish that every known issue has been considered, much less that the package is free of undiscovered vulnerabilities.

For licensing, the scan compares each added or updated package's license against a built-in set of commonly allowed open source licenses. It comments when the license falls outside that set. Two qualifications matter immediately: packages without license information are not flagged, and the scan does not use the enterprise's own license policy. These are documented boundaries, not reasons to dismiss the feature. They tell reviewers what evidence the tool supplies and what questions still need a separate answer.

According to the announcement, both settings live under Copilot, then Code review, in organization or repository settings. Repository settings override the organization's default. Teams should therefore inspect effective configuration before describing the scans as deployed everywhere. Enabling an organization-level default is not, on its own, evidence that every relevant repository is covered. Treat configuration coverage as something to verify, with an owner and a review date, rather than a reassuring checkbox.

Three states that must never become one

A dependency review needs to distinguish an accepted result, an identified problem, and an unknown state. Those categories sound obvious until an automation pipeline collapses them into one visual signal: no comment. A scan may remain silent because no reported advisory matches, because an issue falls below its reporting threshold, because license metadata is absent, or because a different control is responsible. Those situations do not support the same engineering decision.

A practical team policy can make the distinction explicit:

  • Accepted: the dependency has been evaluated against the relevant security and license requirements, with evidence attached to the proposed revision.
  • Needs action: a finding requires an upgrade, replacement, mitigation, or authorized exception before integration.
  • Unknown: missing metadata, missing results, or incomplete coverage requires investigation rather than automatic approval.

This is a recommended operating model, not an additional guarantee supplied by Copilot. Its value is preventing automation bias. When an agent writes the patch and another assistant reviews it, two plausible outputs can still share the same blind spot. A human maintainer should be able to explain why the available evidence is sufficient without relying on the mere fact that two AI systems did not object.

A generic license list is not your policy

Consider a hypothetical agent that adds a convenient document-processing library to a commercial service. The package's license might belong to the scan's built-in allowed set. That does not settle whether the organization permits this use, whether distribution changes the obligations, or whether the package brings additional dependencies with different terms. Conversely, a comment about an unfamiliar license is a request to investigate, not an authoritative legal conclusion that the package is unusable.

GitHub points enterprises toward its separate open source license compliance capability when they need their own policy enforced. The documentation describes an enterprise policy, rulesets, and exceptions approved by an Enterprise Open Source License Manager. Enforcement requires the relevant product entitlements: GitHub Enterprise Cloud, and a GitHub Code Security license for the repository. Teams without those entitlements still need an explicit policy and a suitable enforcement process; an advisory scan does not remove that responsibility.

The distinction between reporting and blocking is especially important. GitHub documents that an Active ruleset requiring license compliance results can block pull requests introducing noncompliant dependencies. An Evaluate ruleset reports findings without itself blocking merges, although separate comment-resolution protection can affect the outcome. The Copilot announcement also says its license scan does not run on branches where a ruleset requires the separate compliance results before merging. Reviewers must know which mechanism produced the evidence they are reading.

Keep package selection inside the delegation contract

The safest time to discuss a new dependency is before the agent installs it. A useful task brief states whether new packages are allowed, which registries are approved, what the existing stack already provides, and which changes require permission. For a small formatting fix, the right answer may be to reuse an existing utility rather than add another abstraction. For a substantial feature, a new library may be justified, but the rationale should be visible.

Ask the agent to produce a short dependency note alongside the implementation: package identity, selected version, why the dependency is needed, alternatives considered, and the files changed to introduce it. Have it identify uncertainty instead of inventing missing license details. Humans should verify the actual package and authoritative metadata. This note is a proposal and an index to evidence, not proof that the dependency is trustworthy or that its maintenance history has been fully investigated.

Keep authority boundaries separate from task instructions. An instruction saying “do not weaken policy” is helpful, but it does not replace permissions and branch controls that prevent the agent from doing so. A dependency-fixing agent should not be able to approve its own exception, disable the relevant enforcement, or convert required checks into optional ones merely because a deadline makes the existing rules inconvenient.

An upgrade needs behavioral evidence

A vulnerability comment naming a patched version is a starting point for remediation. It is not proof that upgrading to that version preserves your application. Suppose, hypothetically, that an agent upgrades a parser to resolve an advisory. The new release could reject input your service previously accepted, change error handling, or require a runtime adjustment. The maintainer needs evidence about the affected behavior, not just a manifest diff and a successful installation.

A disciplined repair should record the original finding, the affected version, the selected replacement, and the tests used to check compatibility. Ask for focused tests around the integration boundary and relevant regression tests for existing behavior. Where an advisory describes a reproducible security condition, a suitable regression test can help demonstrate that the intended fix is exercised. Do not copy dangerous payloads into production systems merely to make the report look more complete.

Review the lockfile as part of the change, not as generated noise. A direct upgrade may also alter transitive versions, so check that the resulting dependency set matches the intended repair. Build and test the exact revision proposed for merge. If the agent pushes another dependency update after review, earlier evidence may no longer cover the resulting tree. Human approval should reference what was checked, rather than becoming a permanent blessing attached to the pull request title.

Missing metadata needs a visible queue

The announcement's statement that packages without license information are not flagged deserves its own workflow. Silence around missing data can be more misleading than an explicit warning. Teams should decide how to detect missing license metadata independently and where those cases go. Depending on the project, that might mean consulting upstream license files, checking the distributed package contents, or asking the appropriate internal reviewer to resolve an ambiguity.

Do not let the coding agent fill the gap with a confident summary copied from an unrelated package or repository. Package names, forks, versions, and distributed artifacts need to match. Record what was actually checked and retain the unresolved status until an authorized person decides how to proceed. For security assessment, apply the same discipline to missing coverage: an unsupported or unexamined dependency is not automatically a safe dependency.

Separate uncertainty from accepted exceptions. An exception should identify its owner, scope, justification, compensating measures where relevant, and an expiry or reassessment date. “The bot found nothing” is not a useful justification. This approach makes later maintenance easier because the next engineer can distinguish a deliberate, bounded decision from a question that nobody noticed was still open.

Pilot the feature without dismantling existing gates

Start with a small set of repositories representing real dependency workflows. Confirm who can change the settings, whether repository overrides exist, and how the scans interact with current branch rules. Since the scans consume additional AI credits, agree on a budget and inspect actual review usage. The objective is not maximum comment volume. It is earlier, clearer identification of dependency decisions that would otherwise reach a maintainer without adequate context.

Use controlled examples rather than assuming coverage from a single clean pull request. In a safe test repository, inspect how the workflow handles a known advisory, a dependency outside the chosen license policy, and a package with incomplete metadata. These are proposed validation scenarios, not tests reported by GitHub or performed for this article. Observe the actual result and document which control is expected to catch each case. Avoid introducing risky examples into a deployable production branch.

When checks depend on dependency snapshots, verify their delivery as well. GitHub's compliance documentation explains that snapshots may be required for the exact head commit from detectors that supplied the base snapshot. A check can remain waiting when that input never arrives. The right response is to repair evidence collection or escalate the blocked state, not ask an agent to remove the gate so the dashboard becomes green.

Measure decisions, then keep the final say

A useful review of the pilot asks whether maintainers found genuine issues sooner, how often evidence was missing, and how long remediation took. Track repeated configuration drift and exception renewals alongside credit consumption. Avoid presenting a lower comment count as a security improvement without understanding what changed. The relevant outcome is a better-supported release decision, not a quieter assistant or a larger number of automatically accepted patches.

Give each dependency-changing pull request a named human owner. That person should understand the package's purpose, the checks performed, the remaining uncertainties, and the operational consequences of the update. They do not need to reproduce every machine check manually. They do need sufficient evidence to challenge a recommendation and the authority to stop integration when the evidence is inadequate.

Copilot's new scans are a useful addition to AI-assisted development: they bring dependency risks closer to the moment an agent proposes a change. Their documented limits make the governance lesson equally clear. Delegate detection, investigation, and patch preparation. Keep policy, exceptions, and the final decision under human control. Better automation should make accountable judgment easier to exercise, not make it disappear behind an empty comment thread.