cyberchef_jwt_weakness
Inspect a JWT and identify security weaknesses: algorithm bypasses, empty signatures, CVE-2022-21449, weak known secrets, and invalid claims, using only the token itself.
Instructions
Report everything wrong with a JWT that can be established from the token alone. JWT Verify answers whether a signature is valid under a key you supply, which is a different question: alg: none has no signature to verify and one signed with secret verifies perfectly. Checks the algorithm (including the case and Unicode-escape variants that bypass naive filters), an empty signature, the ECDSA psychic signature (CVE-2022-21449), quickstart secrets, and the standard claims. Headers that only matter because of what a SERVER does with them — jku, jwk, x5u, kid — are reported as present, never as confirmed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The JWT, in compact serialisation. | |
| secrets | No | Extra HMAC secrets to try, in addition to the built-in quickstart list. This is a configuration check, not a cracking run — for a wordlist use hashcat mode 16500. | |
| now_seconds | No | Unix time to evaluate exp and nbf against. Defaults to the current time. |