UNSWEEP › Guides

Why ETH sent for gas gets stolen immediately

UNSWEEP never writes to you first and never asks for your seed phrase. The only key a rescue uses is the one of the already-compromised wallet, typed by you on unsweep.com and used only inside your browser. This page is informational; nothing on it is a guarantee of success.

If someone else holds the private key of your wallet, they can move any ETH that arrives. A wallet (EOA) is controlled by whoever has its private key (ethereum.org: Accounts). Attackers often run a sweeper bot, an automated script that watches the address and broadcasts a transfer as soon as a balance appears.

Why the ETH is the bait

Moving tokens requires gas, and gas is paid in ETH by the account that sends the transaction (ethereum.org: Gas). So the owner sends ETH first. The bot detects the deposit and signs its own transfer with the same key, often with a higher priority tip. A higher tip makes earlier inclusion more likely but does not guarantee order.

Why racing the bot is not recommended

The alternative: do not fund the wallet

With EIP-7702, the owner signs an authorization while a different account submits the transaction and pays the gas. The compromised wallet never needs to hold ETH. See the step-by-step rescue guide. Success is not guaranteed and depends on the state of the wallet and the network.

Scope: Base: 16 verified tokens. Arbitrum: 12 verified tokens. Other ERC-20 tokens may be detected, without guarantee. Ethereum: read-only diagnostic only (no rescue). Funds already taken cannot be recovered and NFTs are not rescued.

FAQ

Why does my ETH disappear seconds after I send it?

Because the attacker holds the private key and an automated sweeper bot moves any incoming ETH out as soon as it appears.

Can I beat the bot by paying a higher gas price?

It is not recommended. A higher tip makes earlier inclusion more likely but does not guarantee order, and the attacker can raise their bid with the same key.

Can the stolen ETH be recovered?

No. Funds already moved out of the wallet cannot be recovered.

How can tokens be moved without sending ETH?

With an EIP-7702 transaction the owner signs an authorization and another account submits and pays for the transaction, so the wallet does not need ETH. Success is not guaranteed.

Check your wallet with the free diagnostic → · Step-by-step rescue guide

Related guides: Rescue USDC and WETH from a hacked wallet on Base · Rescue tokens from a hacked wallet on Arbitrum · Sweeper bot vs malicious EIP-7702 delegation · How to check if a wallet has a sweeper bot · What to do in the first 5 minutes after a wallet hack · Sweeper bot on a hacked wallet · Malicious EIP-7702 delegation · Step-by-step rescue · What can and cannot be rescued
MetaMask is a trademark of its owner, referenced descriptively; UNSWEEP is not affiliated with MetaMask or Consensys.

Before you start: trust facts

Sounds familiar? “My funds disappear as soon as they arrive” · “I can’t pay for gas because the ETH is taken instantly” · “My wallet was hacked and I can’t get my tokens out”.