7702 Sweeper Check

io.github.devx-agent由 GitHub 账号 devx-agent 发布v1.1.0更新于 Oct 30, 2026

Free read-only EIP-7702 delegation / wallet-sweeper check for EVM addresses on 8 chains

发布方自己的服务:check.tattoo: tattoo size and placement guide

已验证Streamable HTTP可网页运行金融安全与监控

概览

AI 生成的概览

检查 EVM 地址在 8 条链上是否存在 EIP-7702 委托(可能是钱包 sweeper),并说明如何购买付费完整报告。

可以做什么
  • 在以太坊、Base、BNB Chain、Arbitrum、OP、Polygon、Gnosis 和 Unichain 上检查地址是否存在 EIP-7702 委托,并返回委托地址。
  • 获取付费完整报告的链接与购买说明,该报告增加字节码启发式分析、源码验证、风险等级和建议。
  • 只读查询:免费检查读取各链的合约代码和 nonce,不接触私钥。
适用场景
适合在怀疑钱包被植入 EIP-7702 委托时做一次免费快速核查,例如在可疑的 drainer 签名之后,或在信任某个地址之前。付费报告用于更深入的启发式风险评估。
运行要求
可通过 streamable HTTP 连接远程端点,或用 Node.js(npx)运行 npm 包 devx-7702-check 作为本地 stdio 进程。未声明认证、环境变量或请求头。付费报告需要 x402 支付客户端和 Base 上的 USDC。
安装前请注意
付费完整报告每次调用 0.01 USDC,通过 x402 在报告生成后扣费;信息工具本身不付款。检测为启发式方法,并非保证。若出现非本人设置的委托,README 建议将该密钥视为已泄露,并把资金转移到新钱包。

安装

在 SourceWeft 中

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

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.devx-agent%2F7702-sweeper-check/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "7702-sweeper-check": {
      "type": "http",
      "url": "https://sweeper-check.nextill-pos.workers.dev/mcp"
    }
  }
}

README

7702 Sweeper Check

Does your EVM wallet have an EIP-7702 delegation you didn't set?

Since Ethereum's Pectra upgrade, one signature can attach contract code to an ordinary wallet (EIP-7702). Smart-wallet upgrades use this legitimately. Drainers use it to install sweepers: tiny contracts that forward anything sent to your wallet straight to the attacker.

This project checks 8 chains at once: Ethereum, Base, BNB Chain, Arbitrum, OP, Polygon, Gnosis and Unichain.

  • Web (free): https://sweeper-check.nextill-pos.workers.dev
  • CLI (free): npx devx-7702-check 0xYourAddress
  • MCP server for AI agents (free): remote https://sweeper-check.nextill-pos.workers.dev/mcp, or local npx devx-7702-check mcp
  • JSON API (free): GET /api/basic?address=0x...
  • Full report (paid, 0.01 USDC on Base via x402): GET /v1/check?address=0x..[,0x..], 1–20 addresses per call. It adds:
    • a delegate bytecode heuristic (a small contract with a hard-coded forwarding address = the sweeper shape);
    • source-verification status (Sourcify / Blockscout);
    • a risk level and what to do. You're charged only after the report is produced. Humans can pay with a browser wallet on the web page: you sign one USDC authorization and pay no gas.

Read-only. It never asks for or touches private keys or seed phrases.

How detection works

A 7702-delegated account's code is exactly 0xef0100 ‖ <20-byte delegate address>. The free check reads eth_getCode and the nonce on each chain. The paid report then fetches the delegate's bytecode and walks the opcodes (skipping PUSH data):

  • PUSH20 constants other than your own address and the ERC-4337 EntryPoints, combined with CALL, in a contract under 1.2 KB → high (sweeper pattern).
  • SELFBALANCE + CALL + a hard-coded address → medium.
  • Verified source or ERC-4337 smart-account shape → low.
  • Otherwise → medium/unknown.

These are heuristics, not guarantees. If a delegation you didn't create shows up, treat the key as compromised and move funds to a new wallet made on a clean device. Re-delegating to 0x0 doesn't help if an attacker holds the key.

CLI

npx devx-7702-check 0xabc... 0xdef...    # exit code 0 = none, 2 = delegation found, 1 = errornpx devx-7702-check 0xabc... --json

MCP

Claude Desktop / Cursor config:

json
{ "mcpServers": { "7702-sweeper-check": { "url": "https://sweeper-check.nextill-pos.workers.dev/mcp" } } }

or stdio: { "command": "npx", "args": ["-y", "devx-7702-check", "mcp"] }

Tools: check_7702_delegation(address), full_report_info().

x402 (agents)

GET /v1/check?address=... returns 402 with a PAYMENT-REQUIRED header (x402 v2, scheme exact, network eip155:8453, USDC 0x8335…2913, amount 10000 = 0.01 USDC). Pay with any x402 client. Discovery: /.well-known/x402.json, /openapi.json. Terms: /terms.

Layout

  • worker/: Cloudflare Worker source (page, free API, x402 paid route, remote MCP)
  • cli/: the npm package devx-7702-check (CLI + stdio MCP server)

Made by DevX. MIT.

Guide

来源:README.md,提交 ea30287

工具

2

check_7702_delegation

Free, read-only: is an EIP-7702 delegation (possible wallet sweeper) set on this EVM address on Ethereum, Base, BNB Chain, Arbitrum, OP, Polygon, Gnosis, Unichain? Returns delegate addresses and a link to the paid full report (0.01 USDC via x402).

输入参数address必填

full_report_info

How to buy the full sweeper report (bytecode heuristic, source verification, risk, advice) via x402. Does not pay.

无需输入参数。

版本历史

2
  1. v1.1.0最新Oct 30, 2026
  2. v1.0.0Oct 30, 2026

评分

已满足适用检查项的 100%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Check 集成