variant-huntlisted
Install: claude install-skill allsmog/kuzushi-security-plugin
# Variant hunt
Find other instances of the bugs already confirmed for this repository.
1. Run `node "${CLAUDE_PLUGIN_ROOT}/scripts/cmd/variant-hunt-prepare.mjs" --target "<repo root>"`
(optionally `--input '{"maxSeeds":8}'`). If it reports `no-seeds`, tell the user to confirm a
finding first (`/threat-hunt` → `/verify`, or `/systems-hunt` / `/taint-analysis`) and stop.
2. Read the prep's `prepPath`. For **each** seed, do the narrow→general walk (understand the
root cause → exact match → identify abstraction points → generalize one step at a time →
triage each hit) using `runRg`/Grep, then `semgrep:scan`, then `codeql:query`/`joern:query`
if a DB/CPG exists. Use each `seedFingerprint` verbatim.
3. Write the `{ candidates: [...] }` bundle to the prep's `draftPath`, then run the
`assembleCommand` (finalize) — it validates verdicts and promotes variants into
`.kuzushi/findings.json` (`source:"variant-hunt"`, `refId:"variant-of:<seed>"`).
4. Report, per seed, the variants found and their verdicts, and list the new `exploitable` sites
(file:line + why it's the same bug).
## When NOT to use
- Before any finding is confirmed — there's nothing to find variants of.
- As the initial bug hunt — use `/threat-hunt`, `/taint-analysis`, or `/systems-hunt` first; this
replicates a *known* bug, it doesn't discover the first one.
## Rationalizations to Reject
- *"Same API call ⇒ same bug."* → A guard the seed lacked may be present at this site; confirm
before c