What problem does it solve? Solana programs have unique security pitfalls tied to their account model—arbitrary CPI calls, improper PDA validation, missing signer and ownership checks—that are easy to miss in manual review and can lead to drained funds or unauthorized access. This Skill systematically audits Solana and Anchor codebases for these platform-specific vulnerabilities. ## Core Features & Use Cases - Six Vulnerability Patterns: Detects arbitrary CPI, improper PDA validation, missing ownership checks, missing signer checks, sysvar spoofing, and improper instruction introspection. - Structured Audit Workflow: Guides a six-step scanning process covering CPI security, PDA validation, account validation, and instruction introspection with ripgrep search commands. - Severity-Ranked Reporting: Produces findings with file locations, vulnerable code snippets, attack scenarios, and secure remediation code for both native Rust and Anchor. - Use Case: Before launching a Solana protocol, run this Skill against your programs/ directory to catch a missing is_signer check on a withdraw function that would let any attacker drain the vault. ## Quick Start Audit the Solana programs in this repository for critical vulnerabilities and report findings with severity ratings and fixes.