WalletTriage

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

Real-time exploit-exposure risk check for EVM wallets, paid per query via x402 (USDC on Base).

已验证STDIO仅桌面金融安全与监控

概览

AI 生成的概览

WalletTriage 为 EVM 钱包地址提供实时漏洞暴露风险检查,每次付费查询通过 x402 以 Base 上的 USDC 由本地会话密钥结算。

可以做什么
检查 EVM 地址风险:将危险的 ERC20 授权与实时受攻击合约威胁源交叉比对,返回风险评分、风险等级和可操作发现(按次付费)。查询服务状态和当前每次查询价格(免费)。
适用场景
适合在助手即将与陌生 EVM 地址或合约交互前,先做一次暴露风险检查再决定是否授权或转账。也可在给会话钱包充值前先确认服务可用性和价格。
运行要求
通过 npx 在本地运行,需要 Node 20+。需要设置环境变量 EVM_PRIVATE_KEY:一个专用会话钱包的私钥,该钱包在 Base 上持有少量 USDC。可选配置:GATEWAY_URL(默认公共生产网关)、MAX_PAYMENT_ATOMIC(默认 100000,即 0.10 美元)和 DEFAULT_SCAN_CHAIN(默认 eth)。需要能访问网关的网络。
安装前请注意
服务器要求通过 EVM_PRIVATE_KEY 提供钱包私钥,用于在 Base 上签署真实 USDC 付款;请使用专用的低余额钱包,切勿使用主钱包私钥。每次风险检查都会花费 USDC,受 MAX_PAYMENT_ATOMIC 上限约束。不要关闭 TLS 验证,因为付款数据通过请求头传输。README 称查询为无状态,不持久化任何内容。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

wallettriage-mcp

MCP server for WalletTriage — real-time exploit-exposure check for EVM wallets, built for AI agents. Each query is paid via x402 (USDC on Base) signed locally by a session key: no signup, no API key, no prompts. Stateless — nothing about you or your queries is persisted.

Tools

  • check_address_risk (paid) — real-time risk for an EVM address: dangerous ERC20 approvals cross-referenced with a live threat feed of contracts under attack. Returns risk_score (0–100), risk_level and actionable findings.
  • get_pricing (free) — service status and current price per query.

Setup (Claude Desktop, Claude Code, Cursor)

Requires Node 20+. Add to your MCP config (e.g. claude_desktop_config.json):

json
{  "mcpServers": {    "wallettriage": {      "command": "npx",      "args": ["-y", "wallettriage-mcp"],      "env": {        "GATEWAY_URL": "https://api.wallettriage.com",        "EVM_PRIVATE_KEY": "0xREPLACE_WITH_SESSION_WALLET_PRIVATE_KEY",        "MAX_PAYMENT_ATOMIC": "100000"      }    }  }}

Fund the session wallet with a few USDC on Base. Use a dedicated, low-balance wallet — never your main key. It only signs gasless EIP-3009 USDC payments; WalletTriage never holds or moves funds.

EVM_PRIVATE_KEY is the wallet's private key (0x + 64 hex), not its address. No ETH needed — payments are gasless (EIP-3009). Test connectivity first with the free get_pricing tool before funding.

Then ask your agent: "Check the risk of 0xd8dA… before I interact with it."

Troubleshooting

  • unable to verify the first certificate (common on Windows / corporate networks): your antivirus or proxy intercepts TLS and Node doesn't use the system certificate store by default. Add "NODE_OPTIONS": "--use-system-ca" to the env block. Never disable TLS verification — payments travel in headers and must not be tamperable.
  • EVM_PRIVATE_KEY is malformed: the value must be 0x + 64 hex characters (the private key of the session wallet). Check for placeholder text, missing 0x or stray whitespace.
  • Gateway unreachable: GATEWAY_URL defaults to https://api.wallettriage.com. If you overrode it (e.g. to a local gateway), make sure that host is reachable and running.

Environment variables

VariableRequiredDefaultPurpose
EVM_PRIVATE_KEYyes—Session key that signs x402 payments (USDC on Base)
GATEWAY_URLnohttps://api.wallettriage.comWalletTriage API base URL. Defaults to production; set http://localhost:4021 for local dev (https enforced for non-local hosts)
MAX_PAYMENT_ATOMICno100000 (US$0.10)Refuses any 402 requirement above this cap (atomic USDC units, 6 decimals)
DEFAULT_SCAN_CHAINnoethDefault chain: eth, base, polygon, arbitrum, optimism, bsc

Local development

bash
npm installcp .env.example .env   # set EVM_PRIVATE_KEYnpm start              # runs src/server.ts via tsx (stdio)

Point at a local gateway with GATEWAY_URL=http://localhost:4021, or test with the MCP Inspector:

bash
npx @modelcontextprotocol/inspector npx tsx src/server.ts

npm run build emits dist/server.js (the published bin).

来源:README.md,提交 c1528dc

工具

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

版本历史

1
  1. v0.1.5最新Sep 16, 2026

评分

已满足适用检查项的 40%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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

    请在仓库或注册中心条目中声明许可证。