AgentStack
SKILL verified MIT Self-run

Security Audit

skill-kasimmj-claude-skills-mega-security-audit · by kasimmj

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.

No reviews yet
0 installs
9 views
0.0% view→install

Install

$ agentstack add skill-kasimmj-claude-skills-mega-security-audit

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Security Audit? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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)
  • Branchgit 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:    
Files:    

🔴 CRITICAL (N)
  -  —  — 

🟠 HIGH (N)
  -  —  — 

🟡 MEDIUM (N)
  -  —  — 

🟢 LOW (N)
  -  —  — 

✓ PASSED CHECKS
  - : 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.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.