GitHub walked through a secure loop for agent-written code. Its example is a PHP search endpoint with SQL injection, exploitable remotely with crafted search text. The company said it detected over 200 million vulnerabilities from January to October 2026, based on internal data. That is a 100% increase year over year, per the same post.
Passing tests don't mean the code is safe.
You can run /security-review in the Copilot app, Copilot CLI or Copilot Chat in VS Code before you open a pull request, GitHub said. The check covers only active changes and returns prioritized findings without editing code. In the PHP case it flags SQL injection and suggests a parameterized query that separates logic from user input.
At pull request time CodeQL builds a code database and runs precision-tuned queries, while AI Scanning uses agents to reason about behavior, GitHub said. The second layer covers languages outside CodeQL coverage, including PHP in this demo. What the count does not show is how many of those 200 million alerts were exploitable, duplicated or tied to AI-generated code.
For untouched code, Standard AI Scan runs on the default branch when you have write access, GitHub said. It uses a proprietary harness with multiple models and works within a time budget to pick files. Alerts land with CodeQL alerts in one backlog, with duplicates suppressed, and can feed campaigns, autofix and a security canvas. The effort recalls the Codename MDASH pilot. It turned thousands of raw AI findings into 99 checked, private reports with suggested fixes for six projects, per the pilot report. Microsoft's Ignite SOC update makes the same point about sprawl, noting source can sit in GitHub, Azure DevOps or a local Git repo, per Andrew Blumhardt's blog.
For releases or audits, Deep Scan powered by Microsoft's Codename MDASH and now in private preview is built for higher-attention checks, GitHub said. CodeQL, Standard AI Scan and Deep Scan share one backlog, with agentic autofix across all three and partner tools. A true-positive breakdown would change the read on whether volume means risk is rising or detection is improving. Does the 200 million total track more bad code, or just more machine eyes on old code?





