qa-security
Performs an automated security audit to identify common vulnerabilities and misconfigurations.
Install
mkdir -p .claude/skills/qa-security && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18235" && unzip -o skill.zip -d .claude/skills/qa-security && rm skill.zipInstalls to .claude/skills/qa-security
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Perform a security audit based on OWASP. Use when the user wants to verify security, look for vulnerabilities, or before a production deployment.Key capabilities
- →Perform automated security scans
- →Check against OWASP Top 10 checklist
- →Search for potential secrets and injections
- →Recommend security headers
- →Propose concrete remediations for vulnerabilities
How it works
The skill performs automated scans and checks the codebase against the OWASP Top 10 checklist, searching for specific patterns like secrets and injections, then generates a report with prioritized recommendations.
Inputs & outputs
When to use qa-security
- →Perform security audit
- →Check OWASP compliance
- →Scan for exposed secrets
About this skill
Security Audit
Objective
Identify security vulnerabilities based on OWASP Top 10.
Instructions
1. Automated scan
# npm dependency audit
npm audit --audit-level=moderate
# Secret search
npx secretlint "**/*"
# Static security analysis
npx eslint --plugin security src/
2. OWASP Top 10 Checklist
A01 - Broken Access Control
- Authorization checks on every endpoint
- No IDOR (direct access via predictable IDs)
- CORS correctly configured
- Principle of least privilege
A02 - Cryptographic Failures
- Sensitive data encrypted (at rest + in transit)
- No secrets in code
- Secure hash algorithms (bcrypt, argon2)
- TLS/HTTPS enforced
A03 - Injection
- SQL: Parameterized queries / ORM
- XSS: HTML output escaping
- Command injection: No shell with user input
- NoSQL: Query validation
A04 - Insecure Design
- Server-side validation (not just client)
- Rate limiting on sensitive endpoints
- Environment separation
A05 - Security Misconfiguration
- Security headers (CSP, X-Frame-Options)
- No stack traces in production
- Correct file permissions
A06 - Vulnerable Components
-
npm auditwith no critical vulnerabilities - Dependencies maintained and up to date
A07 - Authentication Failures
- Passwords hashed correctly
- Protection against brute force
- Secure sessions (httpOnly, secure, sameSite)
A08 - Data Integrity Failures
- Validation of incoming data
- Secure deserialization
A09 - Logging Failures
- Logs of security events
- No sensitive data in logs
A10 - SSRF
- Validation of user URLs
- Whitelist of allowed domains
3. Search patterns
# Potential secrets
grep -rn "password\s*=" --include="*.ts"
grep -rn "api_key\s*=" --include="*.ts"
grep -rn "secret\s*=" --include="*.ts"
# Potential SQL Injection
grep -rn "query.*\$\{" --include="*.ts"
grep -rn "execute.*\+" --include="*.ts"
# Potential XSS
grep -rn "innerHTML" --include="*.tsx"
grep -rn "dangerouslySetInnerHTML" --include="*.tsx"
# Dangerous eval
grep -rn "eval(" --include="*.ts"
grep -rn "new Function(" --include="*.ts"
4. Recommended security headers
// Express with Helmet
app.use(helmet({
contentSecurityPolicy: {
directives: {
defaultSrc: ["'self'"],
scriptSrc: ["'self'"],
styleSrc: ["'self'", "'unsafe-inline'"],
imgSrc: ["'self'", "data:", "https:"],
}
},
hsts: { maxAge: 31536000, includeSubDomains: true }
}));
Expected output
## Security Report
### Summary
- **Overall risk level**: [Critical/High/Medium/Low]
- **Vulnerabilities found**: X
- **Vulnerable dependencies**: Y
### Critical vulnerabilities
| Severity | Category | File:Line | Description | Remediation |
|----------|----------|-----------|-------------|-------------|
| CRITICAL | A03 | auth.ts:45 | SQL injection | Parameterized query |
### Important vulnerabilities
[...]
### Priority recommendations
1. [Immediate action]
2. [Short term]
3. [Medium term]
### Dependencies to update
| Package | Version | Vulnerability | Severity |
|---------|---------|---------------|----------|
| lodash | 4.17.19 | Prototype pollution | High |
Rules
- IMPORTANT: Check all 10 OWASP categories
- IMPORTANT: Prioritize by severity
- YOU MUST propose concrete remediations
- NEVER ignore critical vulnerabilities
Think hard about every potential attack vector.
See also
Two community sources complement this skill:
agamm/claude-code-owasp(171★, last commit 2026-04-28) — covers OWASP Top 10:2025, ASVS 5.0, and 20 language-specific quirks. Independent author. Adoption is modest at the time of this audit; the value is in pointing to a faithful implementation of the canonical OWASP standard rather than in popularity.semgrepofficial Claude plugin — Semgrep is an independent security company; their plugin integrates the static-analysis engine into Claude Code sessions for automated scanning.
When working on a security audit, install one or both alongside this skill. This skill captures the manual review workflow (when to invoke, what to escalate, blocking criteria); the OWASP skill captures the canonical attack catalogue with current 2025-2026 categories; the Semgrep plugin adds the automated scanner layer.
Install command and full list of validated vendor skills: docs/recipes/recommended-vendor-skills.md. Audit pilot trace: specs/marketplace-audit/qa-skills-pilot-2026-05-06.md.
When not to use it
- →When the user does not want to verify security or look for vulnerabilities
- →When the user is not preparing for a production deployment
Limitations
- →Requires manual review for all 10 OWASP categories
- →Prioritization of vulnerabilities is based on severity
- →Cannot ignore critical vulnerabilities
How it compares
This skill provides a structured, OWASP-based security audit with automated checks and concrete remediation proposals, unlike a general code review or manual vulnerability search.
Compared to similar skills
qa-security side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| qa-security (this skill) | 0 | 16d | Review | Intermediate |
| codebase-cleanup-deps-audit | 2 | 3mo | No flags | Intermediate |
| security-audit | 0 | 2mo | No flags | Advanced |
| dependency-audit | 0 | 3mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
codebase-cleanup-deps-audit
sickn33
You are a dependency security expert specializing in vulnerability scanning, license compliance, and supply chain security. Analyze project dependencies for known vulnerabilities, licensing issues, outdated packages, and provide actionable remediation strategies.
security-audit
hiroshiyui
Perform a project-wide security and safety audit of the 5thPlanet workspace.
dependency-audit
hadsie
Audit Python dependencies for vulnerabilities, outdated
contrib-pr-review
homeassistant-ai
Review a contribution PR for safety, quality, and readiness. Checks for security concerns, test coverage, size appropriateness, and intent alignment. Use when reviewing external contributions.
verifier
oleyna80
Pre-merge quality gate. Use to verify code is ready to ship: route contracts (status, Content-Type, body), TypeScript, tests, CSP/CSRF headers, schema alignment, secret leak scan. Issues structured READY or BLOCKED verdict with file:line evidence. Read-only. Для верификации, проверки перед мержем, и
senior-security
davila7
Comprehensive security engineering skill for application security, penetration testing, security architecture, and compliance auditing. Includes security assessment tools, threat modeling, crypto implementation, and security automation. Use when designing security architecture, conducting penetration tests, implementing cryptography, or performing security audits.