Files
codeql/python/ql/test/library-tests/web/stdlib/HttpSources.ql
2020-04-22 17:28:49 +02:00

10 lines
299 B
Plaintext

import python
import semmle.python.web.HttpRequest
import semmle.python.security.strings.Untrusted
from HttpRequestTaintSource source, TaintKind kind
where
source.isSourceOf(kind) and
source.getLocation().getFile().getShortName() != "cgi.py"
select source.(ControlFlowNode).getNode(), kind