mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Update ZipSlip.qll
This commit is contained in:
@@ -7,7 +7,10 @@ class ZipSlipConfig extends TaintTracking::Configuration {
|
||||
ZipSlipConfig() { this = "ZipSlipConfig" }
|
||||
|
||||
override predicate isSource(DataFlow::Node source) {
|
||||
source = API::moduleImport("zipfile").getMember("ZipFile").getACall()
|
||||
source = API::moduleImport("zipfile").getMember("ZipFile").getACall() or
|
||||
source = API::moduleImport("tarfile").getMember("open").getACall() or
|
||||
source = API::moduleImport("gzip").getMember("open").getACall() or
|
||||
source = API::moduleImport("bz2").getMember("open").getACall()
|
||||
}
|
||||
|
||||
override predicate isSink(DataFlow::Node sink) {
|
||||
|
||||
Reference in New Issue
Block a user