EIP-7702: one signature, and your account is delegated to the attacker
EIP-7702 is a new Ethereum capability (shipped in the Pectra upgrade in 2025). It lets a plain EOA wallet
temporarily behave like a smart account: you sign an authorization, and your address starts executing the
code of a chosen contract. The feature is useful - but the cost of a mistake is high: one phished
authorization delegates your whole account to the attacker's contract, and it drains everything in a
single transaction - with no separate approve per token. This is
signature phishing in its most powerful form.
What EIP-7702 is and why it exists
Before Pectra an EOA (an ordinary private-key wallet) could not execute code of its own. EIP-7702 added the
SET_CODE authorization: you sign a message that points your EOA at a delegate - a
contract whose code the account will execute as itself. This unlocks convenient smart-account features:
batching several actions into one transaction, gas sponsorship, session keys. The delegate is set with a
single signature - no new wallet to deploy.
Why it is more dangerous than a plain approve or permit
When you make an approve or permit, you grant a right over
one specific token to one spender. An EIP-7702 authorization delegates the account
itself: the delegate contract executes as you and can move all of your assets at once - ETH, any
tokens, NFTs - without asking separate permission for any of them. One signature = the whole account. That
is why a phished 7702 authorization is worse than a phished approve: there you lost one token,
here you lose everything.
A phishing site asks you to "connect" or "verify" your wallet and slips in a SET_CODE 7702
authorization pointing your EOA at the attacker's delegate contract. The moment you sign, the delegate
executes as your account and sweeps the entire balance to the attacker in a single transaction. You
never saw a transfer prompt - the signature was the authorization.
How to stay safe
- A 7702 authorization is not a "log in". If a site asks you to sign a delegation of your account,
treat it as handing over the keys, not as a login. A site that just needs you to log in can do it with a
plain
personal_sign, notSET_CODE. - See who you are delegating to. The wallet should decode the authorization and show the delegate address. Delegate only to known, audited delegates (for example, your wallet's own smart-account features), and reject an unknown contract.
- Be wary of an unexpected 7702 signature. A delegation request where you only wanted to swap a token or open a site is a red flag. Close the window and check what contract it is.
- Revoke the delegation. If you signed by mistake, reset the delegate as fast as you can (a fresh authorization to the zero/your own address) and move assets off that address.
It has already happened
Since Pectra launched in 2025 a reusable 7702 sweeper (known as "CrimeEnjoyor", analyzed by Wintermute) has
been circulating: the victim signs a SET_CODE authorization to a sweeper contract, which
immediately moves everything in the account out in a single transaction. The same delegate code is reused
against many victims. Public loss estimates vary across write-ups, so what matters is not a single figure
but the mechanism itself: one signature hands over the account in full.
Want to see the logic live? In our testnet trainer you break down exactly what an authorize signature grants the signer, and you learn to tell a safe "log in" from a signature that hands over control of the account.