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 c0aae3d commit d211decCopy full SHA for d211dec
javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/ATMConfig.qll
@@ -159,7 +159,7 @@ abstract class AtmConfig extends JS::TaintTracking::Configuration {
159
* Holds if if `sink` is an effective sink with flow from `source` which gets used as a sink candidate for scoring
160
* with the ML model.
161
*/
162
- predicate isSinkCandidateWithFlow(JS::DataFlow::Node sink) {
+ predicate isSinkCandidateWithFlow(JS::DataFlow::PathNode sink) {
163
exists(JS::DataFlow::PathNode source |
164
this.hasFlowPath(source, sink) and
165
not AtmResultsInfo::isFlowLikelyInBaseQuery(source.getNode(), sink.getNode())
0 commit comments