Standard libraries and queries for CodeQL, powering GitHub Advanced Security and static application security testing.
CodeQL is an open-source repository containing the standard libraries and queries for the CodeQL language, which is used for static application security testing (SAST). It enables developers and security researchers to write custom queries to identify vulnerabilities, bugs, and other issues in source code across multiple programming languages. These resources power GitHub Advanced Security and other GitHub security products.
Security researchers, application security engineers, and developers who need to perform deep, customizable static analysis on codebases to find security vulnerabilities.
It provides a comprehensive, community-maintained standard library of security queries and language definitions, allowing for extensible and precise code analysis. Being open-source, it fosters collaboration and continuous improvement in security checking capabilities.
CodeQL: the libraries and queries that power security researchers around the world, as well as code scanning in GitHub Advanced Security
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
The repository includes a vast standard library of pre-written queries for detecting common vulnerabilities across multiple languages, as highlighted in the README's key features.
Being open-source, it allows contributions to improve and add new queries, fostering continuous security enhancement through pull requests, as noted in the contributing section.
It directly powers GitHub Advanced Security, enabling integrated code scanning within the GitHub ecosystem, which simplifies adoption for GitHub users.
Supported by extensive documentation, a VS Code extension, and the CodeQL CLI for running analyses, providing a robust development environment as mentioned in the README.
Mastering the CodeQL language for writing custom queries requires significant security and programming expertise, making it challenging for beginners without dedicated training.
The CodeQL CLI requires a separate commercial license for analyzing closed-source code, adding cost and complexity, as explicitly stated in the README's license section.
As a static analysis tool, it cannot detect vulnerabilities that only manifest during runtime, such as those dependent on user input or specific execution environments.