CodeQL is the static analysis engine behind GitHub code scanning, which finds and remediates security issues in your code. We’ve recently released CodeQL 2.23.1, which includes the following:

  • Added support for Java 25, TypeScript 5.9, and Swift 6.1.3
  • Introduced a new server-side request forgery (SSRF) query for Rust
  • Modernized several Python quality queries
  • Improved Java null dereference analysis and JavaScript data flow and framework modeling

Language and framework support

  • Java / Kotlin: Added support for Java 25, including compact source files (JEP 512) and module import declarations.
  • JavaScript / TypeScript: Added support for TypeScript 5.9.

  • Swift: Added support for analyzing projects using Swift 6.1.3.

Query changes

We have also made improvements and additions to queries across several languages:

For GitHub Actions, file coverage information is now surfaced on the code scanning tool status page, improving observability of analysis completeness.

For a full list of changes, please refer to the complete changelog for version 2.23.1. Every new version of CodeQL is automatically deployed to users of GitHub code scanning on github.com. The new functionality in CodeQL 2.23.1 will also be included in a GitHub Enterprise Server (GHES) 3.20 release. If you use an older version of GHES, you can manually upgrade your CodeQL version.