GitHub rolls out layered AI security scans as agents write more code
GitHub says AI agents ship changes faster than people can review them, so it is adding three scanning layers, one still in private preview.
The short version
- GitHub detected more than 200 million vulnerabilities from January through October 2026.
- /security-review works in the Copilot app, Copilot CLI, and Copilot Chat in VS Code.
- Standard AI Scan is for teams with write access and runs on the default branch.
- Findings from all layers land in one backlog with suggested fixes.
- Deep Scan engine: The Deep Scan preview is powered by Microsoft's Codename MDASH and runs on demand with a click.
What GitHub is rolling out
Pierre Tempel wrote on The GitHub Blog about a new /security-review command in the Copilot app. In GitHub's own example, it flagged a SQL injection risk in a PHP search endpoint before any pull request was opened.
GitHub answers the rise with scanning in layers. The layers track code from a developer's own machine, through pull requests, and on into the wider codebase.
Each layer covers a different gap. All three send findings into one shared backlog with suggested fixes.
Why it matters
If your team builds on GitHub, you can run /security-review before a pull request and see findings in the same workflow. The report does not give prices or a release date for Deep Scan.
Why GitHub is doing this
GitHub detected more than 200 million vulnerabilities across its platform from January through October 2026. The report describes this as a 100% year-over-year increase, and says the count doubled from the previous year.
The report says AI agents write a growing share of production code. They ship changes faster than human reviewers can inspect them. The flaws they introduce include SQL injection, exposed secrets and hallucinated dependencies, and these often pass test suites while still being exploitable.
Local review and pull-request checks
Three places offer the command: the Copilot app, Copilot CLI, and Copilot Chat in VS Code. It looks only at the changes in progress, not the whole repository. It does not change any code itself. Instead, the developer can ask Copilot to explain a finding, or try a fix in the working copy.
GitHub's example is a PHP search endpoint that put user input straight into a SQL query. The local review flagged the injection risk and suggested a parameterized query. The developer could apply and verify it before opening a pull request.
A pull request starts two engines at the same time. CodeQL is GitHub's longstanding semantic analysis engine, and it makes a database of the code, then runs set queries built for high precision and few false positives. AI Scanning is newer and works through agents. It roams the repository to reason about attack patterns it has not seen and business-logic flaws, and it also handles PHP and other languages CodeQL does not cover. Both engines post their results on the pull request, with fixes the author or reviewers can weigh. Pierre Tempel of The GitHub Blog wrote the post that describes this setup.
Scans for older code
Pull-request checks see only code that is new or changed. Older modules may sit unreviewed for years, even as attack techniques change.
For teams with write access, Standard AI Scan runs on the default branch within a time budget. It uses a proprietary multi-model harness to pick files and functions, in languages CodeQL supports and ones it does not. Findings CodeQL already covers are suppressed.
Findings from this scan go into the same code-scanning backlog as the others. From there, teams can assign them, link them to issues, add them to security campaigns, or send them through autofix workflows. The Copilot app's GitHub security extension lists every code-scanning alert in a security canvas. Developers can ask Copilot to explain an alert and start on a fix there. That canvas also hosts the local security review.
Deep Scan for big releases
GitHub is previewing Deep Scan for major releases or audits. It is powered by Microsoft's Codename MDASH and starts on demand with a click. It digs deeper than Standard AI Scan and feeds the same backlog and autofix pipeline.
For now, Deep Scan is only in private preview.
What engineering teams are told
The post treats the three tiers as one system, since no single gate can certify a codebase. Local review is meant to catch obvious mistakes early. Pull-request checks set a baseline at every merge. Repository scans reach legacy code. Deep Scan is kept for rare moments when a missed flaw would cost more than the compute budget.
The post offers an order of work for teams. Turn on /security-review in local workflows, make sure CodeQL and AI Scanning run on each pull request, and set Standard AI Scan on default branches. Look at Deep Scan when a release carries unusually high risk. GitHub designed the tools so findings and fixes stay within its existing workflow.
The questions people ask
What it means for you
A developer or security lead on a team using GitHub and Copilot should care, since the commands and scans sit inside tools they already use.
Who gains
Teams get checks before the pull request, on every pull request, and across older code, all feeding one backlog with suggested fixes.
How solid is it
Mixed. The detection counts and feature descriptions come from GitHub's own blog post as relayed by one outlet. The report shares no independent test results.
What you can do
Start with the local review and the pull-request engines, then weigh Deep Scan only for releases with outsized risk once it is available.
What to watch
- When does Deep Scan move beyond private preview?
- How much compute budget does a Deep Scan use compared with Standard AI Scan?
- Does the report say how well the new scans perform against the flaws agents introduce?
More stories
AgentsRival Security raises $10 million to automate cyber defense with AI agents
AgentsAnthropic built a honeypot to see if AI agents will break out when tempted
AgentsAI agents leak secrets and bypass corporate security controls
AgentsCoding agents are saving real passwords in files that end up on GitHub
Get The Daily
AI news, explained in 5 minutes a day. Free. The first issue is coming soon.
No password. Unsubscribe any time. Privacy
Say why
Liked it? Say why
Add a line for other readers.
No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.
Sources
The reporting and documents this story is built from. Each link opens the original.
- OfficialCodeQL overview codeql.github.com
- OfficialGitHub Code Security documentation docs.github.com
- OfficialGitHub page blog.github.com
- OfficialImage: The GitHub Blog blog.github.com
- ReportingLAVX: the article we sourced news.lavx.hu
Written with AI by the SI Agent News Desk from the reporting above. Every number is checked against it.Spot a mistake or a concern? Contact us · Corrections.