Permit2 phishing: one unlimited approve and a signature that drains everything
Permit2 is a convenient Uniswap standard that many apps use instead of a plain approve. But it
has its own risk model: one unlimited approve to a shared contract plus one phished signature -
and the whole token balance leaves to the attacker in a single transaction. This is
signature phishing in its most dangerous form.
What Permit2 is
Permit2 is a single canonical contract from Uniswap
(0x000000000022D473030F116dDEE9F6B43aC78BA3) that holds token allowances for many apps at
once. You make an ordinary on-chain approve(Permit2, max) on a token once, and after that you
grant rights to specific dApps through off-chain signatures - no transactions, no gas. There are two
modes: AllowanceTransfer (PermitSingle / PermitBatch) and
SignatureTransfer (PermitTransferFrom).
How it differs from a plain permit (EIP-2612)
With EIP-2612 permit the signature targets the token
itself, and it only works if the token implements permit(). With Permit2 the signature
targets a shared intermediary: one approve to Permit2 covers every token routed through
it. The signature struct is its own too - spender, amount, expiration,
nonce, sigDeadline - and the spend runs through
Permit2.permit() / transferFrom(), not the token's own permit().
A double risk
The danger is made of two parts:
- An unlimited first approve. Apps often ask for
approve(Permit2, max)- after that your entire token balance is available to Permit2, not just the amount you needed. - A phished signature. Phishing asks you to sign a
PermitSingle/PermitTransferFromwithspender= the attacker,amount= maximum and a far-offexpiration. No gas, no second prompt - the signature is the authorization.
You already have approve(Permit2, max) in place. You sign a Permit2 message on a phishing
site. The attacker calls Permit2.permit(victim, …, sig), then
Permit2.transferFrom(victim, attacker, amount, token) - and the whole balance leaves in a
single transaction. You never sent a transfer and paid no gas.
How to stay safe
- Be wary of "unlimited". A Permit2 signature with
amount= maximum or far above the need, with an implausibly farexpiration/sigDeadlineto an unknownspender, is a red flag. - Sign the exact amount and a short window. Only as much as the operation needs, with a near
expiration, so the residual approval tends to zero. - Review and revoke your
approveto Permit2 (and signed approvals) at revoke.cash. - Don't sign Permit2 messages on unfamiliar sites - it's an approval over your tokens, not a "log in".
It has already happened
On 13 October 2024 a PEPE holder lost about $1.39M (PEPE, MSTR, APU) after signing one Uniswap Permit2 phishing signature that granted the attacker unrestricted pull rights. One signature - and several tokens left at once.
Want to see the trap live? Our trainer has a signing trap on testnet - you sign, see what you actually authorized, and learn to tell a "log in" from an approval over your tokens.