solana-security
Installation
SKILL.md
Solana Security Auditing
Systematic security review framework for Solana programs, supporting both Anchor and native Rust implementations.
Review Process
Follow this systematic 5-step process for comprehensive security audits:
Step 1: Initial Assessment
Understand the program's context and structure:
- Framework: Anchor vs Native Rust (check for
use anchor_lang::prelude::*) - Anchor version: Check
Cargo.tomlfor compatibility and known issues - Dependencies: Oracles (Pyth, Switchboard), external programs, token programs
- Program structure: Count instructions, identify account types, analyze state management
- Complexity: Lines of code, instruction count, PDA patterns
- Purpose: DeFi, NFT, governance, gaming, etc.