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 2d0c73a commit cba1c58Copy full SHA for cba1c58
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,11 @@ 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() {
55
+ sinkNode(this, "sql-injection")
56
+ }
57
58
0 commit comments