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 e1bed42 commit bc04131Copy full SHA for bc04131
javascript/ql/lib/semmle/javascript/dataflow/internal/TaintTrackingPrivate.qll
@@ -61,5 +61,7 @@ predicate defaultTaintSanitizer(DataFlow::Node node) {
61
bindingset[node]
62
predicate defaultImplicitTaintRead(DataFlow::Node node, ContentSet c) {
63
exists(node) and
64
- c = [ContentSet::promiseValue(), ContentSet::arrayElement()]
+ c = [ContentSet::promiseValue(), ContentSet::arrayElement()] and
65
+ // Optional steps are added through isAdditionalFlowStep but we don't want the implicit reads
66
+ not optionalStep(node, _, _)
67
}
0 commit comments