-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java: JWT decoding without verification [smowton fork] #17020
Conversation
QHelp previews: java/ql/src/experimental/Security/CWE/CWE-347/Auth0NoVerifier.qhelperrors/warnings:
|
PayloadType() { this.hasQualifiedName("com.auth0.jwt.interfaces", "Payload") } | ||
} | ||
|
||
class JWTType extends RefType { |
Check warning
Code scanning / CodeQL
Acronyms should be PascalCase/camelCase. Warning
JWTType() { this.hasQualifiedName("com.auth0.jwt", "JWT") } | ||
} | ||
|
||
class JWTVerifierType extends RefType { |
Check warning
Code scanning / CodeQL
Acronyms should be PascalCase/camelCase. Warning
*/ | ||
|
||
import java | ||
import semmle.code.java.dataflow.DataFlow |
Check warning
Code scanning / CodeQL
Redundant import Warning
semmle.code.java.dataflow.FlowSources
Original PR now merged. |
This is a polishing/stabilisation fork of #14089 -- discussion should happen there