Skip to content

Commit f0fb065

Browse files
committed
Java: Opt-in the SQL injection query to use threat model flow sources.
1 parent 5fd6dc3 commit f0fb065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/security/SqlInjectionQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ deprecated class QueryInjectionFlowConfig extends TaintTracking::Configuration {
3737
* A taint-tracking configuration for unvalidated user input that is used in SQL queries.
3838
*/
3939
module QueryInjectionFlowConfig implements DataFlow::ConfigSig {
40-
predicate isSource(DataFlow::Node src) { src instanceof RemoteFlowSource }
40+
predicate isSource(DataFlow::Node src) { src instanceof ThreatModelFlowSource }
4141

4242
predicate isSink(DataFlow::Node sink) { sink instanceof QueryInjectionSink }
4343

0 commit comments

Comments
 (0)