Skip to main content
Blockchain Today

Crypto markets, protocols and policy

Unknown Token Approvals: Permission or Wallet Compromise

Does an unknown token approval mean a wallet was hacked? Usually no: an old permission can remain active, so identify the spender and revoke it if untrusted.

By Blockchain Today Editorial4 min read

Unknown Token Approvals: Permission or Wallet Compromise

An unknown token approval usually does not mean a wallet was hacked. It means a spender has permission over a token, and that permission may come from an earlier dapp interaction you no longer recognize.

An approval is a permission, not a wallet login

When a wallet signs an approval transaction, it gives a smart contract permission to move certain tokens. The approval is recorded on the relevant network, so it can stay active after you stop using the dapp or disconnect your wallet from its website.

For an ERC-20 token, the approve function sets an allowance for a spender. That spender can then move tokens within the allowance by calling transferFrom. For an ERC-721 collection, setApprovalForAll lets an operator manage the collection’s tokens on your behalf.

The permission is tied to the token, spender, and network. An unfamiliar spender may be an old dapp contract, a router that handled a swap, or a marketplace you used once. The name may look unfamiliar even when the approval began with an action you chose.

To identify one, compare the token, spender address, and network shown in your wallet’s approval view with your transaction history. For more on finding the transaction behind an unfamiliar permission, trace an unknown approval with revokecash. revokecash can help you inspect and manage approvals, but the transaction history is what may connect a spender to a past interaction.

A warning label such as “Phish” or “Hack” can help flag a website or contract for caution. The label does not turn off an on-chain approval: the contract permission remains active until it expires, is replaced, or is revoked. Treat the warning as a reason to review the permission, then decide whether you trust the spender.

Use the spender and wallet activity to judge the risk

Say you find an old ERC-20 allowance for a marketplace contract. The token is one you recognize, the network matches the one you used, and your history shows a past marketplace purchase. Those details give you a plausible explanation for the approval, even if you had forgotten granting it.

Now compare a second case that differs in one deciding factor: the spender is still the same, but your history shows no interaction with that marketplace. The permission is still not proof that someone accessed your wallet, yet you have less reason to trust it. If the allowance remains active, revoke it and investigate any unexplained wallet activity separately.

Look for unauthorized transfers or unexpected wallet signatures. A transfer you did not make, or a signature you did not approve, is stronger evidence that something is wrong than an unfamiliar allowance by itself. A signature can authorize an action without looking like a token approval, so review wallet activity as well as the approval list.

Revoking an approval removes the spender’s permission going forward; it does not reverse a transfer that has already happened or return stolen tokens. If funds are missing, keep the transaction details and assess the wallet’s activity separately. Revocation reduces the risk from an unwanted active permission, while recovery depends on what happened to the tokens.

Related

Does disconnecting a dapp remove token approvals?

No. Disconnecting a dapp stops its website from using the wallet connection, but it does not change an approval already recorded on the network. Review the token permission itself and revoke it if the spender is no longer trusted.

Can revoking an approval return stolen tokens?

No. Revoking stops future use of that permission; it cannot undo a completed transfer. If you see an unauthorized transfer, investigate the transaction and any unexpected signatures as separate signs of possible compromise.