Workflow: full project security audit
Drive a rigorous, multi-pass security review of the whole repository and report every vulnerability with a
concrete fix. This is the comprehensive service; for one area, use the focused sec-* skill instead.
Scope: the security-relevant code across the stack — front end, back end, APIs, and infra/config. Work in
passes for a large repo and keep a coverage ledger of what's reviewed in full vs sampled vs skipped. Be
defensive throughout (review-to-fix; never exploit live systems).
Passes
- Attack surface. Enumerate entry points (routes/handlers, input parsing, uploads, webhooks,
deserialization, env/config, IaC) and trust boundaries. This frames everything.
- Authorization —
sec-authz-review: per route, confirm authn + function-level authz + object-level
ownership; hunt IDOR/BOLA/privesc/BFLA and object-id enumeration.
- Injection —
sec-injection: trace untrusted input into every interpreter (SQL/NoSQL/cmd/HTML/
template/XML/LDAP); confirm parameterization/encoding.
- Authentication & session —
sec-authn-session: credentials, sessions, JWT, MFA, reset, enumeration. - Secrets & crypto —
sec-secrets-crypto: hardcoded secrets (incl. git history), secrets in logs,
weak/misused crypto, insecure randomness.
- SSRF / traversal / upload / redirect —
sec-ssrf-traversal. - Config & hygiene — security headers, cookie flags, TLS, debug endpoints, error/info leak; dependency
and IaC hygiene (go deeper with sec-deps / sec-iac-cloud when present).
Output
For each issue, one line:
path:line [severity] OWASP-Axx / CWE-nnn finding -> concrete fix
Then:
- A prioritized remediation plan grouped by severity (Critical / High / Medium / Low), each item linking
back to its path:line, ordered by exploitability × impact.
- An OWASP Top 10 coverage matrix (which categories were checked and what was found).
- A coverage statement: files/areas reviewed in full vs sampled vs skipped, so completeness is auditable.
Mark anything you couldn't fully verify rather than asserting it's safe. If the security-auditor agent is
available, drive it to persist findings under .security/.