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 758 codeql issues
Sort by recently updated
recently updated
newest added
trafficstars

In order to support scenarios as: ```cs using (var tcpConn = new TcpClient("host.example.org", 39544)) { /* read input from socket */ using (StreamReader sr = new StreamReader(tcpConn.GetStream())) { Sink(sr.ReadLine()); }...

C#
documentation

**Description of the false positive** From the working example on [js/prototype-pollution-utility doc](https://codeql.github.com/codeql-query-help/javascript/js-prototype-pollution-utility/): ```js function merge(dst, src) { for (let key in src) { if (!src.hasOwnProperty(key)) continue; if (dst.hasOwnProperty(key) && isObject(dst[key]))...

JS
false-positive
acknowledged

This PR makes use of [ContentDataFlow](https://github.com/github/codeql/pull/9024) to calculate precise flow summaries for C# and Java.

C#
Java

Much sadness: ``` Tuple counts for ImportTime::ImportTimeScope::getOuterVariable#dispred#f0820431#fff/3@64d04d33 after 7.6s: 19624 ~1% {1} r1 = SCAN py_Classes OUTPUT In.0 'this' 19531 ~1% {1} r2 = JOIN r1 WITH ImportTime::ImportTimeScope#class#7851b601#f ON FIRST...

Python
no-change-note-required

Before: ``` Tuple counts for Essa::ScopeEntryDefinition#class#24e22a14#f/1@45e0d8dh after 10.5s: 2133368 ~1% {2} r1 = Essa::TEssaNodeDefinition#24e22a14#ffff_03#join_rhs AND NOT Essa::ImplicitSubModuleDefinition#class#24e22a14#f(Lhs.1 'this') 534478950 ~0% {2} r2 = JOIN r1 WITH Definitions::SsaSourceVariable::getScopeEntryDefinition#dispred#f0820431#ff ON FIRST 1...

Python
no-change-note-required

This makes the AST viewer (which annotates string constant nodes as `Str`, and not `StrConst`) a bit more consistent. Fixes #9833. It might be even better to instead flip the...

Python
no-change-note-required

**Description of the issue** I expect the type names present on the AST viewer to match a real CodeQL type, but this is not the case here. The type could...

question
Python

```c #define ABC XVY(1) { int cmd = 1; int ABC=1; switch(cmd) { case ABC: printf("hello!\n); } } ``` How to get a "ABC" from a SwitchCase class? (Not a...

question

False positive for "Mismatch in multiple assignment" in Python. A mismatch in multiple assignment can occur when the number of values assigned does not match the number of variables to...

false-positive