mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
Will need subsequent PRs fixing up test failures (due to deprecated methods moving around), but other than that everything should be straight-forward.
10 lines
295 B
Plaintext
10 lines
295 B
Plaintext
import python
|
|
import semmle.python.security.Exceptions
|
|
import semmle.python.web.HttpResponse
|
|
|
|
from TaintSource src, TaintKind kind
|
|
where
|
|
src.isSourceOf(kind) and
|
|
not src.getLocation().getFile().inStdlib()
|
|
select src.getLocation().toString(), src.(ControlFlowNode).getNode().toString(), kind
|