From cybersec-toolkit
Implements secure JWT signing with HS256, RS256, ES256, EdDSA; verifies signatures, claims, expiration; defends against algorithm confusion, none alg, key injection attacks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cybersec-toolkit: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 26zl/cybersec-toolkit --plugin cybersec-toolkitImplements JWT signing and verification with HS256, RS256, ES256, and EdDSA, including claims validation, expiration, and defense against algorithm confusion and none algorithm 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.
Implements secure JWT signing using HMAC-SHA256, RSA-PSS, EdDSA and verification with expiration, claims checks, JWK rotation, and defenses against algorithm confusion, none alg, key injection. Useful for web auth.