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 b0a29b1 commit cf9b69bCopy full SHA for cf9b69b
python/ql/lib/semmle/python/security/dataflow/TarSlipCustomizations.qll
@@ -119,7 +119,7 @@ module TarSlip {
119
attr.getName() = "name" and
120
attr.getObject() = tarInfo
121
|
122
- // Assume that any test with "path" in it is a sanitizer
+ // The assumption that any test that matches %path is a sanitizer might be too broad.
123
call.getAChild*().(AttrNode).getName().matches("%path")
124
or
125
call.getAChild*().(NameNode).getId().matches("%path")
0 commit comments