class

Crowbar::Rules::JWTRule

Inherits Crowbar::Rule < Reference < Object

Structure-preserving rule for JSON Web Tokens (RFC 7519). Decodes header, payload, and signature segments, performs security-focused mutations (algorithm confusion, claim boundary testing, kid injection, privilege escalation, signature tampering), and re-encodes as valid Base64URL.

Instance methods

apply(context : Context, buffer : Buffer) : Bool

Applies a structure-preserving transformation to the buffer

Source
description
Source
match?(buffer : Buffer) : Bool

Checks whether the buffer matches the format handled by this rule

Source
name
Source