github/codeql

CodeQL: the libraries and queries that power security researchers around the world, as well as code scanning in GitHub Advanced Security

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 46 minutes ago
Added to GitGenius on September 6th, 2026
Created on July 31st, 2018
Open Issues & Pull Requests: 1,457 (+0)
GitHub issues: Enabled
Number of forks: 2,077
Total Stargazers: 10,058 (+0)
Total Subscribers: 285 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 6.7 hours
Mean response time: 19.6 days
90th percentile: 3.2 days
Tracked items: 793

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 73% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 6% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 315
New in 7 days: 4
Closed in 7 days: 4
Avg open age: 464 days
Stale 30+ days: 288
Stale 90+ days: 261

Recent activity

Opened in 7 days: 3
Closed in 7 days: 4
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • question (542)
  • false-positive (121)
  • awaiting-response (46)
  • invalid (43)
  • Stale (39)
  • C++ (28)
  • bug (23)
  • Java (17)

Detailed Description

CodeQL is a query language and analysis engine that powers security scanning in GitHub Advanced Security and enables security researchers to write custom code analysis queries.

CodeQL addresses the problem of identifying security vulnerabilities and code quality issues across large codebases by treating code as queryable data. The approach works by converting source code into a relational database representation, which can then be queried using CodeQL's declarative language to find patterns indicative of bugs, vulnerabilities, or policy violations. This allows both automated scanning and custom analysis tailored to specific security concerns.

Developers should adopt CodeQL if they need to perform deep semantic code analysis beyond pattern matching, particularly for security scanning integrated into development workflows. It suits organizations using GitHub Advanced Security, security teams building custom vulnerability detectors, and researchers investigating code patterns across multiple languages. The tool works with Visual Studio Code through a dedicated extension providing syntax highlighting, IntelliSense, and unit testing support for queries. The repository contains the standard libraries and queries that ship with GitHub's security products, making it the authoritative source for the analysis rules used in those services.

The project maintains an active standard library with documented contribution pathways for new checks and query improvements. The repository includes comprehensive style guides and metadata documentation standards that contributors are expected to follow. Development activity centers on expanding and refining the query library through community contributions, with clear guidelines for pull requests and query help documentation. The project provides extensive learning resources including language documentation, CLI tooling guides, and integration documentation for the Visual Studio Code extension.