From cybersecurity-skills
Implements JWT signing and verification with HS256, RS256, ES256, and EdDSA, including claims validation, expiration, and defense against algorithm confusion and none algorithm attacks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cybersecurity-skills:implementing-jwt-signing-and-verificationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
JSON Web Tokens (JWT) defined in RFC 7519 are compact, URL-safe tokens used for authentication and authorization in web applications. This skill covers implementing secure JWT signing with HMAC-SHA256, RSA-PSS, and EdDSA algorithms, along with verification, token expiration, claims validation, and defense against common JWT attacks (algorithm confusion, none algorithm, key injection).
JSON Web Tokens (JWT) defined in RFC 7519 are compact, URL-safe tokens used for authentication and authorization in web applications. This skill covers implementing secure JWT signing with HMAC-SHA256, RSA-PSS, and EdDSA algorithms, along with verification, token expiration, claims validation, and defense against common JWT attacks (algorithm confusion, none algorithm, key injection).
| Algorithm | Type | Key | Security Level |
|---|---|---|---|
| HS256 | Symmetric (HMAC) | Shared secret | 128-bit |
| RS256 | Asymmetric (RSA) | RSA key pair | 112-bit |
| ES256 | Asymmetric (ECDSA) | P-256 key pair | 128-bit |
| EdDSA | Asymmetric (Ed25519) | Ed25519 pair | 128-bit |
npx claudepluginhub mukul975/anthropic-cybersecurity-skills --plugin cybersecurity-skillsImplements secure JWT signing with HS256, RS256, ES256, EdDSA; verifies signatures, claims, expiration; defends against algorithm confusion, none alg, key injection attacks.
Implements secure JWT signing and verification with HMAC-SHA256, RSA-PSS, EdDSA, and defense against algorithm confusion, none algorithm, and key injection attacks.
Implements secure JWT signing with HS256, RS256, ES256, EdDSA and verification in Python, including expiration, claims validation, key rotation, and defenses against algorithm confusion, none alg, key injection.