File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
javascript/frameworks/cap/src/sqlinjection Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,13 @@ import advanced_security.javascript.frameworks.cap.CQL
1919class Configuration extends TaintTracking:: Configuration {
2020 Configuration ( ) { this = "CapSqlInjection" }
2121
22- override predicate isSource ( DataFlow:: Node source ) { source instanceof CDS:: RequestSource }
22+ override predicate isSource ( DataFlow:: Node source ) {
23+ source instanceof Source or source instanceof CDS:: RequestSource
24+ }
2325
24- override predicate isSink ( DataFlow:: Node sink ) { sink instanceof CQL:: CQLSink }
26+ override predicate isSink ( DataFlow:: Node sink ) {
27+ sink instanceof Sink or sink instanceof CQL:: CQLSink
28+ }
2529
2630 override predicate isAdditionalTaintStep ( DataFlow:: Node pred , DataFlow:: Node succ ) {
2731 //string concatenation in a clause arg taints the clause
You can’t perform that action at this time.
0 commit comments