Skip to main content
skill CX Codex

solana-security-standard — Claude Code skill: setup and usage

solana-security-standard is a Claude Code skill that detects 37 vulnerability classes in Solana and Anchor programs during development and CI.

no license 268 installs ★ 13 updated 2026-10-09

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/security-skills --skill solana-security-standard -a claude-code
Open on GitHub

What solana-security-standard does

This skill brings the SOL-0XX standard into your coding workflow, built around attack vectors responsible for over $514M in historical exploits. It targets common Solana flaws: spoofed clock values controlled by callers, missing signer and owner checks, wrapper drift from core program logic, and flawed PDA derivations.

Checks execute within assistant sessions, through MCP tools, or via a standalone command line runner. Because the CLI exits with a non-zero status on findings, security scans reliably gate pull requests in CI pipelines.

Coverage extends beyond Rust on-chain code into client-side TypeScript and JavaScript. It flags client-level arithmetic overflow risks, missing transaction pre-flight simulations, and hardcoded program keys.

What it helps with

  • detect caller-manipulated clock slots in Anchor instructions
  • verify accounts for missing signer or ownership constraints
  • flag client-side arithmetic bugs in TypeScript integration files
  • run automated Solana vulnerability scans in pull request workflows

Example prompts for the agent

  • Scan my Solana program for security issues against SOL-0XX rules
  • Check this Anchor account validation logic for missing signers
  • Validate this PDA derivation logic against the Solana security standard

How to install solana-security-standard

1Skills CLI (Vercel)

npx skills add reason-machines/security-skills --skill solana-security-standard -a claude-code

2Manually: put the files in place

~/.claude/skills/solana-security-standard/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/solana-security-standard/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about solana-security-standard

How to install solana-security-standard in Claude Code?

Run npx skills add reason-machines/security-skills --skill solana-security-standard -a claude-code in your terminal.

What does solana-security-standard inspect?

It evaluates code against 37 vulnerability categories, including account type confusion, uninitialized state, and missing rent exemption checks.

Can it run in terminal pipelines without interactive tools?

Yes. Run npx @jelleo/solana-security-standard scan ./programs directly to output terminal findings or format results as SARIF and JSON.

Similar skills

All skills for Security →

From the same set129

The whole set →
linux-pentester-command-reference linux-pentester-command-reference — a skill that hands your agent a Linux command reference split by pentest phase: recon, enumeration, exploitation, privesc. CX Codex +1 313installs linux-pentesting-command-reference linux-pentesting-command-reference — a skill that feeds the agent a Linux command cheat sheet for recon, service enumeration, privilege escalation and staying on the box. Handy in labs and CTFs where a one-liner beats theory. CX Codex +1 290installs microsoft-security-skills-plugin This skill gives AI agents Microsoft Security guidance for Defender, Sentinel, Entra, Purview, and Intune. Use it when planning policies or security workflows. CX Codex +1 276installs pentest-r1-autonomous-penetration-testing pentest-r1-autonomous-penetration-testing guides setup of a two-stage reinforcement learning pipeline for autonomous penetration testing. Ideal for training security models in interactive sandboxes. CX Codex +1 271installs jellyfin-security-plugin jellyfin-security-plugin walks your coding agent through adding two-factor login, passkeys, OIDC single sign-on and IP bans to a Jellyfin 10.11+ server. CX Codex +1 265installs deepseek-pentest-ai-burp-extension deepseek-pentest-ai-burp-extension guides configuration and usage of a DeepSeek-driven Burp Suite extension to automate parameter detection and security fuzzing. CX Codex +1 262installs claude-pentest-framework claude-pentest-framework — a Claude skill that runs a structured pentest with 15 executor agents and 63 attack categories, asking the operator for approval before anything is exploited. CX Codex +1 261installs pentester-mcp-security-tools pentester-mcp-security-tools connects over 200 penetration testing tools to AI coding agents via MCP. Useful for automated port scanning and directory fuzzing from chat. CX Codex +1 261installs

Project sponsors

Companies that keep this analytics open