@@ -59,13 +59,13 @@ module ApplicationCandidatesImpl implements SharedCharacteristics::CandidateSig
5959 e .getType ( ) instanceof NumberType
6060 )
6161 or
62- t instanceof AutomodelEndpointTypes:: TaintedPathSinkType and
62+ t instanceof AutomodelEndpointTypes:: PathInjectionSinkType and
6363 e instanceof PathSanitizer:: PathInjectionSanitizer
6464 }
6565
6666 RelatedLocation asLocation ( Endpoint e ) { result = e .asExpr ( ) }
6767
68- predicate isKnownKind = AutomodelJavaUtil:: isKnownKind / 3 ;
68+ predicate isKnownKind = AutomodelJavaUtil:: isKnownKind / 2 ;
6969
7070 predicate isSink ( Endpoint e , string kind ) {
7171 exists ( string package , string type , string name , string signature , string ext , string input |
@@ -79,7 +79,7 @@ module ApplicationCandidatesImpl implements SharedCharacteristics::CandidateSig
7979 predicate isNeutral ( Endpoint e ) {
8080 exists ( string package , string type , string name , string signature |
8181 sinkSpec ( e , package , type , name , signature , _, _) and
82- ExternalFlow:: neutralModel ( package , type , name , [ signature , "" ] , _ , _)
82+ ExternalFlow:: neutralModel ( package , type , name , [ signature , "" ] , "sink" , _)
8383 )
8484 }
8585
0 commit comments