GitHub Enhances CodeQL with Declarative Security Modeling for Faster, More Flexible Analysis

Craig Risi ยท rss ยท 2026-04-20 Reader ๐Ÿ–ฅ๏ธ

GitHub's new declarative models-as-data approach to CodeQL security analysis lowers the expertise barrier for custom security rules by replacing query-language programming with YAML configuration, reflecting a broader industry shift toward data-driven, developer-accessible security tooling.

practical ยท expository โ€” Industry news article describing a product update (CodeQL) and contextualizing it within the broader application security tooling landscape. Practical because it implicitly argues teams should adopt this approach.

Structure

PartRole
Announcement of the CodeQL update (paragraphs 1-2)Context and news hook โ€” states what changed and the problem it addresses
Technical explanation of taint tracking, barriers, and barrier guards (paragraphs 3-4)Evidence โ€” demonstrates concretely how the declarative approach works
Cross-language support and accuracy benefits (paragraphs 5-6)Evidence โ€” shows scalability and precision gains
Broader trend framing: data-driven configuration (paragraphs 7-8)Conclusion โ€” positions the update as part of a macro shift
Competitive landscape: GitLab, Snyk, Semgrep, SonarQube (paragraphs 10-12)Context โ€” maps the trade-off space across the industry

Key terms

Propositions

Arguments

The models-as-data approach to security analysis is better than custom query development strength: medium
Explicit premises:
Implicit premises:
Inferences:
The security tooling industry is converging on developer-accessible, friction-reducing approaches strength: medium
Explicit premises:
Implicit premises:
Inferences:

Narratives

Questions addressed

Gaps