Wallets & Securityدليل

Token Approval Risks: How to Revoke Smart Contract Access

In a one-day sample of USDC and USDT approvals, 98% of unlimited allowances were still open a month later. Here is what each permission lets a contract do, and how to check and clear them.

Token Approval Risks: How to Revoke Smart Contract Access
الرسم التوضيحي: CoinPaprika

Introduction

Of 916 sampled unlimited allowances for USD Coin (USDC) and Tether (USDT), 897 were still open a month after the day they were last set. A token approval is a standing permission, and nothing about a normal wallet session removes it. The measurement behind those numbers covers one day of approval events on Ethereum, read from public nodes. Permit and Permit2 signatures create the same permission without a transaction, and an Ethereum Improvement Proposal (EIP) 7702 delegation extends it from one token to a whole account. An address labelled Binance 14 was swept after one such delegation on 29 October 2026 . This guide explains each permission, reports what a one-day read of real approvals shows, and sets out how to audit and revoke them with Revoke.cash, Etherscan or a wallet, and what a revoke cannot undo.

Key Takeaways

  • Four permissions can stay standing after one signature: an ERC-20 approval, a Permit signature, a Permit2 allowance and an EIP-7702 delegation.
  • In one day of USDC and USDT events, 23% of open owner-spender pairs were unlimited, and 98% of sampled unlimited pairs were still open a month later.
  • Permit2 allowances in the same window had a median expiry of 30 days, yet 69% were set to the contract's maximum amount.
  • A revoke cost about $0.02 in gas on Ethereum on 24 November 2026, and revoking an unused unlimited approval is worth that fee.
  • A revoke cannot return spent funds or fix a leaked key, and a delegation is cleared by signing an authorization to the zero address.

Which Permissions Can a Wallet Leave Standing After a Signature?

A wallet can leave four permissions standing after one signature: an ERC-20 approval, a Permit signature, a Permit2 allowance, and an EIP-7702 delegation. All four outlive the website visit that created them. A one-day sample of USD Coin (USDC) and Tether (USDT) approvals shows how long they last.

The four kinds of standing permission

An ERC-20 approval, built on Ethereum's standard for fungible tokens, is an on-chain transaction that lets a spender contract move a set amount of one token. Permit and Permit2 reach the same result through a signed message that costs the signer no gas. An Ethereum Improvement Proposal (EIP) numbered 7702 adds a fourth form: an account signs an authorization that points it at contract code, and that code then runs on every call to the account (EIP-7702, 2024). What smart accounts are and how they work is a separate topic, covered in its own article. This article covers only how to see each permission and how to remove it.

Why a permission outlives the click

Disconnecting a wallet from a website stops the site from seeing the address and cancels no approval (MetaMask, 2026). An allowance stays on-chain until its owner sets it to zero, and each chain keeps its own list. The sample in this article read 89,255 approval events from one day and checked a sample of them a month later. Of the unlimited allowances in that sample, 98% were still open. Phishing pages favour signature-based permissions for the same reason: nothing appears on-chain until someone spends the signature, and a separate article covers how those pages work.

Six statistic cards: 89K approval events, 23% of open pairs unlimited, 98% still open a month later, 69% Permit2 at maximum, $0.02 revoke gas, 30-day median Permit2 expiry

The oldest of the four, the plain ERC-20 approval, also leaves an on-chain record.

How Does an ERC-20 Approval Work, and Why Is Unlimited Common?

An ERC-20 approval writes one number into a token contract: how much a named spender may take from an owner's balance. The spender then pulls tokens with a transfer function whenever it wants, up to that number. Unlimited approvals exist because they save a transaction on every later use.

How approve and transferFrom work

The token contract stores a table of allowances, one entry per owner and spender pair. A call to approve(spender, amount) sets the entry. The spender later calls transferFrom to move tokens out of the owner's balance, and the contract subtracts what was moved. Nothing in the standard limits who the spender is or when it may act. Revoking is the same call with the amount set to zero, so a wallet prompt that says "approve" or "give permission" during a revoke is normal (Revoke.cash, 2026). The approval belongs to one token on one chain.

Why unlimited became the default

An unlimited approval sets the amount to 2^256 − 1, the largest number the token can store. Applications request it so that a user approves once instead of before every swap or deposit. Uniswap's documentation says users of its Permit2 contract commonly approve it for the maximum amount (Uniswap, 2026). The cost is a standing permission that no longer matches any specific trade. A spender contract that is later exploited can drain every balance it was approved for, even years after the last use (Revoke.cash, 2026). Non-fungible token (NFT) collections have an equivalent, ApprovalForAll, which one measurement covers in the guide to NFT scams ↗.

What Are Permit and Permit2 Signatures, and Why Do They Phish So Well?

Permit and Permit2 move the approval off-chain: the owner signs a message, and anyone can submit it later. The signer pays no gas and sees no transaction. The permission is real once someone submits the signature, which is why signature requests need the same scrutiny as approvals.

Permit lets a signature set the allowance

EIP-2612 adds a permit function to a token. A valid signature over the owner, spender, value, nonce and deadline sets the allowance, raises the owner's nonce by one and emits an Approval event, provided the deadline has not passed (EIP-2612, 2020). Any account can submit the signature, so the owner needs no ether (ETH). A signature remains valid until the deadline or until the nonce changes. USDC supports it, and the sample's USDC counts include allowances set this way. A single wallet pop-up asking for a signature can therefore grant a spender access to a balance.

Permit2 adds a second layer

Permit2 is a Uniswap contract at the same address on every chain Uniswap supports except zkSync (Uniswap, 2026). Each token first needs one standard approval of the Permit2 contract, commonly for the maximum amount. After that, permissions are granted by signature, and they come in two forms: a stored allowance with an amount and an expiry, or a one-time transfer that leaves nothing standing (Uniswap, 2026). Revoke.cash advises revoking the approval of Permit2 itself when it is no longer needed (Revoke.cash, 2026). Revoking that one approval cuts off every Permit2 route for the token.

A signed permit nobody has used yet

A signature that was signed but never submitted leaves no trace on-chain. The holder of the signature can submit it until the deadline passes, so a dangerous one stays dangerous until it is spent or expires. Permit2 lets an owner cancel unspent signatures by raising a nonce, through its invalidateNonces and invalidateUnorderedNonces functions, and a lockdown function zeroes stored allowances (Permit2 contract; MEVDAO, 2026). A plain EIP-2612 permit has no dedicated cancel function; the owner can only use up its nonce by submitting a newer permit first, which costs gas. Short deadlines and a small balance in the signing wallet limit the exposure.

MechanismNeeds gas to grantVisible on-chain when signedExpiresHow it is removed
ERC-20 approvalYesYesNoApprove zero
Permit (EIP-2612)NoNo, until submittedAt its deadlineUse up its nonce, wait, or move funds
Permit2One approval, then noOnly when submittedEach allowance has an expiryLockdown, nonce, or revoke Permit2
EIP-7702 delegationOnly for whoever submits itOnce submitted, as code on the accountNoNew authorization to the zero address

Data current as of November 2026.

Signatures cost the signer nothing and leave no event until submitted, so a measurement of real approvals starts with what does leave an on-chain record.

What Did One Day of USDC and USDT Approvals Show About Real Wallets?

A one-day read of USDC and USDT approvals on Ethereum found that 23% of open owner-spender pairs were unlimited and that 98% of sampled unlimited allowances were still open a month later. The numbers below count events, pairs and sampled pairs separately, and each is labelled.

Method, sample and window

The test read every Approval event emitted by the USDC and USDT contracts on Ethereum mainnet between 10:38 UTC on 3 October 2026 and 10:42 UTC on 4 October 2026, blocks 26,111,263 to 26,118,463. It used public remote procedure call (RPC) nodes and no API key. The window holds 89,255 events: 57,271 for USDC and 31,984 for USDT. A second step read each sampled pair's current allowance on 3 November 2026 (own test, 3 November 2026). Events are not signatures. A permit that nobody has submitted leaves no event, so this sample cannot see the signed form.

How many were unlimited

Of the 89,255 events, 7,913 (8.9%) set an allowance of 2^255 or more, 68,445 (76.7%) set a finite amount, and 12,897 (14.4%) set zero. Zero is not always a revoke: in USDT, 26.8% of events were zero, partly because USDT-style flows reset an allowance to zero before setting a new one. Counted by owner-spender pair, using each pair's last event, 6,206 of 26,913 open pairs were unlimited (23.1%): 25.0% for USDC and 20.9% for USDT. One spender address received 24.1% of non-zero USDC approvals, so event shares lean on repeat approvals, and the pair figure is the cleaner one.

How many were still open a month later

The test drew a random sample of 2,000 open pairs per token and read each allowance on 3 November. Of 916 sampled pairs that were unlimited on 4 October, 897 (97.9%) were still unlimited. Of 3,084 sampled pairs with a finite allowance, 1,052 (34.1%) still held a balance above zero: 23.6% for USDC and 44.0% for USDT. Unlimited allowances therefore persist because spending does not use them up. On Permit2 the same window shows 3,732 allowance events, 69.4% at the contract's maximum amount, yet 84.4% expiring within 31 days and a median expiry of 30.4 days after the window opened.

What the sample cannot show

One day, one chain and two tokens limit the result. An owner address is not a person, and an unlimited allowance is a standing capability, not a loss. The sample identifies spenders only by address, so it cannot say which approvals are dangerous; that depends on who controls the spender. It shows the base rate: an approval that nobody revokes stays open for the next month at close to 98% odds when it is unlimited. Permit2 data covers 599 token addresses in the window, not only USDC and USDT.

Bar chart: unlimited allowances still open 98% for USDC and USDT; finite allowances 24% USDC and 44% USDT
Bar chart of 89,255 approval events: finite amount 77%, zero 14%, unlimited 9%

The sample sets the base rate; the audit that finds the open entries takes a few minutes.

How Are Approvals Audited and Revoked With Revoke.cash, Etherscan or a Wallet?

An audit means listing every approval an address has granted, then sending a revoke for each one that is no longer needed. Three routes do this: Revoke.cash, Etherscan's token approval checker, and approval lists inside wallets. Each revoke is a separate on-chain transaction that costs gas.

Revoke.cash and what its list shows

Revoke.cash states that it supports 80+ networks and works with the major wallets (Revoke.cash, 2026). A reader can paste an address or Ethereum Name Service (ENS) name to look without connecting, then pick a network and see every approval on it. The list sorts newest first, which helps after a suspicious signature, and it filters by spender. Each row offers a revoke button or an option to lower the amount. The tool cannot recover stolen funds, and a wallet whose ETH disappears on arrival has a leaked key, which revoking does not fix (Revoke.cash, 2026). The check repeats on every chain the address has used.

Etherscan's checker and wallet built-ins

Etherscan's token approval tool lists ERC-20, ERC-721 and ERC-1155 approvals with the spender, the original and the current allowance, and the value at risk. Only the address owner can send the revoke (Etherscan, 2020). MetaMask's help center describes a Portfolio feature that views allowances and submits revocations on Ethereum, Polygon and BNB Chain, and it lists explorer checkers as the alternative (MetaMask, 2026). Rabby also keeps an approvals list inside the wallet. The explorer route needs no new tool, and a hardware wallet works with it through MetaMask (Ledger Support, 2026).

Read the transaction before confirming

A revoke is an approve call with the amount set to zero. The wallet pop-up may say "give permission", and the details view should show the spender and an amount of 0 (Revoke.cash, 2026). A hardware wallet shows the same call on its own screen. A mismatch between the website's display and the signed payload preceded the $1.4B Bybit theft (DefiLlama, 2026). The address of any revoke tool is best typed or bookmarked, not followed from a message. The table shows what each route covers.

ToolERC-20 approvalsPermit2 allowancesEIP-7702 delegationRevokes it
Revoke.cashLists, revokes, lowersLists, revokesLists onlyApprovals and Permit2
Etherscan checkerLists, revokesNot documentedDelegated Address field on the account pageApprovals
MetaMaskPortfolio list, revokeNot documentedReset in account detailsApprovals and delegation
Node call for the account's codeNoNoShows 0xef0100 plus the delegate addressNo

Data current as of November 2026.

Approvals come with a revoke button in the tools above; a delegation is usually cleared from the wallet (Revoke.cash, 2026).

What Is an EIP-7702 Delegation, and How Is One Checked and Cleared?

An EIP-7702 delegation makes a normal account run a contract's code, and it covers the whole account, not one token. Ethereum added it with the Pectra upgrade on 7 May 2025. Checking takes one lookup, and clearing it takes one wallet action per chain.

What a delegation is and how to see one

The account signs an authorization naming a contract. The network then writes a marker, 0xef0100 followed by the contract's 20-byte address, into the account's code, and every call to the account runs that contract (EIP-7702, 2024). The private key keeps full control. To check, paste the address into Etherscan and read the Delegated Address field: empty means no delegation (Hackernoon, 2026). A node call for the account's code returns the same marker. Revoke.cash lists delegations in a Delegations tab. An authorization with chain ID zero is valid on every compatible chain, so the check repeats per chain.

How to clear it

Clearing a delegation means signing a new authorization that points the account at the zero address, which resets the code to empty (EIP-7702, 2024). Revoke.cash cannot do it, because most wallets do not let outside websites change delegations (Revoke.cash, 2026). The wallet has to. MetaMask's route is Account details, then Smart account, then the per-network toggle, and each toggle is a transaction with a small fee (MetaMask, 2026). A delegation that the owner never chose is a warning sign. Wintermute found that most early delegations pointed at sweeper code that forwards deposits to an attacker (Wintermute, 2025). The hijacker keeps the key, so a leaked key can set a delegation again.

The Binance 14 case

A delegation also carries the account's other permissions. On 29 October 2026 one transaction with 50 authorizations pointed the Binance 14 address at an attacker contract, and a sweep about three and a half minutes later moved 167,464 ETH and about 1.6B USDT (Fireblocks, 2026; Hypernative, 2026) . The attacker contract also pulled about $823M of USDC from a Circle smart account whose only owner was Binance 14, so the delegation inherited that permission. Binance revoked the delegation at 00:10 UTC on 30 October, about 3 hours 49 minutes after it was set. Binance's initial report of 3 November says its own wallet signing service signed the authorizations, after an attacker spent months working through staff machines, and that it found no evidence of a private-key leak (Binance, 2026). The hot wallet used multi-party computation (MPC), so no single key could sign a quick revocation. The report is preliminary and subject to independent review .

Vertical timeline of five steps from the 29 October delegation to Binance revoking it on 30 October 2026

A cleared delegation and a revoked approval both assume the key is safe; the next section covers what each revoke costs and where it stops helping.

When Is Revoking Worth the Gas, and What Can It Not Undo?

Revoking costs about two cents on Ethereum at current gas prices, so cost seldom decides the question. The judgement is which permissions to remove first, and what a revoke cannot reverse. A revoke stops future spending. It does nothing about spending that has already happened.

What a revoke costs

The test estimated the gas for approve(spender, 0) from 40 real owners of open unlimited allowances per token (own test, 24 November 2026). USDC needed about 38,900 gas and USDT about 31,400. At the Ethereum base fee of 0.377 gwei and an ether price of $1,688 (CoinPaprika API, 2026-11-24), that is about $0.025 and $0.020 before a priority tip (as of 24 November 2026) . At 20 gwei the same calls would cost about $1.31 and $1.06. Layer-2 networks charge less, and each chain needs its own revoke.

What to revoke first and what to leave

The order follows exposure, and Revoke.cash advises revoking for newer and unknown contracts first (Revoke.cash, 2026). Unlimited allowances for spenders that are unknown or unused for months come next, then the approval given to the Permit2 contract itself for tokens not in use. Approvals for a large, frequently used protocol are a trade-off between safety and convenience, and Revoke.cash says leaving them active is most likely fine for well-known protocols (Revoke.cash, 2026). A lower amount than unlimited is a middle path. Anything tied to an active marketplace listing or a live position needs its approval kept, and a revoke does not touch deposited or staked tokens.

What revoking cannot undo

A revoke cannot return funds that a spender already moved, and it cannot reverse a permit that was already submitted and spent. A signed permit that nobody has used needs a different cancel: for Permit2, a nonce change or the revoke of the token's Permit2 approval; for a plain EIP-2612 permit, a newer permit that uses up its nonce. If the private key leaked, approvals are irrelevant, since the attacker can transfer directly, and each revoke fee can be swept on arrival (Revoke.cash, 2026). In that case the funds move to a fresh wallet, and the guide to how to store a recovery phrase ↗ covers the key itself.

SituationDoes a revoke helpWhat to do instead
Unlimited approval to an unused appYes, ends future spendingRevoke it
Spender contract exploited tomorrowYes, if revoked beforeRevoke unused approvals now
Tokens already transferred outNoReport and trace the transaction
Permit already submitted and spentNo, spend is finalRevoke any remaining allowance
Signed permit not yet submittedNot by revoking an approvalUse up the nonce, or revoke Permit2
Leaked private key or seed phraseNoMove funds to a new wallet

Data current as of November 2026.

The last step is turning the audit into a routine that costs a few minutes.

How Can the Permission List Stay Short Without Losing Convenience?

A short permission list comes from separating wallets by purpose and reviewing after each new application. Three habits do most of the work: a small hot wallet for new apps, exact amounts or expiries where the app allows them, and a scheduled check.

A review routine that stays small

A separate wallet for experiments limits what any single approval can reach, since a spender can take only what the wallet holds. Most interfaces let the user replace "unlimited" with an exact amount in the wallet prompt, and Permit2 allowances carry an expiry that should not be far away (Revoke.cash, 2026). A review after trying any new application is cheap, and a monthly pass on the main address catches the rest. A hardware wallet shows the call data of each approval on its own screen, which gives a second look at the spender and the amount. Revoke fees are small enough that clearing old entries costs less than studying each one. Each review covers ERC-20 approvals, the Permit2 contract and the Delegations tab, on each chain in use.

Where this fits among other defences

Approvals are one layer among several. The pillar guide to how to keep crypto safe ↗ places them beside custody, devices and people. Large balances belong in a setup where one signature cannot move them, such as multisig wallets ↗, and the choice between an always-connected and an offline key is covered in hot wallet vs cold wallet ↗. Multi-party computation wallets and smart accounts are other models, each with its own article.

Conclusion

Wallet permissions come in four forms, and the differences between them are mostly about visibility. An approval leaves an on-chain record, a signature leaves none until someone submits it, and a delegation changes the account itself. The one-day sample shows how rarely any of them is cleaned up: unlimited allowances stayed open at close to 98% a month later, while a revoke costs about two cents.

The difference between a harmless permission and a dangerous one is the spender, and that difference stays invisible until the spender is exploited or malicious. An approval to a trusted protocol and one to a drainer look identical in a list. The delegation case is harsher: the attacker contract also drew on Binance 14's permission over another contract during the same episode. Revoking does nothing for spending that has already happened, and nothing for a leaked key.

Audit the main address now. Open Revoke.cash or Etherscan's approval checker, sort newest first, and revoke unlimited allowances for any spender you do not recognise or no longer use. Check the Delegations tab on each chain you use, and clear anything you did not choose from inside the wallet. Then repeat the check after each new application, and send a revoke whenever a signature looks wrong in hindsight.

Quick Stats

  • 89,255 — USDC and USDT approval events read in one day on Ethereum
  • 23% — open owner-spender pairs that ended the window unlimited
  • 98% — sampled unlimited pairs still open a month later
  • 69% — Permit2 allowance events at the maximum amount
  • $0.02 — gas to revoke one USDC approval on 24 November 2026
  • 3 h 49 min — time Binance 14's delegation stayed active

Data current as of November 2026.

FAQ

?Is disconnecting my wallet from a site the same as revoking its approval?

No. Disconnecting stops a site from seeing the address and requesting signatures, and it cancels no approval. The allowance sits in the token contract until the owner sets it to zero with a transaction. Revoke.cash states that disconnecting does nothing to protect against approval exploits, so a user who stops using an application should disconnect and revoke.

?Does revoking an approval affect tokens I have staked or deposited?

No. Deposited and staked tokens stay in place, and the owner can still withdraw them. A revoke only removes the spender's right to pull more tokens from the wallet. Adding to the same position later needs a fresh approval, so the app asks again at the next deposit. Active marketplace listings are the exception: they stop working if their approval is removed.

?How often should I check my approvals?

After trying any new application, and on a fixed schedule such as monthly for the main address. A check straight after a suspicious signature matters most, and sorting the list newest first puts that entry on top. Wallets used for a single purpose can be checked less often. Every chain in use needs its own check, since allowances and delegations are kept per chain.

?Can someone use my approval if I no longer hold the token?

Yes. The allowance belongs to the owner and spender pair, not to the balance, so it stays active when the wallet holds none of the token. If the token is bought again later, the spender can pull it. Etherscan's tool has a toggle that shows all previously granted approvals, including for tokens no longer held, which is how stale entries are found (Etherscan, 2020).

?Is a Permit2 signature safer than a normal unlimited approval?

Partly. A Permit2 allowance carries an expiry, and in the sample the median was 30 days, so an old one lapses by itself. The one-time approval of the Permit2 contract is usually unlimited, though, and 69% of Permit2 allowances in the window were at the maximum amount. Permit2 limits how long a grant lasts and leaves how much it covers up to the signer.

?My funds were drained: will revoking get them back?

No. Revoke.cash states that it cannot recover stolen funds. Revoking stops further loss through the same approval, which is still worth doing. If ether in the wallet vanishes as soon as it arrives, the key itself has leaked and revoking will not help. The funds that remain need to move to a new wallet with a new recovery phrase.

?Do NFT approvals need the same clean-up?

Yes. A non-fungible token (NFT) collection approval, setApprovalForAll, lets an operator move every token in the collection, and the revoke sets it to false. Etherscan's checker lists ERC-721 and ERC-1155 approvals beside ERC-20 ones, and Revoke.cash shows them in the same list. Approvals behind an active marketplace listing need to stay until the listing ends.

References / Sources

Academic & Technical

Standards and contract documentation for each permission type.

  • Ethereum Foundation: EIP-7702, Set Code for EOAs (eips.ethereum.org, May 2024)
  • Martin Lundfall: ERC-2612, Permit Extension for EIP-20 (eips.ethereum.org, Apr 2020)
  • Uniswap: Permit2 Overview (docs.uniswap.org, 2026)
  • MEVDAO: How to Revoke Token Approvals and Permit2 Signatures (mevdao.org, Oct 2026)
Platform & Company Data

Maker documentation for the revoke tools and wallets named in the article.

  • Revoke.cash: How to Revoke Token Approvals (revoke.cash, 2026)
  • Etherscan: Token Approvals Information Center (info.etherscan.com, Dec 2020)
  • MetaMask: How to Revoke Smart Contract Allowances (support.metamask.io, 2026)
  • Ledger: Revoke Token Approvals on Ethereum (support.ledger.com, 2026)
  • Hackernoon: What Is EIP-7702 and How to Stay Safe (hackernoon.com, 2026)
Incidents & On-Chain Data

Incident reconstruction and this article's own measurement.

  • Fireblocks and Hypernative: Binance 14 delegation analysis (fireblocks.com, Oct 2026)
  • Binance: Security Incident Update (binance.com, Oct 2026)
  • Binance: 29 October 2026 Security Incident Initial Findings (binance.com, Nov 2026)
  • Wintermute: EIP-7702 Delegation Analysis (x.com, May 2025)
  • CoinPaprika API: ETH price, 24 November 2026 (api.coinpaprika.com, Nov 2026)
  • DefiLlama: Hacks database, Bybit entry (defillama.com, Nov 2026)
  • Own test: USDC and USDT Approval events and allowances, Ethereum (CoinPaprika analysis of Ethereum event logs, Nov 2026)
مشاركة هذا الدليل
كتبه Bartek Hagan

دليل CoinPaprika أصلي.

الإبلاغ عن تصحيح
جميع الأدلة

تعتبر العملات المشفرة متقلبة للغاية وتنطوي على مخاطر كبيرة. قد تخسر جزءًا أو كل استثمارك.

جميع المعلومات على Coinpaprika مقدمة لأغراض معلوماتية فقط ولا تشكل نصيحة مالية أو استثمارية. قم دائمًا بإجراء بحثك الخاص (DYOR) واستشر مستشارًا ماليًا مؤهلاً قبل اتخاذ قرارات الاستثمار.

لا تتحمل Coinpaprika أي مسؤولية عن أي خسائر ناتجة عن استخدام هذه المعلومات.