What is Allowance Revocation?
Allowance revocation is the process of removing a previously granted ERC-20 token approval — setting the allowance back to zero so the spender contract can no longer transfer tokens from the wallet.
WHY IT MATTERS
Every outstanding token approval is a potential attack vector. When you revoke an allowance, you close that vector. Revocation is a simple approve(spender, 0) call — setting the allowance to zero and removing the spender's ability to transfer tokens.
Tools like Revoke.cash and Etherscan's approval checker make revocation accessible for humans. For agents, revocation should be automated — built into the transaction workflow as a cleanup step after each DeFi interaction.
The cost is minimal (a single contract call, typically < $0.01 on L2s) but the security benefit is significant. A wallet with zero outstanding approvals has zero approval-based attack surface.
HOW POLICYLAYER USES THIS
PolicyLayer supports automated allowance revocation for agent wallets — revoking approvals after each transaction completes and maintaining zero outstanding approvals as the default state. This eliminates the approval attack surface between transactions.