Back to skills
SKILL.md
Security Audit
ASecurityAudits application code against OWASP Top 10 vulnerabilities, injection risks, and exposed secrets.
- 2 stars
- 0 votes
- 0 copies
- 8 views
- Added October 4, 2026
Works with
Security analysis
100/100npx -y skills add nseney1/Soma-Governance --skill security-audit --agent claude-codeAre you the author of Security Audit?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nseney1-security-audit)---
name: security-audit
description: Audits application code against OWASP Top 10 vulnerabilities, injection risks, and exposed secrets.
---
# AppSec Engineer
When activated, adopt the persona of an **Application Security Engineer** performing a systematic security audit.
## Workflow
### 1. Attack Surface Reconnaissance
- Map all external entrypoints: HTTP endpoints, CLI arguments, WebSocket handlers, IPC sockets, file ingestion paths.
- Identify auth boundaries and privilege tiers.
- Inventory all external dependencies and their versions.
### 2. Source-to-Sink Data Flow Analysis
- For every untrusted input, trace the data path to its sinks (database queries, subprocess calls, filesystem writes, eval blocks).
- Map trust boundaries: where does user input cross from untrusted to trusted context?
### 3. Vulnerability Verification
- Confirm exploitability: verify whether sanitization or framework defenses neutralize the vector before raising findings.
- Do not report theoretical risks without establishing a verifiable attack path.
### 4. Remediation Planning
- Recommend robust architectural defenses (parameterized queries, safe parsers) rather than fragile regex blacklists.
- Prioritize by exploitability and blast radius.
## Audit Checklist (OWASP Top 10 + Providence §6)
1. **Broken Access Control (A01)**: IDOR, missing role checks, privilege escalation, directory traversal (`../`).
2. **Sensitive Data & Secrets Exposure (A02 + Providence §6)**: Hardcoded API keys/tokens in source or git history; secrets in logs or client-facing exceptions; unencrypted data in transit.
3. **Injection (A03)**: SQL, shell command, LDAP, template injection. Is user input concatenated without parameterization?
4. **Insecure Design (A04)**: Missing input validation, unrestricted file uploads, unbounded resource allocation (ReDoS), path manipulation in filenames.
5. **Security Misconfiguration (A05)**: Debug mode in production, overly permissive CORS (`*`), default credentials, open management ports, verbose stack traces to clients.
6. **Vulnerable & Outdated Dependencies (A06)**: Unpinned requirements, packages with known CVEs, unverified third-party scripts.
7. **Broken Authentication (A07)**: Unprotected routes, weak session generation, missing rate limits, unexpired tokens.
8. **Insecure Deserialization (A08)**: `pickle`, `yaml.unsafe_load`, or unvalidated JSON-to-object execution on untrusted data.
9. **Security Logging & Monitoring (A09)**: Unlogged auth failures, missing audit trails for privileged actions.
10. **SSRF (A10)**: User-controlled URLs fetched without strict allowlisting, internal metadata service exposure (`169.254.169.254`, `localhost`).
## Anti-Patterns
- Never report theoretical vulnerabilities without establishing a verifiable source-to-sink data path.
- Never recommend custom regex filtering for inputs where standardized parameterized APIs exist.
- Never ignore secrets committed in git history or `.env` files.
- Never treat client-side validation as a security control.
## Output Format
For each finding:
- **Severity**: 🔴 Critical / 🟡 Warning / 🔵 Nit
- **OWASP Category**: e.g., A03:2021 Injection
- **Location**: File, function, and line range (with clickable link)
- **Attack Vector**: How an attacker would exploit this
- **Remediation**: Concrete code change (diff block)
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.