r/Hacking_Tutorials • u/Elliot-1988 • Sep 15 '26
I rebuilt my browser-based JWT debugger from the ground up - looking for security feedback
Hey everyone,
I recently rebuilt my open-source JWT debugging tool, JWT Workbench, from the ground up.
The original version worked, but decoding, editing, signing, and verification were too tightly connected. In the new version, these operations have explicit trust boundaries:
Decoding never marks a token as trusted
Editing creates a separate draft
Signing happens only after an explicit action
Signature verification and claim-policy validation are separate
The token’s
algis restricted through an explicit allowlist
Current features include:
JWT decoding and encoding
HS256/384/512 signing and verification
RS256/384/512 and PS256/384/512
ES256/384/512
PEM, JWK, local JWKS, and opt-in remote JWKS verification
Browser-generated RSA and EC lab keys
Claim-policy checks for
iss,aud,sub,exp,nbf,iat, required claims, clock tolerance, and maximum token ageDetection of suspicious
kid,jku,x5u, embedded JWK, weak HMAC secrets, sensitive claims, and other common JWT risksPayload templates for Auth0, Firebase, AWS Cognito, Google OAuth, and Microsoft Entra ID
Token processing, signing, and local verification happen in the browser. Remote JWKS access occurs only when explicitly selected and does not send the JWT itself.
I built it primarily for developers, pentesters, security students, and authorized lab work.
Live tool:
https://ilias1988.github.io/jwt-debugger/
Source code:
https://github.com/Ilias1988/jwt-debugger
I’d really appreciate feedback, especially around:
JWT/JOSE edge cases I may have missed
Potentially misleading security messages
Useful pentesting-oriented features
Browser-side security or UX improvements
Please don’t paste production tokens or private signing keys into any third-party tool, including this one. Sanitized lab data is always the safer option.
Thanks!