Skip to content
Back to skills

Security Audit

ASecurity

Use this skill to perform a security audit, scan for vulnerabilities, check OWASP Top 10 issues, or review code for security problems. Triggered by "security audit", "check security", "find vulnerabilities".

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 26, 2026
securitygoshellbashsqlapici/cdsecurity

Works with

  • api

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add Imran-ml/claude-skills --skill security-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Security Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Security Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/imran-ml-security-audit/badge)](https://www.skillsdirectory.com/skills/imran-ml-security-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: security-audit
description: |
  Use this skill to perform a security audit, scan for vulnerabilities,
  check OWASP Top 10 issues, or review code for security problems.
  Triggered by "security audit", "check security", "find vulnerabilities".
argument-hint: "[path or component]"
allowed-tools: "Read, Grep, Glob, Bash"
context: fork
agent: Explore
---

# Security Audit

Perform a comprehensive security review using OWASP Top 10 as a framework.

## Scope

Target: `$ARGUMENTS` (or entire codebase if not specified)

## Checklist

### A01 — Broken Access Control
- [ ] Authorization checks on every protected route/endpoint
- [ ] Horizontal privilege escalation (can user A access user B's data?)
- [ ] IDOR (insecure direct object references) in API endpoints
- [ ] Missing authentication middleware

### A02 — Cryptographic Failures
- [ ] Sensitive data stored/transmitted in plaintext
- [ ] Weak hash algorithms (MD5, SHA1 for passwords)
- [ ] Hardcoded secrets, API keys, or passwords in source
- [ ] TLS not enforced in production config

### A03 — Injection
- [ ] SQL injection (raw queries with user input)
- [ ] Command injection (shell exec with user data)
- [ ] XSS (unsanitized HTML output)
- [ ] LDAP, NoSQL, XML injection

### A04 — Insecure Design
- [ ] Missing rate limiting on auth endpoints
- [ ] No brute-force protection on login
- [ ] Sensitive operations lack confirmation step

### A05 — Security Misconfiguration
- [ ] Debug mode enabled in production config
- [ ] Verbose error messages exposing internals
- [ ] Default credentials not changed
- [ ] Unnecessary services/ports exposed
- [ ] Missing security headers (CSP, HSTS, X-Frame-Options)

### A06 — Vulnerable Components
```bash
npm audit
# or: pip-audit / safety check / snyk test
```

### A07 — Authentication Failures
- [ ] Weak password policy
- [ ] Session tokens not invalidated on logout
- [ ] Missing MFA for sensitive operations
- [ ] JWT: algorithm confusion, weak secret, no expiry

### A08 — Software Integrity Failures
- [ ] Subresource Integrity (SRI) for external scripts
- [ ] CI/CD pipeline integrity

### A09 — Logging Failures
- [ ] Sensitive data logged (passwords, tokens, PII)
- [ ] Failed auth attempts not logged
- [ ] No audit trail for admin actions

### A10 — Server-Side Request Forgery (SSRF)
- [ ] Unvalidated URL parameters used in server requests
- [ ] Internal network accessible via user-controlled URLs

## Output Format

```
## Security Audit Report

### Critical (fix immediately)
- [file:line] VULN_TYPE — description + remediation

### High (fix before next release)
- [file:line] VULN_TYPE — description + remediation

### Medium (fix in next sprint)
- [file:line] VULN_TYPE — description

### Low / Informational
- [finding] — recommendation

### Dependency Vulnerabilities
[npm audit / pip-audit output summary]

### Score: X/10 critical issues found
```

$ARGUMENTS

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.