Skip to content

Anthropic

Alberta government scans 466 million lines of code with Claude

Written by an AI model from the linked sources and checked against them by a second model. How we work

All about: Claude Code versions and changes →
Image: anthropic.com

Since early 2025, Alberta’s Ministry of Technology has used Claude Code with Opus and Sonnet to identify and patch vulnerabilities. The team scanned 466 million lines of code in 20 hours. The ministry estimates a traditional manual audit would have taken 6.5 years.

Approximately 50 agents worked in parallel. Claude Code performed a two-stage check: a rules engine flagged known patterns, then the model identified the exact file and line for each finding. Claude often remediated the vulnerabilities itself by generating patches, writing tests, and running builds.

The ministry manages 27 departments, 1,280 applications, and 3,400 repositories. Each application is processed by Claude Agent SDK-based agents against 95 security controls per pass.

No comments yet. Be the first.

Join the conversation

Sign in to leave a comment. It appears after moderation.