Structured security audit process by application type. Phases from reconnaissance through reporting, with app-specific checklists. Use when conducting any security review — not just what to look for, but how to systematically find it.
Every audit follows this sequence. Don't skip phases — each informs the next.
Map the attack surface before testing anything.
package-lock.json, Gemfile.lock, requirements.txt against known CVEsOutput: attack surface map — a list of entry points ranked by exposure.
For each trust boundary, ask: "What could an attacker do here?"
STRIDE per boundary:
| Threat | Question | |--------|----------| | Spoofing | Can someone pretend to be another user/service? | | Tampering | Can data be modified in transit or at rest? | | Repudiation | Can actions be performed without audit trail? | | Information Disclosure | Can sensitive data leak through errors, logs, or side channels? | | Denial of Service | Can this endpoint be abused to exhaust resources? | | Elevation of Privilege | Can a normal user reach admin functionality? |
Prioritize by: exploitability (how easy) x impact (how bad).
Test each threat systematically. Order matters — start with auth, then access control, then input handling.
Auth testing sequence:
Input handling sequence:
Data exposure sequence:
For every finding, capture:
Use a consistent severity scale:
| Severity | Criteria | |----------|----------| | Critical | Remote code execution, auth bypass, mass data exposure | | High | Privilege escalation, stored XSS, SQL injection with limited scope | | Medium | CSRF on sensitive actions, information disclosure, missing rate limiting | | Low | Clickjacking, verbose errors, missing security headers | | Info | Best practice deviations, no direct exploit path |
Structure findings for action, not just documentation:
## [SEVERITY] Finding Title
**Location**: endpoint/file:line
**Category**: OWASP category
**Evidence**: reproduction steps
**Impact**: what an attacker gains
**Remediation**: specific fix (not just "sanitize input" — show how)
**Verification**: how to confirm the fix works
Focus areas: auth flows, session management, CSP, CORS, cookie flags, XSS, CSRF
Focus areas: BOLA (broken object-level auth), mass assignment, rate limiting, input validation on all fields, JWT handling
Focus areas: command injection via arguments, environment variable trust, file path traversal, privilege of executed commands
Focus areas: dependency chain, input validation at public API boundary, no secrets in source, safe defaults
What auditors miss:
npx skills add HakAl/security-audit-methodology下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer