agent-7702 Pro — Diagnose, Revoke & Rescue EIP-7702 Wallets

    by dayuwidayadi

    1

    EIP-7702 lets an ordinary wallet delegate its code to a contract.

    $29

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    agent-7702 Pro — Diagnose, Revoke & Rescue EIP-7702 Wallets

    Example session with this skill installed

    Check if the wallet 0x1234...abcd is delegated on any chain and show the report.

    • Read your context and instructions
    • Compiled the agent-7702 pro

    I have performed a diagnostic check across all supported chains for the address 0x1234...abcd. The scan cross-referenced active delegations against the internal registry of known drainers and verified implementations.

    Delegation Diagnosis Report

    ChainStatusDelegate AddressRegistry MatchAction Required
    EthereumCLEAN--None
    BaseCLEAN--None
    BSCDELEGATED0x9876...fedcKNOWN DRAINERImmediate Revoke
    ArbitrumCLEAN--None
    OptimismCLEAN--None
    PolygonCLEAN--None
    SepoliaDELEGATED0x759b...0464RescueDelegateV4None (Self)

    The scan identified a malicious delegation on

    BSC. The address is currently delegated to a known drainer. Do not fund this wallet directly, as any native gas deposits will likely be swept immediately.

    Next steps

    1. Initialize a new relayer for BSC: agent7702 relayer new --chain bsc.
    2. Generate a revocation signature: agent7702 sign-revoke --chain bsc --wallet-file ./keys/victim.json.
    3. Execute the revocation via the relayer: agent7702 revoke --chain bsc --wallet-file ./keys/victim.json --relayer-file ./keys/relayer.json --execute.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    EIP-7702 lets an ordinary wallet delegate its code to a contract. Attackers abuse signed authorizations to install drainer delegates: from that moment the attacker's code controls the wallet, anything deposited is swept within seconds, and the owner cannot even pay gas to fight back. agent-7702 is the countermeasure toolkit, built from a real drainer-victim case and verified live on Sepolia and BSC mainnet. This Pro package gives your agent everything it needs to operate the tool end to end: Diagnose any address across Ethereum, Base, BSC, Arbitrum, Optimism, Polygon, and Sepolia — read-only, no keys (check). Revoke a hostile delegation safely: the revoke path is hard-locked to the zero address, so it can only heal, never delegate. Install a delegation to a chosen contract (e.g. upgrading an EOA to a Smart Account) behind a two-way trust registry that refuses known drainers at both the signing and the submission layer. Rescue what is left: the unified mission command (RescueDelegateV4, live on BSC mainnet and Sepolia) runs one atomic type-4 transaction — install the rescue delegate, execute transfers / claims / general calls, forward the gains to a safe address — then the closing revoke. Claim actions forward the entire airdrop gain, so claimed tokens never rest in the delegated wallet. Smart-wallet batching (BatchCallDelegationV2, live on BSC mainnet and Sepolia): turn a wallet into a persistent smart account and run signed batches — sends, claims, general calls — through one command. Relayer security model: the victim wallet never pays gas and is never funded while delegated; a separate relayer key holds only a tiny float under per-chain caps, with a watchdog script that alarms on any unexplained nonce or balance change. Every state-changing command is a dry run unless --execute is passed, every claim/call is simulation-first, and every result is verified on-chain before it is reported. What is in the package: SKILL.md — the complete operator manual (commands, registries, relayer security model, standard workflows, safety rules). scripts/watchdog.mjs — the relayer watchdog. reference/DESIGN.md — the design document with field-tested findings from the real victim case. reference/-deployment.json — verified deployment records for every rescue delegate (V1–V4) and the batch delegate (BSC mainnet + Sepolia), with bytecode-verification notes. reference/quickstart.md — one-page quickstart. reference/mission-templates/ — heal-mission and claim-rescue mission templates (placeholders clearly marked, adapt before use). Requirements: Node.js >= 18. The CLI is installed from npm (npm install -g agent-7702). A relayer setup is needed for any on-chain submission (the skill documents the security model); diagnosis works with no keys at all. Honest note: The core agent-7702 CLI is open-source software (MIT) on npm (agent-7702, v0.6.0) — anyone can install the CLI itself for free. This listing is the Pro guided package: the adapted operator skill, the full reference library (design document + verified deployment records, which are NOT in the npm tarball), the relayer watchdog, the one-page quickstart, and the ready-to-adapt mission templates. You are paying for the guided, ready-to-run package — not for the CLI binary.

    Requires Node.js 18+. Unified mission delegate (V4) is currently limited to BSC and Sepolia registries. Relayer keys must be stored in ~/.agent7702/ with 600 permissions.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 5 days ago

    Accounts
    Paradigm
    Software
    Node.jsagent-7702

    Permissions

    Terminal / Shell
    Network Access
    Read Files
    Write Files

    Allowed Hosts

    foundry.paradigm.xyz
    Listed5 days ago

    What's inside

    Frequently Asked Questions

    Agent 7702 is designed to reclaim EOAs (Externally Owned Accounts) that have been hijacked via malicious EIP-7702 delegations, allowing you to revoke attacker access and rescue assets before they are drained.

    The skill supports seven major EVM networks: Ethereum, Base, BSC, Arbitrum, Optimism, Polygon, and Sepolia. Note that specialized features like atomic claiming are currently optimized for BSC and Sepolia.

    Your private keys never leave your local environment; the skill uses a relayer-first model where the relayer pays the gas fees, preventing you from accidentally sending ETH to a compromised address that a drainer could steal.

    You will receive the complete Node.js-based CLI toolkit, integration modules for viem and Foundry, and the security registries used to identify and block known malicious contracts.

    You will need Node.js 18 or higher installed, along with Foundry's 'cast' tool for on-chain verification; the skill also integrates with Binance Agentic Wallet for gas treasury management.

    The skill uses a two-way trust registry that automatically checks delegation targets against a database of known malicious contracts, preventing you from accidentally upgrading your wallet to a secondary drainer.

    New in Web3 & Crypto

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Web3 & Crypto.