File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
csharp/ql/lib/semmle/code/csharp/security/dataflow Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import csharp
6
6
private import semmle.code.csharp.security.dataflow.flowsources.Remote
7
7
private import semmle.code.csharp.frameworks.system.Diagnostics
8
8
private import semmle.code.csharp.security.Sanitizers
9
+ private import semmle.code.csharp.dataflow.ExternalFlow
9
10
10
11
/**
11
12
* A source specific to command injection vulnerabilities.
@@ -66,6 +67,11 @@ module CommandInjection = TaintTracking::Global<CommandInjectionConfig>;
66
67
/** A source of remote user input. */
67
68
class RemoteSource extends Source instanceof RemoteFlowSource { }
68
69
70
+ /** Command Injection sinks defined through CSV models. */
71
+ private class ExternalCommandInjectionExprSink extends Sink {
72
+ ExternalCommandInjectionExprSink ( ) { sinkNode ( this , "command-injection" ) }
73
+ }
74
+
69
75
/**
70
76
* A sink in `System.Diagnostic.Process` or its related classes.
71
77
*/
You can’t perform that action at this time.
0 commit comments