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 ef0a3d0 commit e1c7003Copy full SHA for e1c7003
csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsources/Remote.qll
@@ -179,7 +179,12 @@ abstract class AspNetCoreRemoteFlowSource extends RemoteFlowSource { }
179
*/
180
private class AspNetCoreRemoteFlowSourceMember extends TaintTracking::TaintedMember {
181
AspNetCoreRemoteFlowSourceMember() {
182
- this.getDeclaringType() = any(AspNetCoreRemoteFlowSource source).getType()
+ this.getDeclaringType() = any(AspNetCoreRemoteFlowSource source).getType() and
183
+ this.isPublic() and
184
+ not this.isStatic() and
185
+ exists(Property p | p = this |
186
+ p.isAutoImplemented() and p.getGetter().isPublic() and p.getSetter().isPublic()
187
+ )
188
}
189
190
0 commit comments