solana-vulnerability-scanner

Detect critical security vulnerabilities in Solana and Anchor programs.

9|2|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/hongmaple0820/agent-academy --skill solana-vulnerability-scanner-hongmaple0820
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: solana-vulnerability-scanner
Source: https://github.com/hongmaple0820/agent-academy/tree/main/skills/design/building-secure-contracts/skills/solana-vulnerability-scanner
Command: npx skills add https://github.com/hongmaple0820/agent-academy --skill solana-vulnerability-scanner-hongmaple0820

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Solana vulnerability scanner helps security engineers audit Solana/Anchor programs by automatically detecting known critical security flaws, accelerating threat assessment and remediation.

Core Features & Use Cases

  • Detects 6 critical vulnerability patterns specific to Solana: Arbitrary CPI, Improper PDA validation, Missing ownership checks, Missing signer checks, Sysvar spoofing, and Improper instruction introspection.
  • Platform-agnostic workflow: scans native Solana programs and Anchor-based programs to produce actionable findings.
  • Use cases include pre-launch audits, code reviews, and security hardening of on-chain programs with guidance on mitigations.

Quick Start

Scan your Solana project by running the vulnerability scanner on the root of your workspace to generate a security report.

Frequently Asked Questions about solana-vulnerability-scanner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit a Solana program for missing signer and ownership checks?▼

To audit a Solana program for missing signer and ownership checks, use a vulnerability scanner to automatically analyze program code and accounts, generating findings with file references and remediation guidance.

What is improper PDA validation and arbitrary CPI in Solana security?▼

Improper PDA validation and arbitrary CPI are critical Solana vulnerability patterns where programs fail to verify account addresses or cross-program invocation targets, leading to cross-program exploits that scanners detect.

Does the Solana vulnerability scanner work with Anchor and native Rust programs?▼

Yes, the Solana vulnerability scanner works with Anchor and native Rust programs by analyzing program code, accounts, and CPI patterns to detect security weaknesses across both project types.

How do I check for sysvar spoofing and instruction introspection issues before launching a Solana contract?▼

To check for sysvar spoofing and improper instruction introspection before launching a Solana contract, run a pre-launch vulnerability scanner on your workspace root to generate a security report.

What's the best way to detect cross-program exploit risks in Solana code reviews?▼

The best way to detect cross-program exploit risks in Solana code reviews is to use an automated vulnerability scanner that identifies six critical patterns including arbitrary CPI and improper PDA validation.