Token approvals and permits: the permission you forgot you gave
What an approval is, why unlimited ones are risky, how permit signatures and setApprovalForAll work, and how to review and revoke.
When you swap or deposit, you often first give a contract permission to move a token from your wallet. That permission stays on-chain after you close the tab.
Most drainers do not steal anything at the moment you sign. They collect a permission and use it later.
What to know
- A token approval is permission for a dapp to access and move a specific type of token from your wallet. Clicking “deposit” or “transfer” does nothing without that permission. [1]
- An unlimited approval lets the spender move the maximum possible amount of that token and does not expire. If the contract is later exploited, or you signed on a phishing site, the attacker can drain every token the approval covers without further interaction. [2]
- ethereum.org advises not allowing unlimited spend limits and setting limits to the amount necessary for the transaction. [3]
- Approvals are recorded on-chain and stay valid until revoked. You can revoke in a wallet portfolio tool; revoking is itself a transaction that costs network fees. [4]
- Revoking prevents future transfers under that permission. It cannot reverse a transfer that already happened. [2]
- For NFTs, `setApprovalForAll` enables a third party (an operator) to manage all of the sender's assets held in that NFT contract; it can be turned off by calling it again with false. [5]
- Permit (ERC-2612) lets someone set a token allowance with a signed message instead of an approval transaction, and the caller that submits the signature can be any address. [6]
- Off-chain signatures are never broadcast when you sign, so the party who collects one can use it at a time of their choosing. Fake dapps present them as something else (a deposit, a listing) while you may actually be handing over an unlimited approval. [7]
Recap
- An approval lets a contract move your tokens.
- Unlimited approvals don't expire. Cap them.
- Revoking stops future transfers, not past ones.
- A Permit is an approval by signature.
Habits
- Prefer a spending cap equal to what the action needs.
- Review and revoke approvals you no longer use, on a schedule.
- Treat any signature you cannot read as unlimited until proven otherwise.
FAQ
Does disconnecting my wallet from a site revoke approvals?
We did not find a primary source we could verify for this, so we do not claim it. Approvals are recorded on-chain and stay valid until you revoke them in a transaction (source 4).
What does revoking cost?
It is an on-chain transaction, so you pay network fees (source 4).
Sources (checked 2026-11-26)
- MetaMask Help Center: What is a token approval?
- MetaMask: What are token approvals?
- ethereum.org: Ethereum security and scam prevention
- MetaMask Help Center: How to manage spending caps in MetaMask Portfolio
- Ethereum Improvement Proposals: ERC-721: Non-Fungible Token Standard
- Ethereum Improvement Proposals: ERC-2612: Permit Extension for EIP-20 Signed Approvals
- MetaMask Help Center: Signature phishing