← Back to Blog
Web3 Security · 7 min read · October 9, 2026

How EIP-7702 Delegation Attacks Drain Crypto Wallets in 2026

EIP-7702 has quietly become one of the fastest ways crypto wallets are emptied in 2026. Instead of stealing a seed phrase, an attacker can win contract-level execution rights over your account from a single signature — and the approval-revoking tools you trust will not stop it.

What Is EIP-7702 and Why It Changed Wallet Attacks

EIP-7702 arrived with Ethereum's Pectra upgrade on May 7, 2025, and it quietly rewrote how a wallet gets drained. The change lets an ordinary wallet — an externally owned account, or EOA — sign a single authorization that points its execution at a smart contract. The wallet then behaves like a smart account, and the delegation stays in place until you replace it.

It was designed to make wallets programmable without deploying a contract. It runs through a new type 0x04 "set code" transaction carrying an authorization tuple. Once installed, the wallet's code slot holds a three-byte marker, 0xef0100, plus the address it now delegates to. That persistence is exactly what attackers wanted.

Two Attacks, One Primitive

Most coverage folds two different attacks together, and separating them is the key to understanding your risk.

The sweeper: a leaked key made cheaper to exploit

In the "sweeper" pattern — often nicknamed CrimeEnjoyor — the attacker already holds your leaked private key. Instead of racing every deposit with a bot, they sign an EIP-7702 authorization from your own address that delegates it to their sweep contract. Any ETH dust, airdrop, token or NFT that lands is forwarded out automatically, usually in the same block.

The root cause is the leaked key, not the standard. EIP-7702 simply made sweeping cheaper and faster than racing every deposit with a frontrunning bot — cheap enough to authorize tens of thousands of addresses for cents each.

The phishing signature: the genuinely new danger

The second pattern is the one unique to EIP-7702. There is no prior key theft. The attacker persuades you to sign a delegation yourself, disguised as a "wallet upgrade", a "security enhancement" or an "AI assistant authorization". One signature hands contract-level execution rights over your account to someone else.

How Big Is the Problem in 2026?

The scale was obvious within weeks of launch. Wintermute's research team found that more than 97% of mainnet delegations in the first month pointed to copy-pasted sweeper contracts. Another analysis concluded that 63% of the EIP-7702 authorization transactions it sampled were tied to malicious contracts, with draining activity behind more than $2.3 million in confirmed thefts.

Individual cases are stark. On May 24, 2025, Scam Sniffer flagged a MetaMask user who lost about $146,551 to a malicious EIP-7702 batched transaction linked to Inferno Drainer. By late August 2025 a single user had lost $1.54 million in a 7702 phishing attack. The tactic matured through 2026 rather than fading:

Those figures sit inside a larger wave: crypto losses hit roughly $740 million in Q1 2026 and about $2.69 billion year to date by early October. Sweeper drains are a persistent slice of that pie, quietly eroding the dust, airdrops and unmonitored wallets owners had written off.

Why Revoking Approvals Does Nothing

A token approval is a permission to move a specific asset. An EIP-7702 delegation is not a permission at all — it is code. Your wallet now is the attacker's contract, and approval-sweeping tools do not touch it.

If your wallet has an active 7702 delegation, revoking token approvals will not save a single asset. You must replace or clear the delegation itself by signing a new authorization that points to the zero address.

How to Check Whether Your Wallet Is Delegated

A normal EOA has zero code. A delegated account returns about 23 bytes — the 0xef0100 marker plus the delegate address. You can check without connecting a wallet:

One subtlety matters: a failed EIP-7702 transaction can still install the delegation, because the authorization is processed separately from the main call. Check the code afterward, not just the transaction status.

How to Revoke a Delegation

Clearing a delegation means sending a new 0x04 authorization pointed at the zero address, 0x000…0. That restores ordinary wallet behaviour. Setting the authorization's chainId to 0 makes it valid across every chain at once. Support varies by wallet, but Rabby and revoke.cash now offer one-click revocation.

Six Rules to Stay Safe

The Bigger Lesson

EIP-7702 is not a protocol bug. It is a powerful primitive with a sharp, user-facing edge. Earlier cycles went after seed phrases, approvals and fake airdrops; now a single disguised signature installs persistent code over your account. Read every prompt as if it were giving away your keys — in the delegation case, it literally is.

Frequently Asked Questions

What is an EIP-7702 delegation attack?

It is an attack that uses Ethereum's EIP-7702 feature to point a victim's wallet execution at an attacker-controlled contract. In the phishing variant, the victim signs the delegation themselves after it is disguised as a wallet upgrade. In the sweeper variant, an attacker who already has the private key delegates the account to code that forwards every incoming asset.

Can an EIP-7702 delegation be revoked?

Yes. You clear it by signing a new type 0x04 authorization that points to the zero address, which restores normal wallet behaviour. Setting the authorization chainId to 0 makes it valid on every chain at once. Wallet support varies, but Rabby and revoke.cash now offer one-click revocation.

Does revoking token approvals remove an EIP-7702 delegation?

No. A token approval is a permission and a delegation is code, so approval-sweeping tools leave it untouched. If a wallet has an active 7702 delegation, revoking approvals protects nothing. The delegation itself has to be replaced or cleared.

How do I know if my wallet has a 7702 delegation?

A normal externally owned account returns no code, while a delegated one returns about 23 bytes beginning with the 0xef0100 marker. You can paste your address into a checker such as eip7702.app, look at the delegations tab in revoke.cash or Rabby, or call eth_getCode directly. A failed transaction can still install a delegation, so check the code rather than the transaction status.

Is EIP-7702 a security flaw in Ethereum?

No. It is a deliberate feature that makes wallets programmable, and researchers stress the issue is malicious delegation, not a protocol bug. The risk is user-facing: a single convincing signature can install persistent code. Treat every unexpected delegation prompt as hostile, and a hardware wallet that shows the details removes most of the danger.

See what your infrastructure is exposing

RootCrak's autonomous scanner checks your domains, servers, APIs and Web3 surfaces from the outside — surfacing exposed services, leaked credentials and misconfigurations before someone turns them into a loss.

Get a Free Security Scan