IndexCrypto
Educational only. Not financial, tax or legal advice, and nothing here is a recommendation to buy anything.

Permit Signatures and Off-Chain Approval Phishing

Permit signatures grant spending rights with no gas fee and no on-chain approval. Learn what the typed-data fields mean and why revoke tools miss unused permits.

A permit signature is a message, not a transaction. It costs nothing to produce, it does not appear in a block explorer as a transfer, and it does not change any balance at the moment it is signed. That combination is exactly why it works as a phishing vector: a victim signs typed data believing they are confirming a login, a claim, or a harmless authorisation, and the message they signed is in fact a standing grant that lets someone else move their tokens later, at a time of the attacker’s choosing, without any further input from the victim.

The mechanism is defined in token standards. EIP-2612 adds a permit function to ERC-20 tokens: instead of sending an on-chain approve transaction and paying gas, the token holder signs a structured message off-chain, and anyone holding that signature can submit it to the token contract to set an allowance. Permit2 generalises the idea: a single on-chain approval to the Permit2 contract lets the holder then sign many off-chain permits for individual tokens, each with its own amount and expiry. Both designs are legitimate and widely used by decentralised exchanges and payment flows. Both are also indistinguishable, at the signing screen, from a phishing request if the reader does not inspect the fields.

What the signature actually authorises

A permit is typed data, usually displayed in a wallet as a structured object rather than a hex blob. The fields that matter:

FieldMeaningWhat to check
ownerThe address granting the allowanceMust be your address. A different owner means the message is not yours to sign.
spenderThe contract or address allowed to move the tokensThis is the address that will be able to transfer. If you do not recognise it, stop.
valueThe amount of tokens the spender may moveOften the maximum uint256 value, meaning unlimited. A permit for an unlimited amount is a full drain authorisation.
deadlineUnix timestamp after which the permit is invalidA far-future deadline means the grant does not expire.
noncePer-owner counter preventing replayShould match the owner’s current nonce on the token contract.
chainIdThe chain the permit is valid onA mismatch means the signature will not work where you expect, or is intended elsewhere.

For Permit2 the structure is nested: the outer approval is to the Permit2 contract, and the signed message contains a PermitSingle or PermitBatch with a details object holding token, amount, expiration, and nonce, plus a spender field. The same reading applies: who is spending, how much, until when.

A wallet that shows only “Sign message” without decoding the typed data is asking you to authorise something you cannot see. That is the condition under which permit phishing succeeds.

Why the victim believes nothing happened

An on-chain approve produces a transaction hash, a gas fee, and a visible allowance change on a block explorer. A permit produces none of those at signing time. The signature sits with the attacker until they choose to submit it. The victim’s wallet balance is unchanged, no gas was spent, and the activity feed shows nothing. Days or weeks later the tokens move, and the transaction that moves them is submitted by the attacker’s address, not the victim’s.

This delay is the core of the deception. The signing prompt looks like every other signature request a user has approved for logging into a site, claiming an airdrop, or proving wallet ownership. The typed data is technically present, but on a small screen, in a hurried moment, the difference between a personal_sign login message and an EIP-2612 Permit is a few field names.

What people get wrong about this

The common misdiagnosis is: “I only signed a message, so nothing was approved, and there is nothing to revoke.” That is a natural conclusion, because in ordinary web use a signature is a statement of intent with no lasting power. In EVM wallets, a signature over typed data can be a bearer instrument: whoever holds it can present it to a contract and have it honoured. The mental model from web logins does not transfer, and the wallet UI rarely makes the difference explicit.

The second misdiagnosis is the reverse: assuming a revoke tool will clean up a permit. Most revoke dashboards read on-chain allowance state. An unused permit has not been submitted, so no allowance exists on-chain yet, and the dashboard has nothing to show. The signature is a pending capability held off-chain, not a stored approval. A revoke transaction cannot cancel a signature that has not been used, because the token contract has never seen it.

A third error is treating a failed or rejected transaction as a safe outcome. If the permit signature was already produced, rejecting a later transaction does not invalidate it. The signature exists independently of any transaction the victim subsequently declines.

What can and cannot be done afterwards

SituationWhat is possibleWhen this does not apply
Permit signed, not yet submittedA revoke transaction does not cancel it. Moving remaining tokens to a different address you control reduces what the permit can reach. On a token with sequential permit nonces, using that nonce first - submitting a new permit of your own - also makes the old signature unusable, though few wallet interfaces offer this.The permit’s value is zero or the token balance is already zero.
Permit submitted, allowance visibleAn on-chain approve(spender, 0) from the owner resets the allowance, subject to the token’s implementation.The token does not implement a standard approve, or the spender is the token contract itself in a non-standard design.
Permit2 single-token permitRevoking the underlying ERC-20 approval to the Permit2 contract removes the base allowance that Permit2 relies on.The permit was granted under a different Permit2 deployment than the one you revoke.
Permit signed with a deadline that has passedThe permit can no longer be submitted.The contract does not enforce the deadline, which is a contract-specific property you cannot assume.
Wallet compromised at the key levelPermit revocation does not help; the key itself is the problem.Never applies to permit-only phishing, where the key was not exposed.

Revoking the base ERC-20 approval to Permit2 is the practical lever for Permit2-based permits, because Permit2 cannot move tokens it has no allowance for. For a direct EIP-2612 permit, the allowance only exists once the signature is submitted, so the window between signing and submission is when acting matters: moving the tokens away, or consuming the nonce so the signature no longer matches, has to happen before the attacker submits it.

Reading the signing screen

Before approving any typed-data signature, the fields above should be visible and legible. If the wallet shows a hash instead of decoded fields, the request cannot be evaluated and should be declined. If the spender is an address you have not deliberately interacted with, the request is not a login. If value is the maximum integer, the grant is unlimited regardless of what the site’s interface claims.

A useful check is to compare the domain in the typed data with the site you believe you are on. EIP-712 typed data includes a domain object with name, version, chainId, and verifyingContract. A permit whose verifyingContract is a token contract you do not hold, or whose name does not match the token, is not the permit the interface described.

Where this connects to on-chain approvals

On-chain token approvals and permit signatures are two routes to the same outcome: a third party gaining the right to move your tokens. The on-chain route is visible, costs gas, and appears in revoke tools. The off-chain route is invisible until used, costs nothing, and does not. Defending against both starts at the same place: reading what the wallet is asking you to authorise, and treating any request that cannot be read as a request to decline. No seed phrase, recovery phrase, or private key is ever required to inspect, sign, or revoke a permit, and any page that asks for one during this process is not part of the process.

cast call 0xTOKEN "nonces(address)(uint256)" 0xOWNER --rpc-url $RPC

Returns the owner’s current permit nonce. A signed permit with a nonce lower than this value has already been used or superseded and cannot be replayed.

cast call 0xTOKEN "allowance(address,address)(uint256)" 0xOWNER 0xSPENDER --rpc-url $RPC

Returns the current on-chain allowance. A non-zero value after a suspected permit means the signature has been submitted; zero means it has not, or has been revoked.

cast call 0xPERMIT2 "allowance(address,address,address)(uint160,uint48,uint48)" 0xOWNER 0xTOKEN 0xSPENDER --rpc-url $RPC

Returns the Permit2 allowance amount, expiration, and nonce for that owner-token-spender triple. A zero amount with a past expiration means the Permit2 permit is no longer usable.

Common questions

I signed a permit but no tokens moved. Is it still dangerous?

Yes. An unused permit is a valid signature that anyone holding it can submit to the token contract later. The absence of a transfer does not mean the grant is gone; it means it has not been exercised yet. Moving remaining tokens to an address whose key you control reduces what the permit can reach.

Why doesn't my revoke tool show the permit?

Most revoke tools read on-chain allowance state. An unsubmitted permit has not created an on-chain allowance, so there is nothing for the tool to display. The signature is an off-chain capability, not a stored approval, and a revoke transaction does not cancel it.

What is the difference between EIP-2612 and Permit2?

EIP-2612 adds a permit function to individual ERC-20 tokens, so each token issues its own off-chain approval. Permit2 is a separate contract: you approve it once on-chain, then sign off-chain permits for many tokens through it. Revoking the base approval to Permit2 removes the allowance it depends on.

Can I tell a permit from a normal login signature?

A login uses a plain message signature. A permit is EIP-712 typed data with fields such as owner, spender, value, deadline, and nonce, plus a domain object naming the verifying contract. If the wallet shows only a hash or a generic prompt, the request cannot be evaluated and should be declined.

Does rejecting the transaction afterwards cancel the permit?

No. The signature exists independently of any transaction you later decline. Once produced, it remains valid until its deadline passes or the nonce is consumed, subject to how the specific token contract enforces those fields.

Read next