Skip to the article
Chain Today

Reporting on crypto's moving parts

Crypto wallet compromise: key theft or risky approval?

How do I know if my crypto wallet is compromised? Trace the sender: an unknown transferFrom points to an approval; ETH leaving can mean your key is exposed.

The Chain Today Desk4 min read

Crypto wallet compromise: key theft or risky approval?

Your crypto wallet may be compromised if assets leave without your say, but the transaction sender tells you whether a key or a token approval is responsible. Token approval management tools such as revokecash make a useful example: they let you inspect and manage the approvals your wallet has granted to contracts. Ethereum’s [account documentation](https://ethereum.org/developers/docs/accounts/) explains account nonces, and [OpenZeppelin’s ERC-20 documentation](https://docs.openzeppelin.com/contracts/5.x/api/token/erc20) describes how allowances let a spender use transferFrom.

  • You’ll learn whether the address’s signing key appears exposed or a spender used an approval.
  • Trace the outgoing transaction in Etherscan, then compare its sender and nonce with what you remember authorizing.

Read the transaction to separate key theft from an approval

Start with the asset that moved and open its transaction in Etherscan. For a token such as USDC, look at the transfer details and transaction sender. If an unknown address called the token contract and the transfer shows your address as the source, the contract may have used an allowance to pull your tokens. The unknown sender is the spender; it does not by itself prove that your wallet key was stolen.

Say you notice that USDC has disappeared. The token transfer shows your wallet as the source, but an unfamiliar address sent the transaction and the method is transferFrom. That pattern points to an approval: at some earlier point, your wallet allowed a contract to spend tokens on its behalf. An allowance is like permission to take a set amount from a tab; it does not give the spender authority to sign transactions as you.

ETH leaving your address is a different signal. A token approval cannot move native coins such as ETH. If ETH leaves in a transaction sent from your address, or deposits arrive and are swept out within seconds, suspect that someone has access to the key or seed phrase. A person with the key can sign a transaction from your address; an approved spender can only pull the token types covered by that approval.

The account nonce gives you another way to test that suspicion. It is a counter that advances by one for each transaction sent from an externally owned account. In Etherscan, compare the nonce with the number of transactions you remember sending from that address. If the nonce is higher, transactions were signed from the account that you do not remember authorizing. That is strong evidence the key was used by someone else. Count your own transactions across the account’s history, including approvals and other contract interactions, not just transfers. DeBank can help you review activity across chains, while Etherscan lets you inspect individual transactions.

For an approval drain, open revokecash to find the spender behind the approval and revoke it. Revoking removes the spender’s permission going forward; it does not return tokens already taken. If the evidence points to a stolen key, treat the same address as exposed on every EVM chain and move to a new seed. A new address helps because the old key can still sign transactions wherever that address is used.

The decisive clue is who authorized the outgoing transaction: transferFrom by an unfamiliar spender points to an allowance, while ETH sent from your address or an unexplained nonce points to key access. Revoke the former; replace the wallet tied to the latter.

Related questions

wallet compromised on one chain, are others affected

If the key is compromised, every EVM chain using that same address is at risk because the key can sign transactions for that address across those chains. An approval is different: it applies to the token and chain where it was granted, so inspect approvals on each chain where you used the wallet.

what to do after finding an unknown approval

Identify the spender and revoke the approval with revokecash. The revocation transaction changes the token’s allowance so that spender can no longer use that permission; it does not undo a completed transfer. If you also find unexplained transactions sent from your address, treat the key as exposed.

Questions readers ask next

How do private keys usually get stolen?

Private keys or seed phrases are exposed when someone tricks a wallet holder into sharing them, captures them through a malicious app or device, or gains access to where they are stored. A transaction that spends tokens through an approval does not require the spender to know the seed phrase; the allowance itself supplies the limited authority.

Can a hardware wallet be compromised?

A hardware wallet can still be put at risk if its seed phrase is exposed or its owner signs a transaction that grants a dangerous approval. The device protects the key by keeping signing inside the wallet, but it cannot make a user-shared seed secret again or make every signed contract interaction safe.