| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Hey @luchua-bc, thanks for your contribution. I added some inline comments.
Sorry, something went wrong.
|
Thank @atorralba for reviewing this PR. I've made all requested changes. Please review again when you have a chance. |
Sorry, something went wrong.
|
Thank @smowton for reviewing and approving this PR. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
JWT (JSON Web Token) is an open standard (RFC 7519) that defines a way to provide information within a JSON object between two parties. JWT is widely used for sharing security information between two parties in web applications. Each JWT contains encoded JSON objects, including a set of claims. JWTs are signed using a cryptographic algorithm to ensure that the claims cannot be altered after the token is issued.
The most basic mistake is using hardcoded secrets for JWT generation/verification. This allows an attacker to forge the token if the source code (and JWT secret in it) is publicly exposed or leaked, which leads to authentication bypass or privilege escalation.
Auth0 implementation of JWT is the de facto library used in Java applications. This query detects insecure usage of hardcoded JWT secret keys in both signing and verification.
Please consider to merge the PR. Thanks.