security-verdict-and-report
БесплатноБез исполняемых скриптовНе проверенUse when deciding the verdict of a security review - severity anchors and confidence scale, when to block, approve with notes, add a needs-validation note…
от makifbaysal★ 123 звезды на GitHubОб этом скилле
Security Verdict and Report
Overview
A security reviewer that blocks on noise gets ignored; one that passes on a hunch ships a breach. The verdict follows a fixed policy so the developer can predict it and the human can trust it.
Core principle: block only what you can prove is exploitable and new; say nothing about what you cannot.
1. Severity
| Severity | Meaning | Typical examples |
|---|---|---|
| CRITICAL | Exploitable now with little or no precondition; full compromise | RCE, auth bypass, SQL injection on a public endpoint, a live production secret committed, a malicious dependency |
| HIGH | Significant, reachable, one realistic precondition | IDOR on another user's data, stored XSS, SSRF to an internal service, path traversal reading server files, pull_request_target running PR code with secrets |
| MEDIUM | Needs specific conditions, or real but bounded impact | CSRF on a state change, reflected XSS behind an unusual flow, user enumeration that enables a further attack, verbose error leaking internal paths |
| LOW | Defence in depth, best practice | Missing header with no vulnerability, weak-but-unused config |
Exposure moves severity, not existence: "only reachable from the internal network" can still be HIGH when internal callers are not trusted. Use the deployment shape from get_project_brief.
Anchors that keep two reviews of the same bug at the same level:
- CRITICAL — an unauthenticated actor gains code execution, full data-store access, or takeover of arbitrary accounts.
- HIGH — an actor fully defeats an explicit security control with real consequences: authentication bypass, cross-tenant read or write, stored script execution against other users, authenticated code execution, an unauthenticated remote stop of a shared service.
- MEDIUM — a real boundary violation with a limited blast radius, uncommon preconditions, or consequences confined to a narrow set of resources.
- LOW — disclosure of non-secret internals, or an effect that needs sustained effort for minimal gain. Dropped.
The HIGH/MEDIUM line: does the traced result fully defeat an explicit control for an action with real consequences, or only weaken it? Likelihood — preconditions, attacker position — moves severity down; nothing moves it above the impact the trace shows. If you cannot state the concrete damage, the severity is lower than it feels.
2. Confidence
Confidence is about exploitability in this code, not about whether the pattern looks bad:
- 0.9–1.0 — you traced source → sink end to end and can write the exploit input.
- 0.8–0.9 — a known vulnerable pattern; source and sink both read; no guard found on the path.
- 0.7–0.8 — suspicious, but it needs a condition you could not confirm. Not reported.
- < 0.7 — not reported.
3. The Decision
Evaluate every surviving finding, then apply the strongest outcome:
- Unreviewable — part of the change could not be read (unreviewable-never-passes) →
need_revision, naming exactly what could not be verified. - Block →
need_revisionwhen any holds:- a CRITICAL or HIGH finding introduced or enabled by the diff, confidence ≥ 0.8, surviving the exclusions and the self-refute pass;
- a live secret in non-test code;
- a new or changed dependency that is malicious, a likely typosquat, or carries a critical/high advisory with a fixed version available;
- CI or agent escalation:
pull_request_targetwith a PR-head checkout and secrets in reach, an agent permission-bypass flag, untrusted input reaching an LLM that holds tools.
- Approve with notes →
ready_for_qaplus one comment: MEDIUM findings at ≥ 0.8, at most three, highest first; andNeeds validationnotes, at most two (§6). - Clean →
ready_for_qa, no comment.
LOW and < 0.8 findings are dropped: not "for awareness", not "minor", not mentioned.
4. Reject Template
One add_task_comment, before the move. The developer receives it alongside the architect's review, so it must stand alone.
Security review — changes requested
SEC-1 · HIGH · Broken object-level authorization (CWE-639, OWASP A01:2025) · internal/invoice/handler.go:57
Exploit: an attacker with any customer account can GET /api/invoices/{id} with another customer's id → reads their invoices (amounts, addresses).
Evidence: r.PathValue("id") (handler.go:52) → repo.Get(ctx, id) (repo.go:31, WHERE id = $1 only) → JSON response; no OrgID check on the path. Siblings use repo.GetForOrg.
Fix: use repo.GetForOrg(ctx, id, auth.OrgID(ctx)) and return 404 when it finds nothing; add a test where org B requests org A's invoice.
SEC-2 · CRITICAL · Hard-coded credential (CWE-798, OWASP A07:2025) · config/prod.go:12
Exploit: anyone with read access to the repository can use the Stripe live key → charges and refunds on the production account.
Evidence: const stripeKey = "sk_live_…" (prod.go:12), used by billing/client.go:20.
Fix: load it from the
Установить security-verdict-and-report в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл security-verdict-and-report?
Use when deciding the verdict of a security review - severity anchors and confidence scale, when to block, approve with notes, add a needs-validation note, drop or reject as unreviewable, the smallest-fix rule and the exact comment templates
Как установить скилл security-verdict-and-report?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл security-verdict-and-report запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic