tech
Government of Alberta uses Claude to find and fix cybersecurity vulnerabilities
Since 2025, the Government of Alberta has been using Claude Code with both Opus and Sonnet models to review its systems, find vulnerabilities, and fix them. A team inside Alberta’s Ministry of Technology and Innovation scanned 466 million lines of code in 20 hours, remediated security gaps across its systems, and built new tools to make those systems safer.
TL;DR
- Alberta's government is using Claude Code (Opus and Sonnet models) to review, find vulnerabilities, and fix its systems since 2025.
- A team scanned 466 million lines of government code in 20 hours, identifying security gaps missed by traditional tools.
- Claude Code generated fixes for vulnerabilities, sometimes rebuilding outdated code in modern languages.
- Specialized AI agents ('red team' and 'blue team') now run continuous security reviews throughout the development process.
- The government is also training workers and the public in AI use through the Alberta AI Academy.
- Plans include using Claude Code to analyze and consolidate 185 legacy applications into fewer, modern ones.
- Alberta has published technical white papers to share its AI approach with other governments.