Automated summary
Performs an OWASP Top 10 security audit on a given scope by combining automated scans, grep patterns and a checklist, then produces a severity-ranked report with remediations.
Strengths
- Explicitly walks all 10 OWASP categories with a tickable checklist for each
- Combines several signals: npm audit, secretlint, ESLint security plugin and targeted grep patterns (secrets, SQLi, XSS, eval)
- Delivers a structured output: file:line table, overall risk level and a short/mid-term action plan
- Runs in a forked context with a dedicated model, which suits a long audit pass
Limitations
- Heavily geared toward the JavaScript/TypeScript and npm stack (npm audit, ESLint, *.ts globs) and transfers poorly to other ecosystems
- Static analysis only: no dynamic testing, fuzzing or actual exploitation attempts
- Grep patterns are heuristics and produce false positives that must be triaged by hand
- No compliance mapping (PCI-DSS, GDPR, ISO 27001) is provided
Use it before a production deployment or when you need to verify the security posture of a JS/TS module or service.
Avoid it on a non-Node stack, or when you need dynamic penetration testing rather than a static code review.
Security analysis
CautionThe skill performs legitimate security auditing using Bash and network-capable tools. No destructive, obfuscated, or exfiltrating instructions are present. The main risk is incidental exposure of secrets or dependency on npx package resolution, so caution is appropriate.
- •Uses Bash to execute npm audit, npx secretlint, npx eslint, and grep. These run package managers and network fetches, which could have side effects if the project contains malicious scripts or if npx downloads compromised packages.
- •The secret-search grep patterns may print sensitive values to logs or conversation output, though the skill itself does not exfiltrate them.
Examples
Audite le module auth en OWASP avant qu'on déploie en production, et donne-moi les remédiations par priorité.Run a full OWASP security audit of the payments service: dependencies, secrets, injection and access control.Check src/ for hardcoded secrets, innerHTML/dangerouslySetInnerHTML usage and eval calls, and report file:line with fixes.name: qa-security description: Perform a security audit based on OWASP. Use when the user wants to verify security, look for vulnerabilities, or before a production deployment. allowed-tools:
- Read
- Grep
- Glob
- Bash context: fork model: opus argument-hint: "[scope-or-module]"
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.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/owasp-security-audit-ms1aw550/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/owasp-security-audit-ms1aw550' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/owasp-security-audit-ms1aw550/download' --output '.skill-downloads/owasp-security-audit-ms1aw550/SKILL.md.part' && mv '.skill-downloads/owasp-security-audit-ms1aw550/SKILL.md.part' '.skill-downloads/owasp-security-audit-ms1aw550/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/owasp-security-audit-ms1aw550/SKILL.md' && test -s '.skill-downloads/owasp-security-audit-ms1aw550/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/qa-security' && cp -R '.skill-downloads/owasp-security-audit-ms1aw550' '.claude/skills/qa-security'Cursor
test -f '.skill-downloads/owasp-security-audit-ms1aw550/SKILL.md' && test -s '.skill-downloads/owasp-security-audit-ms1aw550/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/qa-security' && cp -R '.skill-downloads/owasp-security-audit-ms1aw550' '.cursor/skills/qa-security'Codex
test -f '.skill-downloads/owasp-security-audit-ms1aw550/SKILL.md' && test -s '.skill-downloads/owasp-security-audit-ms1aw550/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/qa-security' && cp -R '.skill-downloads/owasp-security-audit-ms1aw550' '.agents/skills/qa-security'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/owasp-security-audit-ms1aw550'openskills read 'owasp-security-audit-ms1aw550'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/owasp-security-audit-ms1aw550/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
DeFi AMM Security
Security
Security checklist for Solidity AMM contracts, liquidity pools, and swap flows. Covers reentrancy, donation attacks, oracle manipulation, slippage, and integer math.
Semgrep Rule Creator
Security
Creates custom Semgrep rules for detecting security vulnerabilities, bug patterns, and code patterns. Includes test-first methodology, taint mode support, and validation steps. Helps when building targeted static analysis detections.
Dev Toolbar Review Guide
Security
Safety rules for the dev toolbar, PostHog client, and feature flags. Use when reviewing changes to dev-tools and related files, covering environment guards, override cookies, and SSE stream safety.