Skip to content
Skill

Auditor skill

Security audits of Solana programs and general code with item-by-item verdicts

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

Scripts
shell, Lua, Python, Rust
Platforms
Claude Code, Codex, Cursor
GitHub stars
67
Last commit
License
MIT
Listing updated

Similar skills

About Auditor skill

Auditor is a security review skill for AI coding agents that targets on-chain Solana and Anchor programs and also covers off-chain services in TypeScript, Python, Rust, Go, Java, Ruby and PHP. It detects the languages in a repository, picks the matching checklists, and walks the code one file at a time, recording a verdict for each in-scope item and known attack vector. Findings are rated on a 1 to 10 severity scale and tied to file and line references.

The corpus spans 20 checklists with roughly 1,479 items and 144 known vectors, covering account validation, access control, arithmetic, CPI and PDA safety, economic logic, supply chain, secrets, deployment, CI/CD workflows, privacy and incident response. Deeper modules load only when the repository shows matching markers, such as lending, bridge or governance code. The skill also offers quick scans, pull request diffs, single-function reviews and full audit cycles that produce a report.

It bundles Bash, Python, Rust and Lua scripts and a Rust pre-scanner, and it only runs commands from an allowlist of its own tools. A post-incident track covers hunting and response from transaction history and program logs, and it only proposes actions without signing or sending anything.

When your agent uses it

Security auditor for on-chain Solana programs, and full-stack security review in any programming language. USE FOR: auditing Solana/Anchor programs, reviewing smart contract security, checking for vulnerabilities (missing signers, unchecked accounts, arithmetic overflow, CPI attacks, PDA confusion, type cosplay, reinitialization, flash loan exploits, MEV, governance backdoors, timelock bypass), auditing TypeScript/Python/Go/Java/Ruby/PHP/any language, backend/frontend code review, supply chain safety, CI/CD and GitHub Actions workflow security (comment-triggered commands, pull_request_target / workflow_run pwn requests, AI agents in CI), operational security (multisig, upgrade authority, deploy process), formal verification and testing quality, logging/monitoring/incident response, post-incident threat hunting and incident workup from transaction history and program logs (/auditor:hunt, /auditor:respond), data privacy/GDPR/SOC2 compliance, change management, penetration testing methodology, AI/ML security, ge

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

What it can access

Install

This skill ships in the auditor plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add solanabr/auditor-skill
/plugin install auditor@auditor

Or copy only this skill to ~/.claude/skills/auditor-skill:

mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/auditor-skill &&
git clone --depth 1 https://github.com/solanabr/auditor-skill.git ~/.claude/skills/auditor-skill

For one project only, put the folder in .claude/skills/auditor-skill inside it instead.

Claude Code docs on skills

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

mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/auditor-skill &&
git clone --depth 1 https://github.com/solanabr/auditor-skill.git ~/.agents/skills/auditor-skill

For one repository only, put the folder in .agents/skills/auditor-skill inside it instead.

Codex docs on skills

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

mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/auditor-skill &&
git clone --depth 1 https://github.com/solanabr/auditor-skill.git ~/.cursor/skills/auditor-skill

For one project only, put the folder in .cursor/skills/auditor-skill 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/solanabr/auditor-skill.git

Or copy the folder to ~/.gemini/skills/auditor-skill yourself.

Gemini CLI docs on skills

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

mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/auditor-skill &&
git clone --depth 1 https://github.com/solanabr/auditor-skill.git ~/.copilot/skills/auditor-skill

For one project only, put the folder in .github/skills/auditor-skill inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/solanabr/auditor-skill.git

Then copy auditor-skill into your agent's skills folder as auditor-skill. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Language-aware checklist selection
Detects Rust, TypeScript, Python and other languages and loads only the checklists that match the repository.
Item-by-item verdicts
Every in-scope checklist item and known attack vector receives a pass, fail, partial or not-applicable verdict.
Solana program review
Covers account validation, signer checks, arithmetic, CPI and PDA safety and state machine logic for Anchor and native programs.
CI and workflow security
Reviews GitHub Actions triggers and AI agent steps for risks such as unsafe pull request checkouts.
Quick scans and PR diffs
Runs shallow triage on a repository or a branch diff, with a smaller declared scope and CI-friendly modes.
Audit report generation
Produces a client-style audit report with an executive summary, severity ratings and coverage notes.
Post-incident hunting
Helps trace suspicious transactions and program logs after an attack and proposes containment steps for humans to carry out.

Good for

  • Audit a Solana Anchor program for missing signer checks and unchecked accounts
  • Review a pull request diff for security regressions before merging
  • Check a TypeScript backend for injection and auth weaknesses
  • Review GitHub Actions workflows for pwn request risks
  • Generate a security report covering a full repository before a release
  • Investigate transaction history after a suspected drain

Auditor skill FAQ

Which languages and repositories does Auditor skill cover?

It covers Solana and Anchor programs in Rust, TypeScript, Python, Go, Java, Ruby and PHP, with a general checklist for other languages.

Does Auditor skill change code or send transactions?

The incident track only proposes actions and never signs, sends, pauses or upgrades anything. Its GitHub Actions review is static and read-only.

What tools does Auditor skill need?

It uses bundled Bash, Python, Rust and Lua scripts and a Rust pre-scanner, and it runs them from an allowlist of commands in its tool permissions.

Is Auditor skill a replacement for a human audit?

No. The skill states it is a first pass and should be paired with a human audit for business logic, economic models and legal review.

How do I install Auditor skill in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/auditor-skill to use it in all your projects, or to .claude/skills/auditor-skill in one project. Or install the auditor plugin, which includes it: /plugin marketplace add solanabr/auditor-skill, then /plugin install auditor@auditor.

Does Auditor skill run scripts?

Yes. It runs shell, Lua, Python and Rust scripts. Its scripts contain network calls. 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 Auditor skill?

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 Auditor skill?

The closest alternatives to Auditor skill are Solana audit flow, Solana vulnerability scanner, Security audit, Vulnhunter solana and Audit prep assistant.

Where this comes from

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

More from solanabr/auditor-skill

  1. Runs offline incident-log analysis phases for Solana auditor workflows

    • Open source
    • 67 GitHub stars
    • Security