GitHub's guide to securing code when AI agents write more of it
GitHub walks through a security workflow for agent-written code: run /security-review in the Copilot app, Copilot CLI or VS Code on local changes, rely on CodeQL plus agent-based AI Scanning on pull requests (covering languages like PHP that CodeQL doesn't)…
Why it matters
It gives teams using coding agents a practical checklist for catching issues like SQL injection before merge.
What happened
1 min readGitHub walks through a security workflow for agent-written code: run /security-review in the Copilot app, Copilot CLI or VS Code on local changes, rely on CodeQL plus agent-based AI Scanning on pull requests (covering languages like PHP that CodeQL doesn't), and scan older code too. GitHub says it detected over 200 million vulnerabilities from January to October 2026, double the prior year.
Our analysis
This is mostly a tour of GitHub's own products rather than a new launch. The 200-million figure is internal and doesn't say how much is attributable to AI-written code. Still, the layered approach (local review, PR checks, repo-wide scanning) is sound advice that applies with any toolchain.