mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Update ZipSlip.ql
This commit is contained in:
@@ -16,9 +16,8 @@ import python
|
||||
import experimental.semmle.python.security.ZipSlip
|
||||
import DataFlow::PathGraph
|
||||
|
||||
|
||||
from ZipSlipConfig config, DataFlow::PathNode source,
|
||||
DataFlow::PathNode sink
|
||||
from ZipSlipConfig config, DataFlow::PathNode source, DataFlow::PathNode sink
|
||||
where config.hasFlowPath(source, sink)
|
||||
select sink.getNode(), source, sink, "Extraction of zipfile from $@", source.getNode(),
|
||||
"a potentially untrusted source"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user