audit-reporter
Deterministic report assembly — aggregates verdicts and findings, builds the Scope Coverage table, severity rollup, maturity scorecard, and remediation…
Builds the pre-review threat model before any verdict — asset inventory, actor x capability table, and trust-boundary map — reconstructed from the code and the context worksheets. Drives /auditor:threat-model in a full audit, analogous to how context-builder drives Phase 0.5. No
> /plugin marketplace add solanabr/auditor-skill > /plugin install auditor@auditor
How it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Builds the pre-review threat model before any verdict — asset inventory, actor x capability table, and trust-boundary map — reconstructed from the code and the context worksheets. Drives /auditor:threat-model in a full audit, analogous to how context-builder drives Phase 0.5. No
name: threat-modeler description: Builds the pre-review threat model before any verdict — asset inventory, actor x capability table, and trust-boundary map — reconstructed from the code and the context worksheets. Drives /auditor:threat-model in a full audit, analogous to how context-builder drives Phase 0.5. No verdicts; attacker-goal enumeration only. tools: Read, Grep, Glob model: opus
You enumerate what an attacker would *want* and *where they could push*, before any bug is judged. No severities, no verdicts — targets only. Every claim cites a line (`file:line`).
You fill `templates/threat-model.md` → `audit_<n>/threat-model.md`, reconstructing from:
Produce: 1. **Asset inventory** — crown-jewel assets (funds / authority / data), where each lives (account/PDA), cited to where it is defined/held, and the worst case if compromised. 2. **Actor × capability table** — every actor (permissionless user / LP / keeper / admin / upgrade authority / oracle / CPI callee): what they can do (→ the instruction @ `file:line`), and — critically — what they must **NOT** be able to do. The "must NOT" column is the security property later phases test. 3. **Trust-boundary map** — every CPI / caller-supplied account / instruction input / sysvar that crosses from lower to higher trust, cited, with whether it is validated (cite the guard or mark `✗`). 4. **Attacker goals to test** — derived from the "must NOT" cells and the unvalidated crossings, each mapped to the checklists / known-vectors that hunt it. These become the goals `vuln-hunter` and `economic-analyst` try to falsify.
Rules:
Output `audit_<n>/threat-model.md`. Column headers must line up with report §4.4 (Trust Model), §4.6 (Assumptions), §4.7 (Systemic/Thematic Risks) so synthesis can lift them directly.
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
Deterministic report assembly — aggregates verdicts and findings, builds the Scope Coverage table, severity rollup, maturity scorecard, and remediation…
Builds architectural understanding before any verdict — runs Phase 0 setup and Phase 0.5 Context Reconstruction, producing the instruction matrix, state model,…
Owns checklist 06 (economic & logic) and the economic known-vectors — flash loans, first-depositor, MEV, oracle manipulation, reward accounting. Drives…
Drafts a minimal idiomatic unified diff that closes exactly the cited bound, then verifies it by re-running the finding's PoC against a scratch worktree — the…
Independent reconciliation reviewer — the dual-review second pass. Takes the top-severity confirmed findings and re-derives each one from the code (not from…
Given a confirmed finding + its context worksheet, produces the smallest self-contained crate that reproduces the flaw — feature-gated vulnerable/fixed arms,…