mirror of
https://github.com/github/codeql.git
synced 2025-12-18 18:10:39 +01:00
11 lines
403 B
Plaintext
11 lines
403 B
Plaintext
import python
|
|
import semmle.python.TestUtils
|
|
import semmle.python.web.HttpRequest
|
|
import semmle.python.web.HttpResponse
|
|
import semmle.python.security.strings.Untrusted
|
|
|
|
from TaintedNode node
|
|
// Add this restriction to keep Python2 and 3 results the same.
|
|
where not exists(node.getContext().getCaller())
|
|
select remove_library_prefix(node.getLocation()), node.getAstNode().toString(), node.getTaintKind()
|