Find unsigned JWT usage
ProprietaryFinds construction or parsing of Nimbus PlainJWT — an unsecured JWT that has no signature or MAC. Unsecured JWTs allow an attacker to forge tokens because their payloads are not integrity-protected. Use a signed (SignedJWT) or encrypted (EncryptedJWT) JWT instead.
org. openrewrite. java. security. search. FindUnsignedJwtmod run . --recipe= org. openrewrite. java. security. search. FindUnsignedJwtInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.