Uniswap Permit2 Approvals: Why an Expired Swap Signature May Leave an Unlimited Token Allowance
Uniswap’s Permit2 system can use a two-layer approval structure: a token owner first grants the Permit2 contract on-chain permission to spend a token, then signs a more specific authorisation for a particular spender, amount and time. An expiring signed permit does not automatically mean the base ERC-20 allowance to Permit2 has been revoked. This distinction matters when checking lingering wallet approvals and phishing risk.
Suppose a wallet grants the Permit2 contract a large or unlimited allowance over an ERC-20 token. A subsequent off-chain signature permits an intended swap router to use up to 500 tokens until a specified deadline. When the signature expires, the intended delegated permission may cease, but the earlier underlying token approval to Permit2 can still exist. A later malicious signature could potentially create fresh spending permission unless controlled and verified.

Why Permit2 exists
Many ERC-20 tokens require on-chain approval before a router can transfer tokens on the user’s behalf. Permit2 enables a reusable allowance to the Permit2 contract and then more granular per-spender signed permissions, potentially avoiding repeated token-approval transactions. Uniswap’s developer documentation distinguishes AllowanceTransfer from SignatureTransfer designs.
A signed message may be produced without a network fee. That convenience also creates a security risk: a user may approve a dangerous delegated spend without noticing an ordinary on-chain token approval transaction.
Two permissions, two expiration conditions
The original ERC-20 contract tracks how much Permit2 is allowed to spend. The later Permit2 signature can specify amount, spender, nonce and expiry under the relevant flow. Expiration or use of one permit does not necessarily revoke the original ERC-20 token allowance. The user should inspect and manage both layers.
A compromised website can ask for a seemingly harmless ‘sign in’ signature that actually authorises token transfers. Review typed-data fields and verify the exact chain and contract through official documentation.
Worked 500-token delegation
With a large existing base allowance, a legitimate signature can authorise a 500-token swap for a specified spender until a deadline. After that deadline, that signed authorisation should be unusable under the relevant contract checks. It does not follow that every other future Permit2 signature is impossible or that the token has become wholly locked.
Some permits are one-time signatures, while others establish time-limited allowances. Nonces, expirations and amount controls vary by module. Do not assume all signature requests have identical behaviour.
The actual phishing and revocation risk
Uniswap warns that a malicious signature can compromise tokens accessible through a prior Permit2 approval. The safest approach is to read meaningful signing data on a trusted wallet interface, reject unexpected contract requests and avoid seed-phrase requests. A hardware wallet’s private-key security does not validate a malicious message’s intent.
Revocation tools can help remove obsolete token approvals and delegated allowances, but a revocation transaction can cost gas and must be made through a legitimate site or contract interface. Verify the correct chain and contract.
A signature deadline does not necessarily cancel the underlying ERC-20 permission
Imagine a wallet approves the official Permit2 contract to access a very large balance of token XYZ, then signs a 500-token delegation to a chosen swap router that expires later that day. When the router’s delegated authorisation times out, it cannot continue using that particular expired permit under the stated rules. But the original token’s on-chain approval to the Permit2 contract may still exist. The two permissions are recorded and controlled differently, so revoking only one may not remove the other.
A user should inspect the token contract’s approved spender, the Permit2 spender-specific allowance or signature, nonce, token address, chain, expiry and amount. A malicious website could ask for a fresh signature if the large underlying allowance remains. An expiry timestamp is not evidence that a separate base approval has been revoked; nor does a valid signature guarantee a trustworthy swap. Check Uniswap’s Permit2 specification and revoke unnecessary permissions through a verified tool or wallet interface, never a random “wallet rescue” page.
A practical pre-swap checklist
Check the token contract, Permit2 address, allowed spender, amount, expiry, nonce and intended swap quote. Recheck transaction summary in the wallet. Avoid giving unlimited token approvals merely for convenience when a lower allowance can meet the intended purpose.
For infrequent retail users, separating a limited-balance trading wallet from long-term holdings reduces possible exposure to permission mistakes.
Common mistakes
- Assuming signature expiry revokes token’s ERC-20 approval
- Signing typed data without understanding spender rights
- Giving out a seed phrase to remove allowances
- Reusing old signed permits for new quotes
Frequently asked questions
Does Permit2 signature expiry revoke my original unlimited approval?
Not necessarily. The base ERC-20 allowance can persist and must be inspected separately.
Are off-chain signatures always safe because they cost no gas?
No. They can confer enforceable token-transfer permissions.
Primary references
Related Traders MBA guide: Hardware wallet blind-signing risks.
Educational content only. Real-market pricing, contract conventions and investment outcomes can differ. This is not personalised trading, investment, tax or legal advice.
Stay Ahead of the Markets
Get market analysis, financial news and practical trading insights delivered straight to your inbox.