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 attacker holds the same key and can sign as many transactions as they want.
- Ordering rules differ between networks.
- Each failed attempt usually loses more ETH.
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”.
- Open source: github.com/unsweep/unsweep. Rescue contract
0x38bcF425bC4d13624734e09376F2fafc799fA8c8, source verified on Sourcify (exact match): Base · Arbitrum · Basescan. - Which key, and where it goes: a rescue uses only the private key of the wallet that is already compromised, the one the attacker already has. Never your seed phrase and never the key of your new safe wallet. The key signs 100% inside your browser and is never sent to UNSWEEP or any server; only signatures are sent (see the exact signing code on GitHub). Check it yourself: open DevTools → Network before signing, and see the verified contract on Basescan. UNSWEEP never writes to you first.
- We never DM you: UNSWEEP never contacts anyone by DM, Telegram or Discord. Anyone who does is a scammer.
- Cost: free diagnostic, no upfront payment. Success fee only if the rescue executes, taken from the rescued tokens in the same transaction: 15% (<1,000 USD), 10% (1,000–10,000 USD), 5% (>10,000 USD); hard 15% maximum in the contract; shown in a simulation before you sign.
- Cannot rescue: funds already taken, NFTs, anything on Ethereum mainnet (read-only). Tokens outside the verified lists may be detected without guarantee. Nothing is guaranteed.