mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
11 lines
366 B
Plaintext
11 lines
366 B
Plaintext
import python
|
|
import semmle.python.dataflow.new.TaintTracking
|
|
import semmle.python.dataflow.new.DataFlow
|
|
|
|
from DataFlow::Node nodeFrom, DataFlow::Node nodeTo
|
|
where
|
|
TaintTracking::localTaintStep(nodeFrom, nodeTo) and
|
|
exists(nodeFrom.getLocation().getFile().getRelativePath()) and
|
|
exists(nodeTo.getLocation().getFile().getRelativePath())
|
|
select nodeFrom, nodeTo
|