What is this?
This is the standard library and query collection for CodeQL, the code analysis engine that powers GitHub Advanced Security code scanning and GitHub's commercial security products.
Is this the CodeQL engine itself, or just the queries?
Just the libraries and queries written in the QL language. The actual CodeQL CLI and analysis engine live in a separate repository with a separate license.
How do I start writing and running queries?
Install the CodeQL for Visual Studio Code extension for syntax highlighting, IntelliSense, and code navigation, then follow GitHub's documentation on the CodeQL language and CLI.
Do I need the CodeQL CLI separately?
Yes, this repo only has the libraries and queries; you need the separately-hosted CodeQL CLI to actually run them.
Can I use this freely on any codebase, including closed-source?
The libraries here are MIT licensed, but analyzing closed-source code with the CodeQL CLI requires a separate commercial license from GitHub.
What is QL / CodeQL's query language?
QL is the custom query language used to write CodeQL libraries and queries; the README points to extensive documentation for learning it and the VS Code extension adds language support for it.
Are there built-in VS Code tasks for this repo?
Yes, the repo includes a .vscode/tasks.json defining custom tasks you can run via the Terminal > Run Task menu or the command palette.
What are similar projects?
0security, mantis, VulnHunter, codex-security, defending-code-reference-harness, shannon, DVWA, Aletheore
Which topics is it in?
application-security, devsecops, code-analysis, vulnerability-scanner, code-review, penetration-testing, static-analysis, cybersecurity, security-tools, security, library, developer-tools