agentsclimarketplace

Security audit

Skill kasimmj/claude-skills-mega/skills/security-audit

πŸ€– The ultimate curated collection of production-ready Claude Code skills with a framework to build your own.

Install
npx -y skills add kasimmj/claude-skills-mega --skill security-audit

Assembled 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:

  1. A01 Broken Access Control β€” missing authz checks, IDOR, path traversal
  2. A02 Cryptographic Failures β€” weak hashing (MD5, SHA1), hardcoded keys, missing TLS
  3. A03 Injection β€” SQL, NoSQL, OS command, LDAP, XSS β€” search for unparameterized string interpolation in queries, untrusted input in exec/eval
  4. A04 Insecure Design β€” race conditions in critical flows (payments, account changes)
  5. A05 Security Misconfiguration β€” debug=true in prod, default creds, exposed admin panels, permissive CORS
  6. A06 Vulnerable Components β€” outdated deps with known CVEs (cross-reference package.json/requirements.txt/go.mod)
  7. A07 Identification & Authentication Failures β€” weak password policy, missing rate-limit on login, JWT with alg=none, sessions without timeout
  8. A08 Software & Data Integrity Failures β€” unsigned updates, insecure deserialization (pickle, YAML.load, Java ObjectInputStream)
  9. A09 Logging & Monitoring Failures β€” sensitive data in logs, missing audit trails
  10. 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, .key files 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-review instead)
  • 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.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.