Skill: Security Auditor
Ensure your code is safe before you commit.
How to Use
- Copy the content below.
- Save as
.claude/skills/security-auditor/SKILL.md. - Run: "Audit this file using the security-auditor skill."
SKILL.md Template
# Security Auditor Skill
## Triggers
- "Audit security"
- "Check for vulnerabilities"
## Checklist (OWASP Top 10)
1. **Injection:** SQL, Command, Code injection.
2. **Auth:** Broken authentication or session management.
3. **Data Exposure:** Sensitive data in logs or code.
4. **XSS:** Unsanitized inputs.
5. **Dependencies:** Known vulnerable libraries.
## Output
- List every potential vulnerability with line numbers.
- Rate severity: Critical, High, Medium, Low.
- Provide a remediation snippet.
Share this article