Allows AI agents to check EVM addresses across eight chains for unauthorized EIP-7702 delegations and malicious wallet sweepers.
Also known as devx-agent/7702-sweeper-check, 7702-sweeper-check, devx-7702-check
- Stars
- 0
- Tools
- —
- Downloads, 30 days
- —
- Latest version
- 1.1.0
- Last commit
- Oct 30, 2026
- License
- MIT
What is 7702 Sweeper Check MCP?
7702 Sweeper Check allows AI agents to check EVM addresses across eight chains for unauthorized EIP-7702 delegations and malicious wallet sweepers.
Summary generated from the project's README
About 7702 Sweeper Check MCP server
Scanning EVM addresses for unauthorized EIP-7702 delegations and malicious sweeper contracts is what this MCP server enables AI agents to do. It monitors eight different chains, including Ethereum, Base, BNB Chain, Arbitrum, OP, Polygon, Gnosis, and Unichain, to identify if a wallet has been compromised by tiny contracts that forward funds to attackers.
Developers can connect to this service as a remote server via a URL or run it locally using npx devx-7702-check mcp. The server provides tools like check_7702_delegation and full_report_info to facilitate these security audits. While basic checks are free, a paid full report can be requested for 0.01 USDC on Base to access advanced bytecode heuristics, source-verification status, and risk levels. This tool is read-only and never requires private keys or seed phrases to function.
What you can do with it
- 1Detect unauthorized wallet delegationsAsk the AI to check if an Ethereum address has any unexpected EIP-7702 contract code attached to it.
- 2Analyze contract bytecode heuristicsUse the paid report feature to determine if a delegate address follows a known sweeper pattern.
Written from the project's README. Every use case is checked against a quote from it.
How to install 7702 Sweeper Check MCP
Formats verified 10 Nov 2026Add to CursorAdd to GooseInstall 7702 Sweeper Check MCP in Claude Code
$ claude mcp add 7702-sweeper-check -- npx -y devx-7702-checkInstall 7702 Sweeper Check MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"7702-sweeper-check": {
"command": "npx",
"args": [
"-y",
"devx-7702-check"
]
}
}
}Install 7702 Sweeper Check MCP in VS Code
.vscode/mcp.json
{
"servers": {
"7702-sweeper-check": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"devx-7702-check"
]
}
}
}Install 7702 Sweeper Check MCP in VS Code CLI
$ code --add-mcp '{"name":"7702-sweeper-check","type":"stdio","command":"npx","args":["-y","devx-7702-check"]}'Install 7702 Sweeper Check MCP in Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"7702-sweeper-check": {
"command": "npx",
"args": [
"-y",
"devx-7702-check"
]
}
}
}Install 7702 Sweeper Check MCP in Codex
$ codex mcp add 7702-sweeper-check -- npx -y devx-7702-checkInstall 7702 Sweeper Check MCP in Codex config.toml
~/.codex/config.toml
[mcp_servers.7702-sweeper-check] command = "npx" args = ["-y", "devx-7702-check"]
Install 7702 Sweeper Check MCP in Gemini CLI
$ gemini mcp add -s user 7702-sweeper-check npx -- -y devx-7702-checkInstall 7702 Sweeper Check MCP in Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"7702-sweeper-check": {
"command": "npx",
"args": [
"-y",
"devx-7702-check"
]
}
}
}Automated checks
Ran Nov 14, 2026Full report →Passed our automated checks. That is not a security audit: read the code and give the server the narrowest access it needs. How checks work
- Source repository linked and reachabledevx-agent/7702-sweeper-check is public and reachablegithub.com/devx-agent/7702-sweeper-check ↗Pass
- Package names this repository as its sourcedevx-7702-check names devx-agent/7702-sweeper-check as sourcenpmjs.com/package/devx-7702-check ↗Pass
- Build provenance (Sigstore attestation)No build attestation published for this releaseNot checked
- Open source license (OSI)MITspdx.org/licenses/MIT.html ↗Pass
- Commit or release in the last yearLast commit or release 2026-10-30github.com/devx-agent/7702-sweeper-check ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNo popular package one edit away from devx-7702-checkPass
- No critical advisory in the package or its dependencies99 resolved dependencies checked; no critical advisoryosv.dev ↗Pass
- No hidden instructions to the model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNot checked
- Remote endpoint answers the MCP handshakeinitialize answered with protocol 2025-06-18 in 38 msPass
README
View on GitHub7702 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 localnpx 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):
PUSH20constants other than your own address and the ERC-4337 EntryPoints, combined withCALL, 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 = error
npx devx-7702-check 0xabc... --json
MCP
Claude Desktop / Cursor config:
{ "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 packagedevx-7702-check(CLI + stdio MCP server)
Made by DevX. MIT.
Guide
- What is an EIP-7702 sweeper?
- Related free tool: Crypto Link Check — is that wallet or exchange link real?
- Related free tool: Address Poisoning Check — is the address you are about to pay a poisoned lookalike?
7702 Sweeper Check MCP questions
How do I add 7702 Sweeper Check MCP to Claude Code?
Run claude mcp add 7702-sweeper-check -- npx -y devx-7702-check in your terminal. Add --scope user to make it available in every project.
How do I add 7702 Sweeper Check MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
Does this tool require my private keys?
No, the tool is read-only and never asks for or touches private keys or seed phrases.