/cybersecurity-skills-zh:implementing-jwt-signing-and-verificationfrom cybersecurity-skills-zh
Implements JWT signing and verification with HMAC-SHA256, RSA-PSS, and EdDSA. Covers token expiration, claim validation, and defense against algorithm confusion, none algorithm, and key injection attacks.
Ships in cybersecurity-skills-zh. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
RFC 7519 定义的 JSON Web Token(JWT)是用于 Web 应用程序认证和授权的紧凑、URL 安全的令牌。本技能涵盖使用 HMAC-SHA256、RSA-PSS 和 EdDSA 算法实现安全的 JWT 签名,以及验证、令牌过期、声明验证,并防御常见 JWT 攻击(算法混淆、none 算法、密钥注入)。
| 算法 | 类型 | 密钥 | 安全级别 |
|---|---|---|---|
| HS256 | 对称(HMAC) | 共享密钥 | 128 位 |
| RS256 | 非对称(RSA) | RSA 密钥对 | 112 位 |
| ES256 | 非对称(ECDSA) | P-256 密钥对 | 128 位 |
| EdDSA | 非对称(Ed25519) | Ed25519 密钥对 | 128 位 |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub killvxk/cybersecurity-skills-zh --plugin cybersecurity-skills-zh735 skills in this plugin
/acquiring-disk-image-with-dd-and-dcfldd使用 dd 和 dcfldd 创建取证级逐位磁盘镜像,通过哈希验证保持证据完整性。/analyzing-active-directory-acl-abuse使用 ldap3 检测 Active Directory 中危险的 ACL 配置错误,识别 GenericAll、WriteDACL 和 WriteOwner 等滥用路径/analyzing-android-malware-with-apktool使用 apktool 进行反编译、jadx 恢复 Java 源码、androguard 进行权限分析,对 Android APK 恶意软件样本执行静态分析,包括清单检查和可疑 API 调用检测。Other plugins' skills for the same job