I disconnected my wallet from a website — is it safe now? How to check and revoke token approvals

Contents

    Short answer

    No. Disconnecting is not enough. Disconnecting only stops the website from seeing your wallet address. Any token approval you gave while you were connected stays on the blockchain until you revoke it. To be safe, check your approvals and revoke the ones you no longer use.

    What is a token approval?

    When you use a DEX, NFT marketplace, bridge or staking site for the first time, your wallet asks you to Approve a token. This gives that site’s smart contract permission to move that token out of your wallet.

    • Many apps ask for an unlimited approval: permission to spend your whole balance of that token, with no expiry.
    • The approval stays active even after you disconnect, close the site or uninstall the app.
    • NFT approvals (“Set approval for all”) give access to every NFT in that collection.

    Disconnect vs. revoke

    DisconnectRevoke
    What it doesThe website stops seeing your addressRemoves the contract’s permission to spend your tokens
    Where it happensOnly in your wallet app or browserOn the blockchain (it is a transaction)
    CostFreeA small network (gas) fee
    Protects your funds?NoYes, from that approval

    Why it matters

    • If an approved contract is hacked later, attackers can use your old approval to take your tokens. This has happened, for example in the SushiSwap router exploit of April 2023.
    • If the site was a scam, the approval is how a “wallet drainer” empties your wallet.
    • The attacker does not need your seed phrase, so a hardware wallet does not protect you here.

    How to check and revoke: Ethereum, BNB Chain, Base, Arbitrum, Polygon and other EVM networks

    We recommend revoke.cash. It is free and open source, and it supports 80+ EVM networks.

    1. Type revoke.cash into your browser yourself. Don’t use links from ads, DMs or Telegram groups.
    2. Paste your wallet address or ENS name (for example yourname.eth) into the search bar. You don’t need to connect your wallet just to look.
    3. Choose the network at the top right. Approvals are separate on each network, so check every network you have used.
    4. Read the list: the token, the approved spender (the contract), the approved amount (“Unlimited” is the riskiest) and when you approved it.
    5. Next to any app you no longer use, click Revoke, then connect your wallet.
    6. Check the wallet pop-up before confirming. A real revoke sets the spending cap / allowance to 0, or “Set approval for all” to false. Pay the small gas fee.
    7. Tip: if you still use an app but don’t want an unlimited approval, use the pencil icon to lower the amount instead of revoking.

    Revoking approvals one at a time costs only the network gas fee. “Revoke Selected” (batch revoke) costs an extra $1.50 per batch on the free plan.

    How to check and revoke: TRON (TRC20 USDT)

    revoke.cash does not cover TRON. For TRC20 tokens such as USDT on TRON:

    1. Open tronscan.org/#/tokenapproval, typing it yourself.
    2. Enter your TRON address to see your approvals.
    3. Connect TronLink, pick the token and contract, click Revoke and confirm. This uses a small amount of bandwidth/energy or TRX.

    How do I confirm it worked?

    • Refresh the page. The revoked approval should be gone from the list, and the approvals count and “value at risk” should go down.
    • Open the transaction on the block explorer (Etherscan, BscScan, Tronscan and so on). It should show as Success.
    • If you use the app again later, it will ask you to approve again. That is normal.

    Stay safe

    • Fake revoke sites are common. No real revoke tool will ever ask for your seed phrase or private key. If the wallet pop-up says “approve unlimited”, “transfer” or “send”, reject it.
    • Revoking does not get back funds that were already stolen. It only stops future use of that approval.
    • If tokens keep leaving your wallet, or incoming coins are taken instantly by a “sweeper bot”, your seed phrase is compromised. Revoking won’t help. Create a new wallet and move whatever is left.
    • Keep a little ETH, BNB or TRX in the wallet to pay for revoke transactions.
    • Approve only the amount you need, not unlimited, and check your approvals once a month.
    • Before connecting to any site, check that it is the real one.

    Related: What to do if your crypto was stolen · What are token approvals?

    For any queries or discussion, join our socials or post in the Cryptocurrency Pakistan Facebook group.

    Was this article helpful?