File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
csharp/ql/src/semmle/code/csharp
security/dataflow/flowsinks Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -91,9 +91,11 @@ module Sinks {
91
91
exists ( MethodCall mc |
92
92
mc .getTarget ( ) .getQualifiedName ( ) in [
93
93
"ServiceStack.IRestClient.Get" , "ServiceStack.IRestClient.Put" ,
94
- "ServiceStack.IRestClient.Post" , "ServiceStack.IRestClient.Delete" ,
95
- "ServiceStack.IRestClient.Post" , "ServiceStack.IRestClient.Put" ,
96
- "ServiceStack.IRestClient.Patch" , "ServiceStack.IRestClient.Send"
94
+ "ServiceStack.IRestClient.Post" , "ServiceStack.IRestClient.Delete" ,
95
+ "ServiceStack.IRestClient.Patch" , "ServiceStack.IRestClient.Send" ,
96
+ "ServiceStack.IRestClientAsync.GetAsync" , "ServiceStack.IRestClientAsync.DeleteAsync" ,
97
+ "ServiceStack.IRestClientAsync.PutAsync" , "ServiceStack.IRestClientAsync.PostAsync" ,
98
+ "ServiceStack.IRestClientAsync.PatchAsync" , "ServiceStack.IRestClientAsync.CustomMethodAsync"
97
99
] and
98
100
this .asExpr ( ) = mc .getAnArgument ( )
99
101
)
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ private import ExternalLocationSink
8
8
private import Html
9
9
private import semmle.code.csharp.security.dataflow.XSS
10
10
private import semmle.code.csharp.frameworks.system.web.UI
11
- private import semmle.code.csharp.frameworks.ServiceStack:: Sinks
12
11
13
12
/** A data flow sink of remote user output. */
14
13
abstract class RemoteFlowSink extends DataFlow:: Node { }
You can’t perform that action at this time.
0 commit comments