File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1311,7 +1311,7 @@ class JwtDecoding extends DataFlow::Node instanceof JwtDecoding::Range {
13111311 DataFlow:: Node getOptions ( ) { result = super .getOptions ( ) }
13121312
13131313 /** Checks if the signature gets verified while decoding. */
1314- predicate verifies ( ) { super .verifies ( ) }
1314+ predicate verifiesSignature ( ) { super .verifiesSignature ( ) }
13151315}
13161316
13171317/** Provides a class for modeling new Jwt token encoding APIs. */
@@ -1336,6 +1336,6 @@ module JwtDecoding {
13361336 abstract DataFlow:: Node getOptions ( ) ;
13371337
13381338 /** Checks if the signature gets verified while decoding. */
1339- abstract predicate verifies ( ) ;
1339+ abstract predicate verifiesSignature ( ) ;
13401340 }
13411341}
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ module Jwt {
4545
4646 override DataFlow:: Node getOptions ( ) { result = this .getArgument ( 3 ) }
4747
48- override predicate verifies ( ) {
48+ override predicate verifiesSignature ( ) {
4949 not this .getArgument ( 2 ) .getConstantValue ( ) .isBoolean ( false ) and
5050 not this .getAlgorithm ( ) .getConstantValue ( ) .isStringlikeValue ( "none" )
5151 or
Original file line number Diff line number Diff line change 1212private import codeql.ruby.Concepts
1313
1414from JwtDecoding jwtDecoding
15- where not jwtDecoding .verifies ( )
15+ where not jwtDecoding .verifiesSignature ( )
1616select jwtDecoding .getPayload ( ) , "is not verified with a cryptographic secret or public key."
You can’t perform that action at this time.
0 commit comments