We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8631371 commit 5fdc75bCopy full SHA for 5fdc75b
1 file changed
rust/ql/src/queries/summary/TaintReach.qll
@@ -15,6 +15,12 @@ private module TaintReachConfig implements DataFlow::ConfigSig {
15
predicate isSource(DataFlow::Node node) { node instanceof ActiveThreatModelSource }
16
17
predicate isSink(DataFlow::Node node) { any() }
18
+
19
+ predicate allowImplicitRead(DataFlow::Node node, DataFlow::ContentSet c) {
20
+ // flow out from reference content at the sink.
21
+ isSink(node) and
22
+ c.getAReadContent() instanceof DataFlow::ReferenceContent
23
+ }
24
}
25
26
private module TaintReachFlow = TaintTracking::Global<TaintReachConfig>;
0 commit comments