security-reviewlisted
Install: claude install-skill stxrmik/antigravity-plus
# /security-review — security audit of pending changes
> **On your own:** run it when your change touches auth, sessions, permissions, crypto, secrets, payments, uploads, or builds SQL, shell or HTML from user input. Say so in one line first («Запускаю /security-review: правки в авторизации»). Scope = your change. Fix the confirmed issues your change introduced, then report.
Read-only: do **not** modify code during the review. Offer fixes at the end.
## 1. Scope
Default: everything not yet on the base branch — branch commits **and** uncommitted changes.
- Branch part: `bash <skill_dir>/../commit/scripts/git_context.sh review branch`
- Uncommitted part: `bash <skill_dir>/../commit/scripts/git_context.sh review`
- User gave a PR number/URL → `gh pr diff <n>` and `gh pr view <n>` (network → `BypassSandbox: true`).
- User gave a ref/range or paths → `git_context.sh review <ref|a..b>` or audit those files in full.
If there's no git repo or the diff is empty, say so and stop. Read new/untracked files in full.
## 2. Map the attack surface (yourself, quickly)
From the changed files list: which entry points are touched (HTTP routes, CLI args, webhooks, message
consumers, file uploads, IPC), which sinks (SQL/ORM raw queries, shell/exec, templates/HTML, file paths,
redirects, deserialization, crypto, auth checks, secrets/config), and which trust boundaries change.
Skip pure docs/tests/formatting changes.
## 3. Delegate the deep audit
Invoke the **`security-auditor`** subagent (it