Skip to content
Skill

Solana audit flow

Guides an agent through a full Solana Anchor or Rust program security audit

Solana audit flow is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
227
Last commit
License
MIT
Listing updated

Similar skills

About Solana audit flow

This skill walks an agent through auditing an Anchor or bare solana_program codebase from build to confirmed findings. It starts with a clean build and a review of every compiler warning, then moves into manual checks for common Solana weaknesses such as account ownership, discriminator validation, signer checks, CPI seed handling, token math and PDA collisions. Because the skill notes that Solana has no static analyzer, manual reading is treated as the main coverage step rather than a supplement.

The workflow then runs the existing cargo test suite, including LiteSVM-backed tests, followed by fuzzing with Trident for IDL-driven Anchor programs and cargo-fuzz for raw deserialization surfaces. Results are triaged through a false-positive filter and an impact gate before anything is reported. The skill also covers optional local reproduction with the solana CLI and solana-test-validator, and it avoids silent toolchain installs or mainnet writes.

The agent is expected to have a Rust or Anchor workspace, the native tools anchor, cargo, trident and cargo-fuzz available, and the solana CLI if on-chain reproduction is needed. The skill references companion skills for vulnerability review and triage that are not included in this folder.

When your agent uses it

Use when auditing an Anchor or bare-Rust Solana program end to end; because Solana ships no static analyzers, the coverage strategy is compiler-warning triage, manual source reading, LiteSVM and cargo tests, plus coverage-guided Trident and cargo-fuzz fuzzers before false-positive triage.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (6 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/solana-audit-flow to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/solana-audit-flow &&
cp -R "$tmp/.agents/skills/solana-audit-flow" ~/.claude/skills/solana-audit-flow &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/solana-audit-flow inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/solana-audit-flow to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/solana-audit-flow &&
cp -R "$tmp/.agents/skills/solana-audit-flow" ~/.agents/skills/solana-audit-flow &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/solana-audit-flow inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/solana-audit-flow to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/solana-audit-flow &&
cp -R "$tmp/.agents/skills/solana-audit-flow" ~/.cursor/skills/solana-audit-flow &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/solana-audit-flow inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/mtarcure/claude-vibe-squad.git --path .agents/skills/solana-audit-flow

Or copy the folder to ~/.gemini/skills/solana-audit-flow yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/solana-audit-flow:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/solana-audit-flow &&
cp -R "$tmp/.agents/skills/solana-audit-flow" ~/.copilot/skills/solana-audit-flow &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/solana-audit-flow inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git

Then copy claude-vibe-squad/.agents/skills/solana-audit-flow into your agent's skills folder as solana-audit-flow. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Build and warning triage
Confirms a clean compile and treats compiler warnings as possible logic bugs to review.
Manual vulnerability review
Checks ownership, signers, discriminators, CPI seeds, token math and PDA collisions by reading source.
Unit and LiteSVM tests
Runs the existing cargo test suite, including LiteSVM-backed tests, and flags failing security-sensitive tests.
Trident and cargo-fuzz fuzzing
Drives IDL-based Anchor fuzzing with Trident and raw parsing fuzzing with cargo-fuzz.
False-positive triage
Filters findings through a second-opinion review and an impact gate before reporting.
Local cluster reproduction
Optionally reproduces findings on a local validator using the solana CLI without mainnet writes.

Good for

  • Audit my Anchor program for missing signer and ownership checks
  • Run Trident fuzzing against my Anchor instructions
  • Review a bare solana_program crate for CPI signer seed problems
  • Triage compiler warnings in my Solana program for hidden logic bugs
  • Reproduce a suspected finding on a local solana-test-validator

Solana audit flow FAQ

What tools does Solana audit flow need installed?

It runs anchor, cargo, trident, cargo-fuzz and the solana CLI as native host tools, and expects litesvm as a dev-dependency for LiteSVM tests.

Does Solana audit flow run a static analyzer on Solana code?

No. The skill states that Solana has no static-analysis step and relies on manual review plus dynamic fuzzing instead.

Will Solana audit flow install toolchains automatically?

No. It asks you to confirm the installed toolchain and surfaces version mismatches rather than running avm use or network installs.

Does Solana audit flow modify Anchor.toml?

No. If a version mismatch blocks the build, it reports the mismatch and leaves Anchor.toml unchanged unless instructed.

How do I install Solana audit flow in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/solana-audit-flow to use it in all your projects, or to .claude/skills/solana-audit-flow in one project.

Does Solana audit flow run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Solana audit flow?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Solana audit flow?

The closest alternatives to Solana audit flow are Solana vulnerability scanner, Vulnhunter solana, Chain construct smart contract, Evm audit flow and Defi amm security.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from mtarcure/claude-vibe-squad

  1. Writes alt text, timed captions and transcripts for images, footage and audio

    • Open source
    • 227 GitHub stars
    • Design and media
  2. Guides building product agent system prompts with eval-backed boundaries and output

    • Open source
    • 227 GitHub stars
    • AI models and LLM tooling
  3. Guides authorized adversarial testing of autonomous LLM agents for injection and approval

    • Open source
    • 227 GitHub stars
    • Security
  4. Writes a typed game-event to audio-cue map that hands adaptive audio designs to engines

    • Open source
    • 227 GitHub stars
    • Developer tools
  5. Generates missing README, CHANGELOG, LICENSE and agent-context files at project delivery

    • Open source
    • 227 GitHub stars
    • Developer tools
  6. Builds and proves multi-step exploit chains from weak bug-bounty findings

    • Open source
    • 227 GitHub stars
    • Security