auditor-skill
An open-source AI security audit skill for Solana programs and the code around them.
auditor-skill is a Claude Code plugin, and a folder of skill files that any LLM agent can follow. It reads your code file by file, checks 1,479 items across 20 security domains, tests against 144 real-world attack vectors, and produces a structured report with a severity from 1 to 10 for every finding. A confirmed High or Critical finding can get a runnable exploit, and a fix proven to stop it.
It covers the on-chain programs (Anchor, native and Pinocchio) and the rest of the stack: TypeScript and Rust services, web frontends, Python, Go, Java, Ruby and PHP code, CI workflows, infrastructure and AI agent components. It is not a SaaS product: you install it for your agent, outside any repository you audit, or send its files to an LLM API.
What's inside: 20 checklists · 1,479 verification items · 144 known attack vectors · executable PoCs + fix patches.
Read this first: what auditor-skill cannot do on its own
[!WARNING]
It is a first pass, not a professional audit. An AI auditor cannot do everything a human can: social engineering assessment, business-logic review that needs domain expertise, legal compliance opinions. Before a mainnet launch, pair it with a human audit. Like a firm's, its client report gives no "safe to deploy" guarantee.
By default it builds and tests the project on your machine, which runs the project's own build scripts, proc-macros and tests. For code you don't trust, use strict mode with the strict launch line, which also keeps your own plugins out, such as a language server that would run those build scripts too.
The resume rules let Claude start a flow by itself, in any repository you open (Once, after installing).
The incident commands only propose. They never sign, send, pause or freeze anything. If funds may be moving, page your on-call, run the pause or freeze runbook and open a SEAL 911 ticket first.
What remains a risk in each mode: docs/permissions-and-isolation.md.
Quick start
Install the plugin in Claude Code:
/plugin marketplace add solanabr/auditor-skill
/plugin install auditor
Then, in the repository you want to review, check what your branch changed against main (commit your work and rebase on main first):
/auditor:diff-audit
It writes audit_<n>/PR-REPORT.md, in a run directory that git ignores. Every item a run reads gets a verdict, in the format OUTPUT-RULES.md Rule 4 sets (this is its example):
[PASS] AV-001: Account ownership validated via Account<'info, T> typed accounts
[FAIL-8] AV-015: Token account missing token::authority constraint
File: programs/<program>/src/instructions/deposit.rs:42
Impact: Attacker can substitute token account, draining vault
Fix: Add `token::authority = fund` to account constraint
Next, add the resume rules once, and pick a depth.
On this page: Features · Corpus · Installation · Usage · Output · Configuration · Integrations · Security model · Upgrading · What's new · Docs · Layout · Contributing · Credits · License
What It Does (v7.7)