Files
codeql/python/ql/test/library-tests/web/pyramid/Sinks.ql
2020-01-22 13:45:14 +01:00

12 lines
348 B
Plaintext

import python
import semmle.python.web.HttpRequest
import semmle.python.web.HttpResponse
import semmle.python.security.strings.Untrusted
from TaintSink sink, TaintKind kind
where sink.sinks(kind) and sink.getLocation().getFile().getShortName() = "test.py"
select sink.getLocation().toString(), sink.(ControlFlowNode).getNode().toString(), kind