EVMole

io.github.cdump由 GitHub 账号 cdump 发布v0.9.4更新于 Oct 24, 2026

Local structured analysis of deployed EVM runtime bytecode

已验证STDIO仅桌面开发者工具安全与监控

概览

AI 生成的概览

在本地分析已部署的 EVM 运行时字节码,提取函数选择器、参数、可变性、存储访问、元数据与控制流。

可以做什么
只提供一个工具 analyze_evm_bytecode,接受十六进制运行时字节码以及可选的 include 功能名、offset 和 limit。它可以提取函数选择器与分发位置、推断的参数与状态可变性、推断的持久与瞬态存储访问、编译器元数据,以及可选的反汇编、基本块和控制流图。结果以结构化内容返回,并附带 JSON 文本回退,解读前应检查 warnings 和 pagination。
适用场景
当助手需要在没有源码的情况下检查或推理已部署的 EVM 合约字节码时适用,例如列出选择器、推断函数签名或可变性,或查看存储访问与控制流。它是本地分析工具,不是链上客户端。
运行要求
需要 Node.js 22 或更高版本,通过 npx evmole-mcp@latest 以 stdio 在本地运行。不需要凭据、API 密钥或网络访问。
安装前请注意
该服务器不发起网络请求、不需要凭据、不写入文件。其输出是推断结果,而非经过验证的源码级事实:参数、可变性和存储描述均为推测。它不解码 calldata、不验证源码、不执行创建字节码,也不进行完整反编译。反汇编与控制流输出可能很大,应检查 warnings 和 pagination。

安装

在 SourceWeft 中

  1. 打开 控制台中的 EVMole,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

evmole-mcp

evmole-mcp is the local MCP server for EVMole, a structured analyzer for deployed EVM runtime bytecode. It exposes one tool, analyze_evm_bytecode, for use by MCP-compatible agents and clients.

Start the server

bash
npx -y evmole-mcp@latest

Node.js 22 or newer is required.

Configure an MCP client

json
{  "mcpServers": {    "evmole": {      "command": "npx",      "args": ["-y", "evmole-mcp@latest"]    }  }}

The server communicates over stdio.

Analyze runtime bytecode

The analyze_evm_bytecode tool accepts hexadecimal bytecode, optional include feature names, and optional offset and limit values. It can extract:

  • function selectors and dispatch locations;
  • inferred arguments and state mutability;
  • inferred persistent and transient storage access;
  • compiler metadata;
  • disassembly, basic blocks, and a control-flow graph.

Function selectors can be requested on their own with selectors. Requesting arguments or stateMutability also enables selector extraction, and the requested function information is combined in analysis.functions. Other requested analyses are returned in their corresponding analysis fields.

If include is omitted, the tool analyzes selectors, arguments, state mutability, both storage domains, and metadata. Disassembly and control-flow features are opt-in because their output can be large. The tool returns the canonical version 1 EVMole response as structured content plus a JSON text fallback. Check warnings and pagination before interpreting the result.

Privacy and limitations

The server uses stdio only, makes no network requests, requires no credentials, does not fetch contract addresses, and writes no files. It does not decode calldata, verify source, execute creation bytecode, or fully decompile source. Arguments, mutability, and storage descriptions are inferred rather than verified source-level facts.

Each evmole-mcp release depends on the matching exact evmole version.

See https://github.com/cdump/evmole/tree/master/agent for full setup and privacy guidance. Report problems at https://github.com/cdump/evmole/issues.

来源:agent/mcp/README.md,提交 1bcfbca

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v0.9.4最新Oct 13, 2026
  2. v0.9.3Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分