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.
2 parents 35dbb6f + 39239fb commit 4cf0c8fCopy full SHA for 4cf0c8f
rust/ql/lib/codeql/rust/security/SqlInjectionExtensions.qll
@@ -6,6 +6,7 @@
6
7
import rust
8
private import codeql.rust.dataflow.DataFlow
9
+private import codeql.rust.dataflow.internal.DataFlowImpl
10
private import codeql.rust.Concepts
11
private import codeql.util.Unit
12
@@ -47,4 +48,9 @@ module SqlInjection {
47
48
class SqlExecutionAsSink extends Sink {
49
SqlExecutionAsSink() { this = any(SqlExecution e).getSql() }
50
}
51
+
52
+ /** A sink for sql-injection from model data. */
53
+ private class ModelsAsDataSinks extends Sink {
54
+ ModelsAsDataSinks() { sinkNode(this, "sql-injection") }
55
+ }
56
0 commit comments