Alberta Government Found Vulnerabilities in 466 Million Lines of Code Using Claude
On July 6, 2026, Anthropic published a case study of the Canadian province of Alberta's government, which since 2025 has been using Claude Code with Opus and Sonnet models to find and fix vulnerabilities in government systems. About 50 agents autonomously and in parallel scanned 466 million lines of code in 20 hours, covering 1,280 applications and 3,400 repositories from 27 ministries. Minister Nate Glubish stated that this made it possible to accomplish in hours what would have taken years with traditional approaches.
AI-processed from Anthropic Blog; edited by Hamidun News
Anthropic published a case study on July 6, 2026 of the Canadian province of Alberta's government, which since 2025 has used Claude Code with Claude Opus and Claude Sonnet models to find and fix vulnerabilities in its state IT systems.
What Alberta's team actually did
A team within Alberta's Ministry of Technology and Innovation deployed Claude Code to scan the codebase maintained by the ministry for all 27 provincial ministries—ranging from social services to public safety and wildfire response. Approximately 50 agents worked autonomously and in parallel, checking systems for security vulnerabilities, infrastructure weaknesses and deployment process gaps, as well as gaps in technical documentation.
- Publication date of Anthropic's case study — July 6, 2026
- Volume of code reviewed — 466 million lines in 20 hours
- Number of autonomous Claude Code agents — approximately 50, working in parallel
- Scale of the ministry's systems — 27 provincial ministries, approximately 1,280 applications and 3,400 code repositories
- Models — Claude Code based on Claude Opus and Claude Sonnet
Why Alberta's government needed this
Much of the ministry's codebase had never undergone systematic security review, and the accumulated technical debt—unsafe code, unfixed bugs, outdated software—is estimated at billions of dollars. At the same time, the ministry's systems store extremely sensitive data: tax records, government procurement data, and social services case files.
"Albertans trust their government with some of the most sensitive data in their lives, and our obligation is to protect it.
By using AI to find and fix vulnerabilities across all our systems, we accomplished in hours what would have taken years using traditional approaches. This is what responsible governance looks like in the age of AI, and the best is yet to come," said Nate Glubish, Alberta's Minister of Technology and Innovation.
Alberta also published a series of technical white papers describing its experience so that other governments could benefit from it.
What it means
Alberta's case is one of the first public examples of a regional government using AI agents for systematic security audits of hundreds of millions of lines of inherited state code—not for isolated pilot projects—and demonstrates that such audits are now measured in hours, not years.
Frequently Asked Questions
How much code did
Alberta's team review and in what timeframe?
Approximately 50 agents based on Claude Code with Opus and Sonnet models scanned 466 million lines of code in 20 hours, covering approximately 1,280 applications and 3,400 repositories across 27 provincial ministries.
Since what year has Alberta used Claude Code for security?
The team at Alberta's Ministry of Technology and Innovation has been applying Claude Code since 2025 to find and fix vulnerabilities, infrastructure weaknesses, and documentation gaps in state systems.
- Oct 27, 2026Anthropic Files S-1 with the SEC: IPO Under Ticker ANT and $16.3 Billion in Six Months
- Oct 27, 2026OpenAI Releases GPT-6.1 Terra: Astra-Level Computer Control at 1/10 the Price
- Oct 26, 2026Runpod Connects to Cursor and Claude Code via MCP: GPU Infrastructure From the Chat Window
- Oct 26, 2026Anthropic files S-1 with SEC, plans Nasdaq listing under ticker ANT
Key Questions Answered
How much code did Alberta's team review and in what timeframe?
Approximately 50 agents based on Claude Code with Opus and Sonnet models scanned 466 million lines of code in 20 hours, covering approximately 1,280 applications and 3,400 repositories across 27 provincial ministries.
Since what year has Alberta used Claude Code for security?
The team at Alberta's Ministry of Technology and Innovation has been applying Claude Code since 2025 to find and fix vulnerabilities, infrastructure weaknesses, and documentation gaps in state systems.
What Alberta's team actually did?
A team within Alberta's Ministry of Technology and Innovation deployed Claude Code to scan the codebase maintained by the ministry for all 27 provincial ministries—ranging from social services to public safety and wildfire response. Approximately 50 agents worked autonomously and in parallel, checking systems for security vulnerabilities, infrastructure weaknesses and deployment process gaps, as well as gaps in technical documentation. Publication date of Anthropic's case study — July 6, 2026 Volume of code reviewed — 466 million lines in 20 hours Number of autonomous Claud
Delegate Deep Research, Coding & Workflows to an AI Agent
Deploy autonomous multi-step execution with NomadNet Agent (agent.nomadnet.ai) — automated web research, data synthesis, code generation, and complex task orchestration.
The AI world, distilled — once a week
Seven stories that actually mattered, hand-picked. No noise, no reposts, no press releases.
Done! Check your inbox for a confirmation.