solana-program-audit — Full Audit
Arguments: $ARGUMENTS
Run this skill end-to-end:
- Read
OUTPUT-RULES.md(mandatory output format, severity 1-10, the Rule 5b validation gate). - Follow
FULL-AUDIT.mdtop to bottom, honoring scope-gated loading (Rule 0): discover the repo, declare scope, load only in-scope checklists/vectors on demand. Off-chain code (TS / Python / Go clients, backends, frontends) is out of scope for this skill. - Delegate: spawn
context-builder(Phase 0.5) first, thenvuln-hunterfor the item-by-item walk,economic-analystfor checklist 06 + economic vectors, andaudit-reporterto assemble the report. - Every in-scope checklist item and phase-triggered vector gets an explicit verdict (
[PASS]/[FAIL-N]/[PARTIAL]/[N/A]). Findings with N≥6 must pass the Rule 5b validation gate or be downgraded to[PARTIAL]/[UNCONFIRMED]. - Emit
audit_<n>/REPORT.md: executive summary (safe-to-deploy verdict), Scope Coverage table, findings, Phase 4.5 maturity scorecard, remediation roadmap.
If the Trail of Bits skills (https://github.com/trailofbits/skills, CC-BY-SA-4.0) are installed separately, delegate SAST / harnesses / coverage to them per references/orchestration/boundary-map.md; otherwise use the native grep checks in discovery/grep-commands.md and note the tooling gap. Read every corpus file and run every bundled tool from <skill-root> — the directory containing this skill's SKILL.md, never the audited repo.