GitHub sets out layered code scanning for AI-era development, from local review to Deep Scan
GitHub described how its security checks cover code at the writing, pull request and existing-codebase stages, as surveys point to growing pressure from AI-generated code awaiting review.

Key points
- GitHub says it detected more than 200 million vulnerabilities from January to October 2026, based on internal data.
- In an ArmorCode survey, 40% of 200 senior leaders named the volume of AI-generated code awaiting review as their top software security challenge.
- A New Relic study found AI-generated code introduced nearly twice as many critical runtime issues as peer-reviewed engineer code.
- Checks now span local /security-review in Copilot, CodeQL and AI Scanning on pull requests, and Standard AI Scan on existing code.
- Deep Scan, in private preview, targets major releases and security audits.
What GitHub announced
GitHub has outlined how developers can find vulnerabilities at three points: while writing code, before merging a pull request, and across code already in a repository. The company says its internal data shows more than 200 million vulnerabilities detected between January and October 2026.
The context is the rapid spread of AI-generated code. An ArmorCode survey of 200 senior leaders found 40% see the backlog of AI-written code awaiting human review as their main software security challenge. A Flux survey found nearly half of respondents' organizations ran such code in production, and more than 80% had changed development or release processes, most often by updating AI use policies. A New Relic study reported that AI-generated code produced nearly twice as many critical runtime issues as peer-reviewed engineer code.
How the checks fit together
- Local review: /security-review in the Copilot app, Copilot CLI or Copilot Chat in VS Code examines local changes, ranks findings and suggests fixes.
- Coding agent: since October 2025, the Copilot coding agent scans its own output with CodeQL, checks new dependencies against the GitHub Advisory Database, looks for exposed secrets and attempts fixes.
- Pull requests: CodeQL queries a model of the code for vulnerability patterns, while AI Scanning looks at behaviour and business logic flaws, including in languages such as PHP.
- Existing code: users with write access can run Standard AI Scan on the default branch within a time limit; duplicate findings with CodeQL are suppressed.
- Deep Scan: in private preview, using Microsoft's Codename MDASH, run on demand for releases and audits.
Why it matters
GitHub itself notes that some issues only appear under production traffic or when services interact, so scanning complements rather than replaces runtime monitoring and human review. Institutions should treat AI-assisted coding as a governed change to their secure development lifecycle.
What to do now
- Inventory where AI coding assistants and agents are used across in-house and vendor development, and update AI use policies accordingly.
- Require automated static analysis and secret scanning on every pull request, including changes pushed by reviewers, before merge.
- Schedule periodic scans of default branches and track findings in a single owned backlog with remediation deadlines.
- Keep human review mandatory for AI-generated or AI-fixed code touching sensitive systems or personal data.
- Strengthen production monitoring to catch runtime issues that pre-merge scanning can miss.
How useful was this story?
0.0 out of 5 · 0 ratings
Related frameworks
Our consultants can assess your exposure and map the change to your controls and evidence.