We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f68b54 commit 54109b8Copy full SHA for 54109b8
python/ql/src/experimental/Security/CWE-022bis/UnsafeUnpack.ql
@@ -38,6 +38,11 @@ class UnsafeUnpackingConfig extends TaintTracking::Configuration {
38
or
39
// A source catching a S3 filename download
40
exists(API::Node s3 | source = s3.getMember("download_file").getACall().getArg(2))
41
+ or
42
+ // A source download a file using wget
43
+ exists(MethodCallNode mcn |
44
+ mcn = API::moduleImport("wget").getMember("download").getACall() and source = mcn.getArg(1)
45
+ )
46
}
47
48
override predicate isSink(DataFlow::Node sink) {
0 commit comments