
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 分