/vulnerability-triage-brocards:vulnerability-triage-brocards <CVE/GHSA id | alert file | scanner output> [full evaluation]from vulnerability-triage-brocards
Weighs one security report against seven named decision rules and answers with a table, an ACCEPT, DISMISS or NEEDS-MORE-INFO verdict and a reason fit for a ticket. Reads a CVE or GHSA id, advisory, Dependabot alert, govulncheck or Trivy output, or an outside or AI-written report, and checks it against the repo. Use when asked whether a CVE or alert applies to us, must be fixed before release, or can be dismissed. Not for a finding at a path:line in our own code — use fp-check:fp-check; not for hunting new bugs — use static-analysis:semgrep.
Ships in vulnerability-triage-brocards. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Report: $ARGUMENTS
A report says something is vulnerable. This skill decides whether that claim justifies work. It puts the report through seven fixed rules, in order, and stops with a verdict that cites the rule and a line of repo evidence. A severity label, a score or a green scanner never decides.
Nothing here changes anything: no edits, no scanner runs, no comments on alerts. The answer is a chat message.
govulncheck, npm audit, pip-audit,
go get, go mod download or any scanner or installer. They send module names to public
services, and private module paths must not leave the machine. Output a user pasted or saved
is fine to read.git log: no --output, --ext-diff or --textconv.
git grep (not pre-allowed): no -O and no --open-files-in-pager. gh search code: no
--web or -w.patching-bugs:patching-bugs.| The request | Go to |
|---|---|
A finding at path:line in our code: SAST hit, scanner finding, review comment, code-scanning alert | fp-check:fp-check |
| One report with both a dependency part and a code part | split it: dependency part here, code part to fp-check:fp-check |
| Looking for unknown bugs | static-analysis:semgrep, insecure-defaults:audit |
| Go code quality | golang:review |
| Running a scanner or scanning an image | not available here; supply its output |
go.mod, go.sum,
requirements*.txt, pyproject.toml, package-lock.json, Dockerfile, Helm values and
charts, .terraform.lock.hcl, Ansible requirements.yml). Note direct or transitive, the
resolved version, and the build target or image layer that carries it.PASS, DISMISS or NEEDS-MORE-INFO.Several reports in one prompt: triage each on its own with its own table, then end with one line per report.
| # | Rule | Question |
|---|---|---|
| B1 | Chain of harm | Who attacks, with what capability, by what mechanism, to what damage? |
| B2 | Nothing to gain | Does triggering it need privilege already worth as much as the payoff? |
| B3 | Live path | Does real, attacker-influenced input reach the vulnerable code in what we ship? |
| B4 | By the standard | Is the behaviour what the governing spec requires or allows? |
| B5 | As documented | Is it a documented, caveated behaviour of the component? |
| B6 | Proportional cure | Does the fix cost more than the exposure it removes? |
| B7 | Substance over label | With id, score and reporter stripped, does the technical text hold? |
Quick tests, edge cases and worked rows for each rule are in rules.md. Read the section of the rule you are applying; do not guess its limits.
Per report, a header line naming the report as given (GHSA-…, alert #17, "scanner output",
"no identifier given"), then:
| # | Rule | Verdict | Rationale |
|---|---|---|---|
| 1 | Chain of harm | PASS | ... |
| 2 | Nothing to gain | PASS | ... |
| 3 | Live path | DISMISS | internal/config/config.go:19 parses only the embedded defaults.yaml |
| 4 | By the standard | not evaluated | stopped at rule 3 |
| 5 | As documented | not evaluated | stopped at rule 3 |
| 6 | Proportional cure | not evaluated | stopped at rule 3 |
| 7 | Substance over label | not evaluated | stopped at rule 3 |
Always seven separate rows, one per rule, in this order. After an early stop, each later row reads "not evaluated"; never merge them into one. Then:
ACCEPT, DISMISS or NEEDS-MORE-INFO, nothing else on the
line (the rule and evidence go under Why). Any DISMISS makes it DISMISS, citing
the rule number and the evidence. No DISMISS but a NEEDS-MORE-INFO makes it NEEDS-MORE-INFO.
All PASS makes it ACCEPT.fp-check:fp-check, then fix. DISMISS: the
table is the closing note, paste it. NEEDS-MORE-INFO: name each missing piece of evidence and
who can supply it.A dismissal needs a rule number and evidence from the repo: a file:line, a manifest line, a
doc location. "No evidence found" is a gap to name, not a reason to dismiss.
When dismissing, reject these:
When accepting, reject these: "it has a CVE", "the score is high", "better safe than sorry" (that is B6), "you cannot prove it is not exploitable" (the burden is on the report, B1), "other projects patched it" (their usage differs), fixing only to silence the scanner.
Only when the target is the user's own library, offer to look at downstream consumers, and ask
first: it means searching other repos. gh search code --owner <owner> <query> when gh is
installed and authenticated, otherwise the Grep tool over local checkouts (git grep in each
also works but prompts). With neither, say so once and carry on with the repo at hand.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub flyoverhead/devops-plugins --plugin vulnerability-triage-brocards