Introduction
In the Ethereum ecosystem, interacting with Decentralized Applications (DApps) often requires granting permission to a smart contract to move tokens on your behalf. This is handled via the approve function in the ERC20 standard. To minimize transaction costs (gas fees), many DApps request "unlimited approval"—effectively granting permission to spend an infinite amount of tokens ($2^{256}-1$). While this saves a few dollars in the short term ("Penny Wise"), it exposes users to catastrophic risks if the DApp is compromised ("Pound Foolish").
This study provides the first systematic quantification of these risks, revealing that 22% of users are at high risk of asset theft, while only a negligible 0.2% follow secure practices.
Threat Models
The risk of unlimited approval manifests in two primary ways. First, a DApp itself might be malicious or hijacked, directly using the approval to drain user wallets. Second, an honest DApp might contain a security vulnerability that an external attacker can exploit to call functions that move approved tokens.
Methodology
The researchers employed a multi-faceted approach to analyze the ecosystem:
- Blockchain Analysis: Scanning the entire Ethereum history up to July 2021 using a cluster of 12 machines, identifying and parsing 25.4 million approval transactions.
- Interface Investigation: Manually auditing 22 representative DApps and 9 popular wallets for "Interpretability" (risk explanation) and "Flexibility" (ability to modify approval amounts).
- Behavioral Characterization: Formalizing five modes of user behavior to track how users manage their approvals over time, identifying those who follow "good practice" (on-demand approval and timely revocation).
The Explosion of Unlimited Approvals
The prevalence of unlimited approvals has grown dramatically alongside the rise of Decentralized Finance (DeFi). The release of Uniswap V2 in May 2020 marked a turning point, after which the volume of approval transactions—particularly unlimited ones—skyrocketed.
Key Findings
1. Defaulting to Danger
The study found that 60% of all approval transactions on Ethereum are for unlimited amounts. Alarmingly, all 22 DApps surveyed requested unlimited approval by default. Most users simply click "confirm" without realizing they are granting permanent, infinite access to their funds.
2. UI Deception and Poor Support
User interfaces often fail to protect users. Only 10% of DApp/Wallet UIs provide clear explanatory information about the approval mechanism. Furthermore, some DApps (like Curve.fi and Yearn Finance) were found to have misleading UIs, showing a small approval amount to the user while actually sending an unlimited approval request to the wallet for signing.
3. The "High Risk" State
A user is considered at "High Risk" if they have a non-zero token balance and an active allowance granted to a spender. Most users fail to revoke these approvals after their transactions are complete, leaving a "back door" open indefinitely. The study found that 22% of users currently reside in this high-risk state.
4. Economic Incentives
The primary driver for this insecure behavior is economic. Users frequently choose the risk of total loss over the certainty of paying an additional $5–$20 in gas fees for a limited, one-time approval. Only 0.2% of users were found to follow secure "good practices."
Conclusion
The practice of unlimited approval is a systemic vulnerability in the Ethereum ecosystem. While it offers convenience and cost savings, the lack of user awareness and poor UI design has created a massive attack surface. As the ecosystem evolves, moving toward standards like EIP-2612 (permit) and exploring Layer 2 solutions with lower fees may help mitigate these "Pound Foolish" risks.
Summary updated