codeql icon indicating copy to clipboard operation
codeql copied to clipboard

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

Results 853 codeql issues
Sort by recently updated
recently updated
newest added

I use Use-After-Query.ql to detec a simple c code which exists UAF bug , but it doesn't works - Use-After-Query.ql ``` /** * @name Potential use after free * @description...

question

The [Helmet 🪖 middleware](https://helmetjs.github.io/) is used to set security-related HTTP headers in Express applications. This query finds instances where the middleware is configured with important ⚠️ security features disabled 🚫....

JS
documentation

There was a bug in the design of `TypeModel`, that meant when pruning models we have no way of knowing which types might be contributed via a `TypeModel`. This PR...

JS
Python
Ruby

I originally reported this here: "CodeQL XSS False Positives and XSS AutoFix incorrect location for defensive encoding" (https://github.com/orgs/community/discussions/122802), but am reporting it here because I was told this is a...

Java
false-positive

This PR changes the CSV framework coverage reports.

Part of https://github.com/github/codeql-python-team/issues/792 promoting https://github.com/github/codeql/pull/6360; Depends on https://github.com/github/codeql/pull/16696 Promotes the Cookie Injection query from experimental, finding instances of user input being used to set the name or value of a...

documentation
Python

This was causing some confusion [here](https://github.com/github/codeql/discussions/16890). Support for `switch` statements was added in https://github.com/github/codeql/pull/15941.

C++
no-change-note-required

C#
C++
Java
Python
Ruby
Swift
DataFlow Library

This PR adds support for `Element` content for C++ like we have for other CodeQL supported languages. Given code such as: ```cpp std::vector v; int x = source(); v.push_back(x); //...

C++
no-change-note-required

Js2Py is a Javascript to Python translation library written in Python. It allows users to invoke JavaScript code directly from Python. The Js2Py interpreter by default exposes the entire standard...

documentation
Python
external-contribution