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 分