Skip to content
GitHub

How GitHub uses CodeQL to secure GitHub

Feb 12, 2025Brandon Stewart18 min read
Opens github.blog
What the post coversAI, from the source post

This post details how GitHub Product Security Engineering uses CodeQL for security analysis.

  • It explains the strategy of publishing custom CodeQL query packs to GitHub Container Registry (GCR) for improved deployment and iteration speed compared to embedding queries directly in repositories.
  • The post also covers dependency management for CodeQL query packs, specifically pinning versions of libraries like `ruby-all` to ensure stability, and outlines the release flow for new queries.
  • Finally, it discusses strategies for granting access to these private query packs across multiple repositories within an enterprise.
Read the full post on github.blog · 18 min (opens in a new tab)

More from the AI-Assisted Code Development and Review trail