Skip to content
Back to skills

Security Audit

ASecurity

Use when asked to review code for security, find vulnerabilities, run an OWASP check, audit before a release, or answer "is this secure?" — any language or framework, whole repo or a single feature.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 17, 2026
ai-agentsrustshellsqlgitapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 17, 2026

npx -y skills add WST2002/claude-code-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/wst2002-security-audit/badge)](https://www.skillsdirectory.com/skills/wst2002-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 when asked to review code for security, find vulnerabilities, run an OWASP check, audit before a release, or answer "is this secure?" — any language or framework, whole repo or a single feature.
---

# Security Audit

## Overview

Find vulnerabilities an attacker can actually reach, prove each one with code, and say exactly how to fix it. A short list of real, exploitable findings beats a long list of maybes.

## Method

1. **Scope.** Identify entry points: HTTP routes, CLI args, file uploads, message consumers, webhooks, scheduled jobs. Note the framework and auth mechanism.
2. **Map trust boundaries.** For each entry point, follow untrusted input to where it is used (query, shell, file path, HTML, redirect, deserializer, template).
3. **Sweep by class.** Search systematically with the patterns in [checklist.md](checklist.md). Do not stop at the first hit per class.
4. **Verify every candidate** before reporting:
   - Is the input attacker-controlled? Trace it.
   - Is there validation, escaping, parameterisation or an auth check on the path?
   - Is the code reachable in production (not a test, fixture, or dead code)?
   If any answer removes the risk, drop it or mark it Low confidence.
5. **Check configuration and dependencies:** CORS, cookies, headers, debug flags, secrets in repo, known-vulnerable versions in lockfiles.
6. **Report** using the contract below.

## Output contract

Start with one line: `N findings: X critical, Y high, Z medium, W low.` Then one block per finding, highest severity first:

```
### [SEVERITY] Title
- Location: path/to/file.ext:line
- Evidence: the 1-5 lines of code that are vulnerable
- Attack: concrete input or request an attacker sends and what they get
- Fix: the corrected code, or the exact change
- Confidence: High | Medium | Low
```

End with **Checked and clean:** the classes you searched that had no findings. If nothing was found, say so plainly. Do not pad.

## Severity

| Severity | Meaning |
|---|---|
| Critical | Remote, unauthenticated: code execution, auth bypass, full data access |
| High | Authenticated user reaches other users' data or admin actions; injection; stored XSS |
| Medium | Needs user interaction or a specific condition; reflected XSS; weak crypto |
| Low | Defense in depth: missing headers, verbose errors, minor info leak |

## Common mistakes

- Reporting a `query()` call as SQL injection without checking it is parameterised.
- Flagging secrets in `.env.example`, tests or docs as leaked credentials.
- Missing authorization bugs (IDOR) because every route "has auth" — check that the record belongs to the caller.
- Listing generic advice ("use HTTPS") instead of findings in this code.
- Stopping after the first file. Audit every entry point.

---

Made by **Wageesha Tripathi** · [LinkedIn](https://www.linkedin.com/in/wst2002/) · [Email](mailto:tripathiwageesha2002@gmail.com) · [More skills](https://github.com/WST2002/claude-code-skills)

Files in this skill

  • SKILL.md2.9 KB
  • checklist.md3 KB

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.