audit-assist
Flow B — AI-assisted iterative audit with a human in the loop. Same lifecycle as audit-cycle, but pauses at checkpoints to surface confirmed findings, the…
Fix-review / re-audit. Takes a prior audit report + the current tree and classifies every prior finding FIXED / PARTIALLY-FIXED / STILL-OPEN / REGRESSED / ACKNOWLEDGED / DISPUTED (re-running Rule 5b on the fix, citing the remediation commit/PR hash), audits the changed surface
> /plugin marketplace add solanabr/auditor-skill > /plugin install auditor@auditor
How it fires
How this command gets triggered: by you, by Claude, or both.
/re-auditContext preview
What this command does when you run it.
Fix-review / re-audit. Takes a prior audit report + the current tree and classifies every prior finding FIXED / PARTIALLY-FIXED / STILL-OPEN / REGRESSED / ACKNOWLEDGED / DISPUTED (re-running Rule 5b on the fix, citing the remediation commit/PR hash), audits the changed surface
name: auditor:re-audit description: Fix-review / re-audit. Takes a prior audit report + the current tree and classifies every prior finding FIXED / PARTIALLY-FIXED / STILL-OPEN / REGRESSED / ACKNOWLEDGED / DISPUTED (re-running Rule 5b on the fix, citing the remediation commit/PR hash), audits the changed surface for NEW findings via the diff-audit path, and runs a sibling-patch-propagation sweep for un-patched copies of every fixed anti-pattern. Emits a finding-diff. argument-hint: "[prior-report] [base..head]" allowed-tools: Read, Grep, Glob, Bash, Task
**Arguments:** $ARGUMENTS
Re-audit a codebase after a fix round. **Input:** a prior `audit_<n>/REPORT.md` (arg 1) and the current tree; the delta range is `base..head` (arg 2, default `main..HEAD` — the fix commits). Read `OUTPUT-RULES.md` first (severity 1-10, the **Rule 5b** gate). This is a Zenith/Certora-style fix-review, not a fresh audit — it reuses the prior report as the baseline and reports what changed.
1. **Load the baseline.** Parse the prior report's findings (id, severity, `file:line`, root-cause, Rule 5b block). Pin both commits: the prior report's audited commit and the current `head`.
2. **Classify every prior finding.** For each prior finding, read the current code at the (possibly moved) location and assign one of six states. **Every non-open status must cite the remediation commit/PR hash** that changed it (`git log --oneline` / the PR the fix landed in), not merely the current `file:line` — the reader must be able to point at *what* fixed it, not just where the code now sits.
**Verification-verb discipline (never launder a client claim into a confirmation).** Each status must carry an explicit verb that names *who* established it. Use **"we re-tested and confirmed"** / **"we re-derived from the code and confirmed"** only when *we* verified it against the current tree via Rule 5b. When the basis is the client's word, write **"client states fixed (unverified)"** — and that is **not** FIXED until we independently confirm it. A client's "we fixed it" may never be silently promoted to FIXED; an unverified client fix is at most PARTIALLY-FIXED-pending-verification or stays STILL-OPEN.
3. **NEW findings on the changed surface.** Run the changed surface through the **diff-audit path** (`/auditor:diff-audit` logic): `git diff --name-only base..head`, Phase 0.5 context reconstruction on changed functions + 1-hop callers/callees, risk-classify (auth / crypto / value-transfer / validation-removal = HIGH), then the matching checklist items + known-vectors through Rule 5b. Fixes routinely introduce new bugs — this catches them. Delegate to `vuln-hunter` for the walk.
4. **Sibling-patch-propagation sweep (variant analysis).** For **every FIXED and PARTIALLY-FIXED finding**, extract the anti-pattern signature (the code shape that was the bug — e.g. a missing signer check, an unchecked `*`, a PDA derived without the stored bump) and `grep` the whole codebase for the **same signature elsewhere**. Report every un-patched sibling instruction: a fix applied to one call site but not its twins is a live vulnerability. This is the Certora/ToB variant-analysis discipline — one fix rarely covers all instances. **The sweep always emits a result, even when empty**: for each swept anti-pattern, record either the un-patched siblings found *or* an explicit **"swept `<signature>` across `<globs>` — no siblings found"**. A silent/absent sweep is indistinguishable from "not run" and is not acceptable — "no siblings found" is a first-class recorded output, not an omission.
4b. **Differential execution (optional, when a harness exists).** When the finding has an executable PoC or the target ships a stateful test suite, don't re-verify a fix by reading alone — run the *same* transaction sequence against both the pre-fix and post-fix builds and assert the behavioral delta is exactly the intended one (the exploit path now reverts; every other path is unchanged). Fuzz around the changed fields to catch downstream drift a line-diff hides. This is the Neodyme differential-fuzzing discipline for change reviews; it upgrades a `FIXED` verdict from asserted to executed. Skip cleanly (note it) when no harness is available — never block the re-audit on it.
5. **Emit the finding-diff.** Write `audit_<n+1>/RE-AUDIT.md`:
Production-grade security audit for any codebase, powered by AI agents. 20 checklists · 1,413 verification items · 136 known attack vectors · executable PoCs + fix patches A full audit-firm lifecycle (automated + interactive) · Benchmarked against CertiK, SOC
Repo: solanabr/auditor-skill
Flow B — AI-assisted iterative audit with a human in the loop. Same lifecycle as audit-cycle, but pauses at checkpoints to surface confirmed findings, the…
Flow A — fully automated audit-firm lifecycle. Runs scope → context → tool-assisted first pass → domain-partitioned manual review → independent reconciliation…
Aggregate audit checkpoints into the final report — executive summary, Scope Coverage, findings by severity, maturity scorecard, and remediation roadmap.
Full scope-gated security audit of a Solana / full-stack repository — discovery, context reconstruction, per-item checklist verdicts, false-positive…
Deep single-instruction / single-function security review using the instruction worksheet, context reconstruction, and adversarial exploit modeling.
PR / commit-scoped differential audit — audits only changed functions (plus 1-hop callers), flags removed security checks, and prioritizes by risk × blast…