JWT Decoder & Security Checker
Decode JWT headers and payloads locally in your browser with live expiry countdown, alg:none and kid injection checks, PII detection, 10,000+ weak HS256 secret testing, and PEM/JWK/JWKS signature verification.
ResearchCase study: The Unread Authorization Header (70,000+ KYC records) →How this check works
Does my JWT ever leave my browser when I paste it here?
No. Decoding, static security auditing, 17,198-secret HS256 testing, and HMAC/PEM/JWK signature verification all execute 100% locally inside your browser using the native Web Crypto API. If you optionally use the JWKS URL tab, Breachger only fetches the public HTTPS JWKS JSON to avoid browser CORS restrictions – your JWT itself is never sent to any server.
Why is "alg": "none" a critical JWT vulnerability?
RFC 7519 defined an "unsecured JWT" format with "alg": "none" and an empty signature. If a backend calls a JWT verification library without explicitly allow-listing the expected signing algorithm, an attacker can change the header to "alg": "none", strip the signature, escalate claims like "role": "admin", and bypass authentication completely.
What is HS256 / RS256 algorithm confusion?
When an API expects asymmetric RS256 tokens verified with an RSA public key, a misconfigured verifier that trusts the token header's "alg" field can be tricked into accepting an HS256 token signed with the server's public RSA key bytes treated as an HMAC secret. Always pin a single expected algorithm family server-side instead of reading "alg" from untrusted tokens.
How can an injectable "kid" (Key ID) header compromise authentication?
Many backends look up signing keys in a SQL table or on the filesystem using the untrusted "kid" header parameter. Without strict allow-list validation, SQL injection (such as "' UNION SELECT 'known_key' --") or path traversal ("../../dev/null") lets an attacker force the verifier to validate the signature against a predictable key they control.
Why does the tool test HS256 tokens against 10,000+ common secrets?
Because HS256 signatures are verified offline with a single HMAC-SHA256 pass, any token signed with a tutorial default ("secret", "your-256-bit-secret", "supersecret", "changeme") or predictable app name can be cracked in milliseconds from a single captured JWT. Once cracked, an attacker can mint arbitrary tokens for any user. Use at least 256 bits of cryptographic randomness or migrate to asymmetric ES256 / EdDSA signing.
Why are email addresses, phone numbers, or API keys flagged in the payload?
Standard JWS JWTs are Base64URL-encoded, not encrypted – anyone who sees the token in browser localStorage, reverse-proxy logs, error trackers, or Referer headers can read every claim without the signing key. Keep claims minimal (opaque user IDs and short lifetimes) or use JWE encryption when confidential data must travel inside a token.
More security tools from Breachger
Post-Quantum TLS Checker
Test up to 10 domains live for TLS 1.3 post-quantum hybrid key exchange (X25519MLKEM768, draft X25519Kyber768, and classic X25519), certificate key type, CDN detection, and copy-paste remediation snippets.
Open tool →Penetration Testing Cost Calculator
Estimate low, typical, and high pentest pricing and timelines from your real scope, compliance drivers, and urgency – backed by cited 2026 public market benchmarks and a side-by-side model comparison.
Open tool →Security Headers, CSP & CORS Scanner
Grade any public URL (A–F) across HSTS preload, Google CSP Evaluator-style directive checks, CORS misconfigurations, framing, cookies, and version disclosure – with nginx, Vercel, Cloudflare, Express fixes and a starter CSP generator.
Open tool →CVSS 3.1 & 4.0 Calculator
Calculate exact FIRST.org CVSS v3.1 and v4.0 base scores with plain-English metric guides, shareable vector URLs, approximate 3.1-to-4.0 conversion with caveats, and a "Describe your finding" metric helper.
Open tool →Found weak auth or JWT gaps? Test every API route automatically.
Breachger's $2,500 Single-App Proven Audit tests your entire web app and APIs for authentication bypasses, algorithm confusion, IDOR, and broken authorization in 24 hours – with verified exploit proofs and ready-to-merge fixes.