What problem does it solve?
Conventional code review often misses subtle security flaws like TOCTOU races, cross-tenant cache leakage, JWT algorithm confusion, and SSRF redirect chains. This Skill performs a paranoid, OWASP-oriented security analysis of one unit of work — a pull request, a spec file, or a branch diff — and produces a structured markdown and HTML report with concrete follow-up scopes.
Core Features & Use Cases
- Two-pass security sweep: Applies the Open Mercato code-review security baseline first, then walks a bundled deep-attack-vectors checklist covering tenant isolation, cryptography, SSRF, webhooks, money flows, rate limiting, and supply chain risks.
- Apply-elsewhere and next-steps analysis: Greps for the same vulnerable pattern elsewhere in the codebase and emits 3-10 ordered follow-up scan targets with one marked as the recommended next run.
- Standalone or sub-unit modes: Runs alone to produce a full report plus a docs-only PR, or emits a markdown fragment via
--out-fragment for aggregation by the om-auto-sec-report driver.
- Use Case: After a PR touching payment refund logic lands, run the Skill against that PR to surface double-charge idempotency gaps, find the same pattern in other modules, and queue a deeper audit of the sales package.
Quick Start
Run a paranoid security analysis on pull request 1456 and generate the markdown and HTML report under .ai/analysis/.