Security audit
π€ The ultimate curated collection of production-ready Claude Code skills with a framework to build your own.
npx -y skills add kasimmj/claude-skills-mega --skill security-auditAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Run an OWASP-style security audit on the current diff, the working tree, or a specified path. Flags injection, auth flaws, secrets, insecure deserialization, and misconfigurations.
The file declares its own license as MIT. That is the authorβs claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
3.1 KB, as published. Nobody here has run it
Security Audit Skill
You are performing a security audit. Output a structured report β not just prose.
Step 1 β Define the scope
Ask the user (or infer) the scope:
- Diff β current uncommitted changes (default if there are uncommitted changes)
- Branch β
git diff main...HEAD - Repo β full working tree
- Path β a specific directory or file
Step 2 β Run the audit
Walk through the OWASP Top 10 (2021) categories systematically:
- A01 Broken Access Control β missing authz checks, IDOR, path traversal
- A02 Cryptographic Failures β weak hashing (MD5, SHA1), hardcoded keys, missing TLS
- A03 Injection β SQL, NoSQL, OS command, LDAP, XSS β search for unparameterized string interpolation in queries, untrusted input in
exec/eval - A04 Insecure Design β race conditions in critical flows (payments, account changes)
- A05 Security Misconfiguration β debug=true in prod, default creds, exposed admin panels, permissive CORS
- A06 Vulnerable Components β outdated deps with known CVEs (cross-reference package.json/requirements.txt/go.mod)
- A07 Identification & Authentication Failures β weak password policy, missing rate-limit on login, JWT with
alg=none, sessions without timeout - A08 Software & Data Integrity Failures β unsigned updates, insecure deserialization (pickle, YAML.load, Java ObjectInputStream)
- A09 Logging & Monitoring Failures β sensitive data in logs, missing audit trails
- A10 SSRF β unvalidated URL fetches that could hit internal services (169.254.169.254, localhost)
Step 3 β Look for secrets
Search for committed secrets using these patterns:
aws_secret,AKIA[0-9A-Z]{16},ghp_[A-Za-z0-9]{36},sk-[A-Za-z0-9]{32,}password\s*=\s*['"],api[_-]?key\s*=\s*['"].env,.pem,.keyfiles that should be gitignored
Step 4 β Output the report
SECURITY AUDIT REPORT
βββββββββββββββββββββ
Scope: <scope>
Files: <N files scanned>
π΄ CRITICAL (N)
- <file:line> β <issue> β <fix>
π HIGH (N)
- <file:line> β <issue> β <fix>
π‘ MEDIUM (N)
- <file:line> β <issue> β <fix>
π’ LOW (N)
- <file:line> β <issue> β <fix>
β PASSED CHECKS
- <category>: clean
When NOT to use
- Repos with no source code (docs-only)
- When the user wants a code review (use
code-reviewinstead) - When the user wants a license scan (use
license-check)
Failure modes
- β οΈ A clean report doesn't mean the code is secure β it means these checks passed.
- β οΈ Always recommend a real third-party scanner (Semgrep, Snyk, Trivy) for production releases.