ToolsT-12 · WebCrypto, ASN.1 DER & Header Security
JWT, RFC 7638 JWK/SRI, X.509 & CSP Inspector
Decode JWT Base64URL headers and claims for alg:none, key injection, and expiration checks, compute canonical RFC 7638 JWK thumbprints and WebCrypto SHA-256/384/512 Subresource Integrity tags, parse X.509 PEM DER certificates, and audit HTTP Content-Security-Policy directives locally inside browser RAM with zero server transmission and JSON export.
RAM + WEBCRYPTO · ZERO UPLOAD
JWT Risk Level
—
RFC 7638 JWK
—
X.509 Status
—
CSP Grade
—
RFC 7638 Thumbprint & SRI Integrity Equations
RFC 7638 derives a deterministic key fingerprint from the UTF-8 lexicographically sorted canonical JSON of required JWK members, while W3C Subresource Integrity encodes SHA-384 digests in standard Base64:
Related security instruments: check CycloneDX 1.6 SBOM & EU CRA Auditor or Unicode Trojan Source & ReDoS Lab.
Cryptographic & Header Standards Matrix
| Artifact | Primary Standard | Critical Risks Checked |
|---|---|---|
| JWT / JWS | IETF RFC 7519 / 8725 | alg:none, embedded jwk/jku, kid traversal, exp/nbf |
| JWK & SRI | RFC 7638 / W3C SRI | Canonical member sorting & SHA-256/384/512 digests |
| X.509 PEM | IETF RFC 5280 DER | Expired validity, SHA-1 sigs, SANs, key curves |
| HTTP CSP | W3C CSP Level 3 | unsafe-inline, unsafe-eval, *, http:, missing frame-ancestors |
[FAQ // VERIFIED SPECIFICATION]
JWT, JWK Thumbprint, X.509 & CSP Security FAQ
04 ENTRIES · VISIBLE DOM PARITY
- Why is pasting production JWTs or PEM files into online web decoders dangerous?
- Unencrypted Base64URL JWT payloads often carry session claims, internal user IDs, scopes, and email addresses, while server-backed decoders log HTTP request bodies. Running Base64URL decoding, ASN.1 DER X.509 parsing, and WebCrypto digests strictly inside browser RAM guarantees zero network exposure of bearer tokens.
- What does an alg:none JWT attack mean and why does this inspector flag it?
- RFC 7519 allows unsecured JWTs with header alg:"none" and an empty signature segment. Vulnerable verifiers that accept token-supplied algorithms without allowlist pinning allow attackers to forge arbitrary admin payloads. Production verifiers must explicitly reject alg:"none" and match expected asymmetric or HMAC algorithms.
- How is an RFC 7638 JWK Thumbprint computed deterministically?
- RFC 7638 §3.2 extracts only the required key members for the key type (crv, kty, x, y for EC; e, kty, n for RSA; crv, kty, x for OKP; k, kty for oct), serializes them as compact JSON sorted in UTF-8 lexicographic order with zero whitespace, and Base64URL-encodes the SHA-256 digest.
- Which Content-Security-Policy directives create the highest XSS and clickjacking risk?
- Allowing unsafe-inline or unsafe-eval inside script-src without cryptographic nonces or hashes permits arbitrary inline script injection. Wildcards (*), unencrypted http: schemes, data: script URLs, and missing object-src, base-uri, or frame-ancestors directives further weaken XSS and UI-redressing defenses.