GitHub’s AI Scan for pull requests is live. It flags problems, but it cannot stop a merge.

Written by

in

On October 15, 2026, GitHub made AI Scan for pull requests generally available. It reviews code changes in places GitHub’s CodeQL engine does not cover well, including PHP, shell scripts, Terraform, Dockerfiles, JSP and Blazor, and posts findings next to CodeQL results with an AI label. Some findings come with an explanation and a suggested fix.

The fine print that matters

  • Findings are advisory. They do not fail the code scanning check and cannot block a merge through rulesets.
  • It does not run on pull requests from forks or on Dependabot pull requests.
  • Private and internal repositories need GitHub Code Security or Advanced Security, and usage draws on AI credits, so set a budget before you roll it out.

In plain terms, AI Scan adds a useful comment to a pull request. It does not add a control. If your rule is that risky code cannot ship, a person or a required check still has to enforce it.

How to use it well

  • Turn it on for languages your current scanning misses, especially infrastructure code.
  • Write down who must review an AI finding before merge, and how fast.
  • Treat fork and dependency pull requests as their own review path.
  • Keep regular, scoped penetration tests. Code scanning sees the code. A test sees what an attacker sees once that code is running.

The Dark Edge view

Automated tools save time and we use them, but every Dark Edge test has a person checking every finding, written authorization, and a retest after fixes. Compliance programs such as HIPAA, FFIEC exams and PCI DSS expect that kind of documented work. Learn about our penetration testing, or how we help teams adopt AI tools safely.

Want a second set of eyes on your environment? Book a 30 minute call with Dark Edge. No sales pitch, just a straight look at where you stand.

Sources: GitHub changelog, Cybersecsloth.