Initial commit
This commit is contained in:
15
.claude-plugin/plugin.json
Normal file
15
.claude-plugin/plugin.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"name": "authentication-validator",
|
||||
"description": "Validate authentication implementations",
|
||||
"version": "1.0.0",
|
||||
"author": {
|
||||
"name": "Jeremy Longshore",
|
||||
"email": "[email protected]"
|
||||
},
|
||||
"skills": [
|
||||
"./skills"
|
||||
],
|
||||
"commands": [
|
||||
"./commands"
|
||||
]
|
||||
}
|
||||
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# authentication-validator
|
||||
|
||||
Validate authentication implementations
|
||||
8
commands/validate-auth.md
Normal file
8
commands/validate-auth.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
description: DESCRIPTION_PLACEHOLDER
|
||||
shortcut: SHORTCUT_PLACEHOLDER
|
||||
---
|
||||
|
||||
# TITLE_PLACEHOLDER
|
||||
|
||||
CONTENT_PLACEHOLDER
|
||||
61
plugin.lock.json
Normal file
61
plugin.lock.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"$schema": "internal://schemas/plugin.lock.v1.json",
|
||||
"pluginId": "gh:jeremylongshore/claude-code-plugins-plus:plugins/security/authentication-validator",
|
||||
"normalized": {
|
||||
"repo": null,
|
||||
"ref": "refs/tags/v20251128.0",
|
||||
"commit": "20c4e235ea1c7aeee82651f3268a470fabf287ee",
|
||||
"treeHash": "934406afcf2897f4d56d89889818b5525acecfe83a591ba7d230b20d44a874bf",
|
||||
"generatedAt": "2025-11-28T10:18:10.366963Z",
|
||||
"toolVersion": "publish_plugins.py@0.2.0"
|
||||
},
|
||||
"origin": {
|
||||
"remote": "git@github.com:zhongweili/42plugin-data.git",
|
||||
"branch": "master",
|
||||
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
|
||||
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
|
||||
},
|
||||
"manifest": {
|
||||
"name": "authentication-validator",
|
||||
"description": "Validate authentication implementations",
|
||||
"version": "1.0.0"
|
||||
},
|
||||
"content": {
|
||||
"files": [
|
||||
{
|
||||
"path": "README.md",
|
||||
"sha256": "549ecb5510f5b1a3d4ca84fa1926a5c8376e606bec28653967498d0668bfed99"
|
||||
},
|
||||
{
|
||||
"path": ".claude-plugin/plugin.json",
|
||||
"sha256": "9a872b1daadee7f09a664dbfaf4bd0694b5e3bdc4c7ad2b04b8210971b04d3a6"
|
||||
},
|
||||
{
|
||||
"path": "commands/validate-auth.md",
|
||||
"sha256": "26981dafecd0bda9d89082c091325c9fdc3ac197318243e952dde0b1a38f4088"
|
||||
},
|
||||
{
|
||||
"path": "skills/authentication-validator/SKILL.md",
|
||||
"sha256": "6121badf055d89a4a385c887e93bcbd62a341eb3df517ddab59fe56221575a27"
|
||||
},
|
||||
{
|
||||
"path": "skills/authentication-validator/references/README.md",
|
||||
"sha256": "3aecdb6ebda38821877d4878f4460e535697256baffc7cc4fc022f7bc171f7b5"
|
||||
},
|
||||
{
|
||||
"path": "skills/authentication-validator/scripts/README.md",
|
||||
"sha256": "a77fa70ea377938c0dea0cabaf485fdf99fc746875b46974fefe1ec9b2693c87"
|
||||
},
|
||||
{
|
||||
"path": "skills/authentication-validator/assets/README.md",
|
||||
"sha256": "51ca9bce1afb68da48278f468a3f77e33ac20da3bfe833047fb8350db5135e76"
|
||||
}
|
||||
],
|
||||
"dirSha256": "934406afcf2897f4d56d89889818b5525acecfe83a591ba7d230b20d44a874bf"
|
||||
},
|
||||
"security": {
|
||||
"scannedAt": null,
|
||||
"scannerVersion": null,
|
||||
"flags": []
|
||||
}
|
||||
}
|
||||
55
skills/authentication-validator/SKILL.md
Normal file
55
skills/authentication-validator/SKILL.md
Normal file
@@ -0,0 +1,55 @@
|
||||
---
|
||||
name: validating-authentication-implementations
|
||||
description: |
|
||||
This skill enables Claude to validate authentication implementations against security best practices and industry standards. It analyzes various authentication methods, including JWT, OAuth, session-based authentication, and API keys. Use this skill when you need to perform an authentication security check, assess password policies, evaluate MFA implementation, or analyze session security. Trigger this skill with phrases like "validate authentication," "authentication check," or "authcheck."
|
||||
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
|
||||
version: 1.0.0
|
||||
---
|
||||
|
||||
## 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.
|
||||
6
skills/authentication-validator/assets/README.md
Normal file
6
skills/authentication-validator/assets/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# Assets
|
||||
|
||||
Bundled resources for authentication-validator skill
|
||||
|
||||
- [ ] report_template.md: Markdown template for generating authentication security reports.
|
||||
- [ ] example_jwt.json: Example JWT token for analysis.
|
||||
7
skills/authentication-validator/references/README.md
Normal file
7
skills/authentication-validator/references/README.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# References
|
||||
|
||||
Bundled resources for authentication-validator skill
|
||||
|
||||
- [ ] owasp_authentication_cheatsheet.md: Detailed guidance from OWASP on authentication best practices.
|
||||
- [ ] nist_password_guidelines.md: NIST guidelines on password security.
|
||||
- [ ] jwt_rfc.md: RFC document for JWT specifications.
|
||||
7
skills/authentication-validator/scripts/README.md
Normal file
7
skills/authentication-validator/scripts/README.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# Scripts
|
||||
|
||||
Bundled resources for authentication-validator skill
|
||||
|
||||
- [ ] authentication_check.py: Automates the authentication validation process, generating a detailed report based on predefined security checks.
|
||||
- [ ] password_policy_check.py: Script to evaluate password policies against defined criteria (length, complexity, history).
|
||||
- [ ] jwt_analyzer.py: Analyzes JWT tokens, extracting claims and validating signatures.
|
||||
Reference in New Issue
Block a user