How to Spot a Sweeper Bot on Etherscan Before You Send More Gas

2026-12-01来源 dev.toEnglish

By MEV DAO Research

You send 0.01 ETH to your old wallet so you can move the tokens still sitting in it. A few seconds later the ETH is gone, and the tokens haven't moved. If that sounds familiar, there's probably a sweeper bot on the address.

Before trying again, pull the address up on Etherscan. It takes five minutes and tells you most of what you need. This is our usual checklist.

Open the address and look at its normal transactions. A swept wallet has a dull, repeating pattern: ETH arrives, and ETH leaves right after, usually in the same block or the one after. The outgoing amount is nearly the full balance, less the gas for that one transfer, and it lands at an address you don't know.

See the "From" field on the transfers going out? That's you. Well, it's your address, signed with your key, by someone else. Nothing's wrong with Etherscan. The key or the seed phrase leaked at some point, and whoever has it can sign anything they want.

Next, check the gas. Sweepers tend to pay a high priority fee on their transfer so it lands before anything you try. If you click into one of the outgoing transactions, the max priority fee is often well above what a normal wallet would set. The bot doesn't care about overpaying, since it's spending your ETH.

There's a newer version too. Since the Pectra upgrade, EIP-7702 lets a normal address point at contract code. Some drainers use it to set a delegation on the stolen address, and the code they point to forwards any ETH that arrives. On Etherscan the address will show code even though it used to be a plain wallet, and the code starts with 0xef0100 followed by the delegate's address. If you see that, the sweeping may happen inside the incoming transaction itself, with no separate outgoing transfer to look for.

Now check the token tab. If your tokens are still listed, that's the one piece of good news here. Bots like this mostly go after ETH, since you need ETH to move anything. Stuck, yes. Gone, not yet.

So stop sending ETH there. Every top-up goes straight to whoever has the key. To get around a sweeper, the gas and the token transfer have to land together, in one bundle that goes to a block builder privately instead of the public mempool. Flashbots bundles are built for exactly this. There's never a moment where ETH sits in the wallet for the bot to take.

You can build that bundle yourself if you're comfortable with scripts, or use the free Flashbots whitehat route. We also run a paid rescue service, and our page on it explains both the free options and how to spot the fake "recovery agents" who show up in your replies after a hack: rescue tokens from a compromised wallet.

One more thing. Whatever you do, don't paste your seed phrase into a site or a bot that promises to rescue the funds for you. A real rescue needs the key to sign the transfer, so be very careful who builds it. And once the tokens are out, treat that address as burned for good.

MEV DAO Research writes about MEV, wallet safety and Ethereum trading at mevdao.org.

原文:https://www.a8q9.cn/en/article/how-to-spot-a-sweeper-bot-on-etherscan-before-you-send-more-gas-7cba9c.html

相关文章