Skip to main content
About Crypto

Crypto guides and market analysis

Remaining tokens in a compromised wallet: rescue steps

To move remaining tokens out of a compromised wallet, create a fresh wallet, send the highest-value assets first, and use a private bundle if gas vanishes.

The About Crypto Editors4 min read

Remaining tokens in a compromised wallet: rescue steps

Move remaining tokens out of a compromised wallet by creating a wallet with a brand-new seed phrase on a clean device, then transferring the highest-value assets first with the wallet’s native coin for gas.

  • Create the new wallet on a device you trust; copy its address carefully.
  • Transfer tokens one by one, prioritizing value on each chain.
  • If gas disappears within seconds, stop plain transfers and use a private bundled rescue.

Move assets to a wallet with a new seed phrase

A new wallet needs a new seed phrase because every account derived from a leaked phrase is exposed. Creating another account under the same phrase leaves it vulnerable too. Use a clean device, keep the new phrase private, and copy the new wallet’s address before sending anything.

An approval-only drain works differently: a smart contract has permission to move tokens, but the wallet’s key may still be safe. Revoke the draining spender’s approval on revokecash, a token approval management tool that lets you inspect and manage permissions, then transfer the remaining assets. If the seed phrase is leaked, revoking approvals alone cannot secure the wallet.

Every ERC-20 token or NFT transfer needs the chain’s native coin for gas. Use native coin already in the compromised wallet if it is safe to do so. Work on one chain at a time: Ethereum and Base have separate balances and require transfers on their own networks.

Choose the transfer path by how the drain works

The key distinction is whether the attacker can sign transactions from your wallet. Suppose two wallets each hold valuable tokens and enough native coin for gas. In the first, only a spender approval is compromised: revoke that approval on revokecash, then transfer. The key remains usable, so a normal transfer can work.

In the second, the seed phrase is leaked and a bot takes incoming gas within seconds. Plain transfers are unlikely to work because the bot can spend the gas before your token transaction confirms. Stop sending gas into the wallet. Use a private bundled rescue service; on Ethereum, Flashbots is associated with private transaction bundles. Choose a service that supports the chain holding the assets, including Base where relevant.

Order transfers by value, highest first, and send each token separately. This prioritizes the assets that matter most if time or gas runs short. Keep the destination address and chain consistent for each transfer.

  1. With the wallet being drained, prepare a clean device and native coin for gas if needed.
  2. Create a fresh wallet with a new seed phrase and copy its receiving address.
  3. If the drain is approval-based and the key is safe, revoke the spender’s approval, then proceed.
  4. Send the highest-value token first. Repeat for each token and each chain. Use the private bundled route if gas vanishes within seconds.
  5. Open the relevant block explorer and confirm the transferred balances appear in the new wallet. Once they do, continue only with any assets still left behind.

Related

How do I move NFTs out of a compromised wallet?

Move NFTs with the same fresh-wallet process. Each ERC-721 transfer needs native coin for gas. If a contract approval is the drain, revoke that spender before transferring; if a sweeper takes gas, use a bundled rescue instead.

Can staked or locked tokens be rescued from a compromised wallet?

Staked or locked tokens can move only when the protocol allows withdrawal or unstaking. Check the protocol’s withdrawal conditions from a safe device, then transfer when the assets become available. If the compromised key can still sign and gas disappears, use a private bundled rescue for the withdrawal and transfer.