Scan Solana/Anchor code against the Solana Security Standard and serve the ruleset to MCP clients.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
The Solana Security Standard β
SOL-0XXrules distilled from $514M of real exploits, firing as you code in every AI tool (Claude Code, Codex, Cursor, Windsurfβ¦), your editor, and CI. By the auditors who find them.

The same SOL-0XX rules flag Solana-specific bugs while you code β caller-controlled clock values, cross-market state asymmetry, wrapper handlers that drift from engine logic, missing Anchor constraints, and 52 bug classes in all, drawn from real audits.
Works in: Claude Code Β· Codex Β· Copilot Β· Cursor Β· Windsurf Β· Cline Β· Aider Β· any MCP client Β· the VS Code extension (Open VSX) Β· the CLI Β· Semgrep Β· GitHub Actions. Pick your surface below.
plugin-guidance.md is the compact β€8 KB plugin digest (every rule as a one-line cue, generated from the full claude-security-guidance.md); it lands as the plugin's .claude/claude-security-guidance.md. Full per-rule detail is one MCP call (list_solana_security_rules) or one click (the master on GitHub) away.
Then make sure you have Anthropic's security-guidance plugin installed:
Done. Open a Solana program file in Claude Code and the plugin will catch issues as you write.
(This pulls from main with no integrity check. For supply-chain-sensitive use, see Verified install below.)
Or install the whole standard as a Claude Code plugin (the MCP scan tool + a /scan command, auto-wired):
For CI or supply-chain-sensitive setups, pin to a release tag and verify the download against the published CHECKSUMS.txt instead of pulling main:
Note: the
plugin-guidance.mddigest ships from v1.11.0 onward. Pin the latest release tag in the flow below.
Pinning to a tag freezes you to a known release (a tampered main can't reach you); the checksum confirms nothing was altered in transit. (Hashes are over the LF bytes GitHub serves β verify the downloaded files, not a CRLF local checkout.) Tags from v1.9.1 on are SSH-signed β verify origin with git verify-tag v1.12.0 (key + steps in SECURITY.md). (Checksums and the in-repo allowed-signers can't defend against a full account compromise that rewrites both β the signed tag, verified out of band, is the origin check for that.)
Gate every pull request on the standard. The same SOL-0XX patterns run as a check, with inline annotations on the diff:
Then show the world you adopt it β drop this badge in your README:
Human, JSON, or SARIF output; exits non-zero on findings (so it gates any CI). Zero dependencies. Details in cli/.
Every machine rule is scored against its canonical vulnerable/fixed example pair on every change β see BENCHMARK.md (generated, CI-enforced: a rule that stops detecting its bug, or starts flagging its fix, cannot merge).
The VS Code extension shows SOL-0XX findings as inline warning squiggles as you
type, in Rust and TypeScript/JS files. Same engine as the CLI, 100% local (no telemetry). Install it
from Open VSX β works in Cursor,
Windsurf, and VSCodium; on stock VS Code, sideload the .vsix from extensions/vscode/
(the Microsoft Marketplace listing is pending publisher verification). Details in extensions/vscode/.
Already have a Semgrep pipeline? Point it at the ported ruleset:
The same SOL-0XX rules as pattern-regex rules. Details in semgrep/.
Most AI coding tools read a rules/instructions file. integrations/ ships the SOL-0XX
standard in each tool's native format β all generated from the one source β so your assistant writes
and reviews Solana/Anchor code against the rules. Copy the file for your tool (full matrix in
integrations/README.md):
| Tool | Copy into your repo |
|---|---|
Codex / any AGENTS.md agent | integrations/codex/AGENTS.md |
| GitHub Copilot | integrations/copilot/.github/copilot-instructions.md |
| Cursor | integrations/cursor/.cursor/ |
| Windsurf | integrations/windsurf/.windsurf/ |
| Cline | integrations/cline/.clinerules |
| Aider | integrations/aider/ (with an optional scanner lint command) |
Prefer the Model Context Protocol? The MCP server gives any MCP client (Cline, Copilot,
Cursor, Claude, Windsurf) a scan_solana_code tool plus the full rule set β no file to copy:
100% local, same scanner as the CLI. Details in mcp/.
hacks/ maps real, disclosed Solana exploits to the SOL-0XX rule class each one falls under β
Wormhole, Mango Markets, Cashio, Crema, Nirvana, Cypher, Loopscale, and more ($514M+ in documented
losses). Every entry is cited, and incidents no code rule can prevent (stolen keys, off-chain wallets)
are flagged as such rather than misattributed β the same honesty the rest of this repo holds itself to.
Browse the database β.
content/content/ is a standalone explainer for all 52 rules: what each catches, the fix, whether
it is machine-checkable or review-only, the real exploits in that class (cross-linked to the Hacks
Database), and a code example where one exists. One page per rule β all generated from the standard +
patterns + hacks + examples, so nothing drifts.
disclosures/ feedFactual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/solana-security-standard)<a href="https://allmcps.com/mcp/solana-security-standard"><img src="https://allmcps.com/api/badge/solana-security-standard?style=directory" alt="Solana Security Standard on AllMCPs" /></a>