Token Signature Attacks
Talk it through out loud with your AI coach.
The problem
- medium
- Pro
A penetration tester forged valid-looking JSON Web Tokens against your API. Explain the classic attacks on how these tokens are signed and verified, and how to configure verification so they fail.
What a strong answer covers
- The well-known ways token verification has been tricked.
- Why guessable secrets are a risk.
- Who should decide how a token is checked.
- Configuring verification so forged tokens fail.
Common mistake: Letting fields inside the token decide how the server verifies it.
Knowing this is half of it. Saying it clearly out loud is the part the coach helps you practise.
Practise it out loud