About security-audit
security-audit is a development skill that guides systematic security reviews. It organizes checks across vulnerabilities, dependencies, authentication, and data handling, and asks for severity ratings and remediation steps.
Key features
- 01OWASP Top 10 and vulnerability checks
- 02Dependency vulnerability and age checks
- 03Authentication and session review
- 04Input validation and secret handling
- 05Severity ratings and remediation guidance
Use cases
- 01Reviewing code for common vulnerabilities
- 02Checking dependencies for known issues
- 03Assessing authentication and session controls
- 04Documenting findings with fixes
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ s-hiraoku/ synapse-a2a --skill security-auditAfter installing, type/security-auditin Claude Code to confirm it loaded.
Details
From the project READMESecurity Audit Skill
This skill provides a comprehensive framework for security auditing, ensuring that common vulnerabilities are identified and addressed during development and review.
Audit Checklist
1. OWASP Top 10 & Common Vulnerabilities
- Injection: Check for SQL, Command, or NoSQL injection points. Ensure parameterized queries or proper escaping is used.
- Broken Access Control: Verify that users cannot access resources outside of their intended permissions.
- Insecure Design: Evaluate the overall architecture for security flaws.
- Cryptographic Failures: Ensure sensitive data (passwords, PII) is encrypted at rest and in transit using modern algorithms (e.g., AES-256, TLS 1.3).
2. Dependency Management
- Vulnerability Scanning: Check for known vulnerabilities in third-party libraries (e.g., using
npm audit,pip-audit, orsnyk). - Outdated Packages: Identify and update significantly outdated dependencies.
3. Authentication & Authorization
- Credential Management: Ensure passwords are never stored in plain text (use Argon2, bcrypt, or scrypt).
- Session Management: Verify secure session handling (HttpOnly, Secure, SameSite flags for cookies).
- MFA/2FA: Check for the implementation or requirement of multi-factor authentication where appropriate.
4. Input Validation & Data Handling
- Sanitization: Validate and sanitize all user-supplied data at the trust boundary.
- Encoding: Ensure output encoding is used to prevent Cross-Site Scripting (XSS).
- Secret Management: Confirm that API keys, secrets, and credentials are NOT committed to the repository (use environment variables or secret managers).
Usage Guidelines
When asked to "audit" or "perform a security review":
- Systematically go through each category above.
- For each finding, categorize it by severity (Critical, High, Medium, Low).
- Provide clear remediation steps for every identified issue.
- Document any positive security practices already in place.
Comments
Markdown supported