Skip to content

Commit 2f2f507

Browse files
author
Stephan Brandauer
committed
Java: drive-by change: remove obsolete custom queries from application mode characteristics
1 parent 79da723 commit 2f2f507

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

java/ql/src/Telemetry/AutomodelApplicationModeCharacteristics.qll

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ private import semmle.code.java.dataflow.internal.FlowSummaryImpl as FlowSummary
1212
private import semmle.code.java.security.ExternalAPIs as ExternalAPIs
1313
private import semmle.code.java.Expr as Expr
1414
private import semmle.code.java.security.QueryInjection
15-
private import semmle.code.java.security.RequestForgery
1615
private import semmle.code.java.dataflow.internal.ModelExclusions as ModelExclusions
1716
private import AutomodelJavaUtil as AutomodelJavaUtil
1817
private import semmle.code.java.security.PathSanitizer as PathSanitizer
@@ -136,10 +135,6 @@ private module ApplicationModeGetCallable implements AutomodelSharedGetCallable:
136135
* should be empty.
137136
*/
138137
private predicate isCustomSink(Endpoint e, string kind) {
139-
e.asExpr() instanceof ArgumentToExec and kind = "command injection"
140-
or
141-
e instanceof RequestForgerySink and kind = "request forgery"
142-
or
143138
e instanceof QueryInjectionSink and kind = "sql"
144139
}
145140

0 commit comments

Comments
 (0)