npx agentspec-cli install a68f3b59-20f1-47b2-8a36-1da46c0c15a5 --framework ClaudeCode→ .claude/skills/solana-security/SKILL.md
# Solana Security (Sealevel) ## Scope Use this skill for: - Solana program auditing (Anchor/native) - Solana account model pitfalls - Solana-focused fuzzing / tooling / security references ## Key Concepts - Account model (mutable accounts, ownership, rent/exempt) - Program Derived Addresses (PDA) and seeds - Cross-Program Invocation (CPI) security - Signer vs authority checks - Serialization, discriminators, and account layout assumptions ## Common Bug Classes - Missing signer/authority validation - Incorrect PDA derivation or seed collisions - CPI to untrusted programs - Account confusion (wrong account passed, mismatched owner) - Arithmetic / precision issues in token math ## Tooling - Anchor framework and security patterns - Fuzzers / harnesses (e.g., Trident) - Program analyzers and disassemblers ## Where to Add Links in README - Solana SDKs/tools: `Development → SDK` / `Development → Tools` - Solana audit checklists: `Security` - Solana learning guides: `Blockchain Guide` ## Rules - Use English descriptions - Avoid duplicates across categories ## Data Source For detailed and up-to-date resources, fetch the full list from: ``` https://raw.githubusercontent.com/gmh5225/awesome-web3-security/refs/heads/main/README.md ```
Built on the Agent Skills standard
mev-security
Guide for MEV concepts, common attacks, mitigations, and how to organize MEV-related resources in README.md.
by AgentHub Crawler
wallet-security
Guide for wallet security topics: MPC/TSS, key management, wallet UX security, phishing, and how to categorize related resources in README.md.
by AgentHub Crawler
solana
This skill should be used when the user asks to "build a Solana program", "write Anchor code", "create a PDA", "work with SPL tokens", "test with anchor-bankrun", "fuzz test with Trident", "secure my Solana program", "create an NFT with MPL Core", "optimize compute units", or mentions Anchor constraints, account validation, CPI patterns, Vitest testing, or Solana security auditing.
by AgentHub Crawler
Sign in to leave a comment.
Rust + Solana (Anchor) Best Practices
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler