Skip to content
Crypto News

Blockchain markets, protocols and regulation

Token approval checks before signing: know what you authorize

Use this token approval security checklist before signing: verify the site, account, network, token, spender and permission scope, then approve only what the task needs.

The Crypto News Editors

Token approval checks before signing: know what you authorize

If an approval request is open, sign only when you can identify the site, account, network, token, spender and permission it grants. Those details show which assets a contract can access and how much control it receives.

A token approval gives a smart contract permission to spend or manage tokens; connecting your wallet to a site is a separate action. revokecash is a tool for inspecting and managing token approvals a wallet has already granted. Reviewing those existing approvals can help you judge a new request against permissions your wallet already has.

Before signing, verify the permission

  • Match the site, account and network to your intended action. Read the domain in your browser, confirm the selected wallet account, and check the network shown in the wallet. A request from the wrong site, account or network may relate to a different action than the one you intended.
  • Match the token contract on the selected network. Look up its address in official project documentation that you reached independently, such as by typing the known domain or using a trusted bookmark. Familiar symbols can belong to different contracts, including on different networks. Compare the full address shown in the wallet with the documented address; a matching name or logo is not enough.
  • Verify the spender address the same way. The spender is the contract receiving permission. Find its address in independently reached official documentation and compare it with the wallet prompt. If the address is unexplained or does not match, reject the request until you can establish why it is there.
  • Limit the permission to the task. An ERC-20 approval specifies a spender and an amount. If the prompt lets you set an amount, choose the amount needed for the action instead of a larger allowance. An ERC-721 setApprovalForAll request authorizes an operator across the owner’s collection holdings, so confirm that collection-wide access is required for your task.
  • Read every field in a permit message. For Permit2 or another permit request, inspect the token, spender, amount, chain and deadline shown in the signing message. A permit is a signature authorizing a permission; it may not look like a regular transaction prompt. Pause if key fields are unreadable, missing or inconsistent with the action.
  • Read the wallet’s warnings and simulation. Check what the wallet says the transaction or signature will do. A warning or unexpected effect needs an explanation before you proceed. If you cannot connect the request to the action you started, reject it.

Related questions

Are hardware wallets safe from malicious approvals?

Hardware wallets can authorize harmful permissions if their owner signs them. They protect the signing key from ordinary exposure, but you still need to inspect the request on the wallet’s display and confirm the permission makes sense.

What is the difference between a wallet connection and token approval?

A wallet connection lets a site access the connected account’s address and request actions. A token approval grants a spender permission to access or spend specified assets. Connecting alone is not the same as granting that permission.

Approve only when the site, account, network, token, spender and scope all match the task, because those details determine who can access which assets. If one remains unexplained, reject the request and resolve it first.

Next steps after signing

The right follow-up depends on what you signed and what the wallet shows.

How can an unused permit signature be invalidated?

Use the nonce invalidation or cancellation method supported by that permit type, if available. Check the relevant contract’s behavior: a deadline limits when a signature can be used, but it does not cancel it before that deadline.

How can an approval be revoked through a hardware wallet?

Use a trusted wallet interface to prepare a revocation transaction, then review and sign it with the hardware wallet. Confirm the network and approval details before signing.

How should a wallet be secured after signing a malicious approval?

Use a trusted interface to revoke the approval and check for other unfamiliar permissions. If you suspect the wallet’s recovery phrase or private key was exposed, move assets to a new wallet with a new recovery phrase.

Why does an approval transaction fail?

Check that the wallet is on the intended network and has enough native currency for the transaction fee. The token contract or requested transaction may also reject the action; read the wallet’s error and verify the request before trying again.