
Solana Security Standard
io.github.Copenhagen0x由 GitHub 帳號 Copenhagen0x 發布v1.5.0更新於 Oct 24, 2026
Scan Solana/Anchor code against the Solana Security Standard and serve the ruleset to MCP clients.
概覽
本機 MCP 伺服器,依 Solana 安全標準掃描 Solana/Anchor Rust 程式碼片段,並向助理提供含 52 條規則的安全規則集。
- 可以做什麼
- 依 SOL-0XX 快速模式掃描 Solana/Anchor Rust 程式碼片段,回傳附規則編號、行:欄與修正提示的提示性結果,並排除 client、cli、offchain、sdk、tests 等鏈下路徑。取得完整標準:威脅模型、審查清單以及全部 52 條附修正說明的編號規則。借助此規則集更安全地撰寫與審查 Solana 程式碼。
- 適用情境
- 當助理撰寫或審查 Solana/Anchor 鏈上 Rust 程式碼,且你希望取得依規則的快速提示並把完整安全標準放入上下文時適用。掃描結果是供人工複核的提示,並非已確認的漏洞。
- 執行需求
- 透過 npx 從 npm 套件 @jelleo/solana-security-mcp 以本機 stdio 程序執行,需要 Node.js 與 npx。未宣告驗證、環境變數或標頭,README 稱執行時不會發出網路請求。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Solana Security Standard,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Solana Security Standard - MCP server
A Model Context Protocol server that brings the Solana Security Standard (SOL-0XX) to any MCP client - Cline, GitHub Copilot, Cursor, Claude, Windsurf, and more. One integration, every tool.
What it gives your assistant
Two tools:
scan_solana_code- scan a snippet of Solana/Anchor Rust against the SOL-0XX fast patterns; returns advisory findings (rule id + line:col + fix hint). A match means "look here," not a confirmed bug. Off-chain paths (client/cli/offchain/sdk/tests) are excluded.list_solana_security_rules- return the full standard: threat model, review checklist, and all 52 numbered rules with fixes, so the assistant can write and review Solana code safely.
Install
Add it to your MCP client config (no global install needed):
That's the whole setup. The server speaks JSON-RPC 2.0 over stdio.
Privacy Policy
100% local. This server runs the same zero-dependency scanner as the CLI entirely on your machine - no network calls, no telemetry, nothing fetched at runtime. The scanner core and rules are vendored into the package.
- Data collection: none - the code you scan and the rules you fetch never leave your machine.
- Usage & storage: inputs are processed in memory to produce the scan result; nothing is stored or logged.
- Third-party sharing: none.
- Retention: none - no data is persisted by this server.
- Contact: [email protected]
Full policy: https://jelleo.com/privacy.html
How it fits
This is the MCP layer of the Solana Security Standard. The same SOL-0XX rules also ship as a CLI, a GitHub Action, a Semgrep ruleset, editor rules files (integrations/), and a VS Code extension.
MIT. By Jelleo.
來源:mcp/README.md,提交 f6b6a13
工具
0版本歷史
1- v1.5.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分