Configures secure OAuth 2.0 authorization flows including PKCE-augmented auth code, client credentials, and device grants. Covers PKCE implementation, token lifecycle management, scopes, and OAuth 2.1 compliance.
npx claudepluginhub killvxk/cybersecurity-skills-zhThis skill uses the workspace's default tool permissions.
配置安全的 OAuth 2.0 授权流程,包括带 PKCE(Proof Key for Code Exchange)的授权码流、客户端凭据和设备授权授予。本技能涵盖流程选择、PKCE 实施、令牌生命周期管理、范围设计以及符合 OAuth 2.1 安全要求。
Configures secure OAuth 2.0 flows including Authorization Code with PKCE, Client Credentials, and Device Grant. Covers PKCE, token lifecycle, scopes, and OAuth 2.1 best practices.
Configures secure OAuth 2.0 authorization flows: Authorization Code with PKCE, Client Credentials, Device Grant. Covers PKCE implementation, token lifecycle, scopes, and OAuth 2.1 best practices for IAM.
Implements OAuth 2.0/OpenID Connect flows (Authorization Code + PKCE, Client Credentials, Refresh) for web/SPA/service auth. Express.js examples; Flask/Spring refs.
Share bugs, ideas, or general feedback.
配置安全的 OAuth 2.0 授权流程,包括带 PKCE(Proof Key for Code Exchange)的授权码流、客户端凭据和设备授权授予。本技能涵盖流程选择、PKCE 实施、令牌生命周期管理、范围设计以及符合 OAuth 2.1 安全要求。
PKCE(RFC 7636)防止授权码拦截攻击:
code_verifier(43-128 个字符,不保留 URI 字符)code_challenge = BASE64URL(SHA256(code_verifier))code_challenge 和 code_challenge_method=S256code_verifierSHA256(code_verifier) 与存储的 code_challenge 匹配read:users、write:orders、admin:settings| 控制项 | NIST 800-53 | 描述 |
|---|---|---|
| 访问控制 | AC-3 | 基于令牌的访问执行 |
| 认证 | IA-5 | 客户端凭据管理 |
| 会话管理 | SC-23 | 令牌生命周期管理 |
| 审计 | AU-3 | 记录所有令牌颁发和撤销 |
| 加密保护 | SC-13 | PKCE 和令牌签名 |