首页/ AI 技能 / @skilllib/skill-2117939930272412106
Skill站外收录 @skilllib/skill-2117939930272412106

authentication-validator

能够对系统中的身份验证机制进行安全性评估,检查 JWT、OAuth、会话及 API 密钥等认证方式的实现缺陷,识别密码策略、令牌管理与多因素认证中的风险,并提供符合行业标准的安全改进建议。

0.0 (0) 21 次安装 原作者 编程导航
收录于 2026-01-22
测试与安全 AI 技能

Skills.MD

## Overview This skill allows Claude to assess the security of authentication mechanisms in a system or application. It provides a detailed report highlighting potential vulnerabilities and offering recommendations for improvement based on established security principles. ## How It Works 1. **Initiate Validation**: Upon receiving a trigger phrase, the skill activates the `authentication-validator` plugin. 2. **Analyze Authentication Methods**: The plugin examines the implemented authentication methods, such as JWT, OAuth, session-based, or API keys. 3. **Generate Security Report**: The plugin generates a comprehensive report outlining potential vulnerabilities and recommended fixes related to password security, session management, token security (JWT), multi-factor authentication, and account security. ## When to Use This Skill This skill activates when you need to: - Assess the security of an application's authentication implementation. - Identify vulnerabilities in password policies and session management. - Evaluate the security of JWT tokens and MFA implementation. - Ensure compliance with security best practices and industry standards. ## Examples ### Example 1: Assessing JWT Security User request: "validate authentication for jwt implementation" The skill will: 1. Activate the `authentication-validator` plugin. 2. Analyze the JWT implementation, checking for strong signing algorithms, proper expiration claims, and audience/issuer validation. 3. Generate a report highlighting any vulnerabilities and recommending best practices for JWT security. ### Example 2: Checking Session Security User request: "authcheck session cookies" The skill will: 1. Activate the `authentication-validator` plugin. 2. Analyze the session cookie settings, including HttpOnly, Secure, and SameSite attributes. 3. Generate a report outlining any potential session fixation or CSRF vulnerabilities and recommending appropriate countermeasures. ## Best Practices - **Password Hashing**: Always use strong hashing algorithms like bcrypt or Argon2 with appropriate salt generation. - **Token Expiration**: Implement short-lived access tokens and refresh token rotation for enhanced security. - **Multi-Factor Authentication**: Encourage or enforce MFA to mitigate the risk of password compromise. ## Integration This skill can be used in conjunction with other security-related plugins to provide a comprehensive security assessment of an application. For example, it can be used alongside a code analysis plugin to identify potential code-level vulnerabilities related to authentication.

评论 0

还没有评论,来抢沙发。