Signing Transactions Safely: Read Before You Sign
Learn to sign transactions safely: what each wallet prompt means, how to spot dangerous approvals and permits, and a checklist to run before you click confirm.
To sign transactions safely, read every wallet prompt before confirming, check which site and contract you are interacting with, look for approvals or permits that grant spending rights, and confirm the exact assets and amounts leaving your wallet — rejecting anything you did not expect. A signature is your wallet's only line of defense: once you approve, the blockchain executes it without asking twice.
Most crypto theft from self-custody wallets does not involve breaking any cryptography. It involves people signing something they did not understand. Learning to read wallet prompts is the single most valuable security habit you can build.
The Main Types of Wallet Prompts
| Prompt type | What it does | Risk level | What to check |
|---|---|---|---|
| Connect | Shares your public address with a site | Low | That the site is the real domain |
| Send / transfer | Moves tokens or coins to an address | Medium | Recipient address and amount |
| Contract interaction | Calls a smart contract function, such as a swap | Medium to high | Contract address, assets in and out |
| Token approval | Lets a contract spend your tokens | High | Spender address and allowance amount |
| NFT approval for all | Lets an operator move every NFT in a collection | High | Operator address and collection |
| Permit or typed-data signature | Off-chain message that can authorize spending | High | Spender, token, amount, deadline |
| Plain message (login) | Proves you own the address | Low if plain text | That it is readable and expected |
Our guide to token approvals explains how to review and revoke allowances you have already granted.
A Checklist Before You Click Confirm
- 1Did I start this action? If a prompt appears unexpectedly, reject it.
- 2Am I on the right website? Check the domain shown in your wallet, not only the browser tab. Bookmark the sites you use.
- 3Which network is it on? Make sure the network matches what you intend.
- 4What leaves my wallet? Look at the assets and amounts. If a "free claim" sends tokens out, stop.
- 5Who is the spender or recipient? For approvals, the spender should be the protocol's known contract, not an unknown address.
- 6What is the amount? Unlimited approvals are convenient but riskier. Approve only what you need where possible.
- 7Is it readable? If your wallet shows only raw data and you cannot tell what it does, do not sign.
- 8What does the simulation say? If your wallet or a security extension previews balance changes, compare them with what you expect.
Why Message Signatures Can Be Dangerous
Many people assume that signing a message is harmless because it costs no gas. That was true for simple login messages, but modern wallets also sign structured data, often shown as "typed data." Some of these messages are as powerful as transactions:
- Permit signatures let a spender move your tokens without a separate approval transaction. Attackers use them in "ice phishing." Read ice phishing and permit signatures.
- Marketplace orders can list your NFTs or tokens at a price set by the attacker.
- Off-chain orders for trading protocols can be filled by the attacker.
If a website asks you to sign a message to "verify," "claim" or "unlock" something, read the full content and look for words such as permit, spender, value, deadline, order or offer.
Red Flags in a Signing Request
- Urgency: "Claim in 10 minutes or lose your allocation."
- A request to approve tokens that have nothing to do with the action you are taking.
- "Set approval for all" on an NFT collection from a site you are not trading on.
- A permit or order signature when you only wanted to log in.
- Your wallet warns that the site or address is suspicious.
- The domain is slightly misspelled or uses an unusual ending.
- You are asked to sign on a network you did not choose.
These are the hallmarks of wallet drainers, kits that automate theft through malicious signatures.
Habits That Make Signing Safer
- Use a hardware wallet for valuable assets, and read the details on the device screen. See hardware wallets explained.
- Separate your wallets. Keep a "vault" wallet for savings and a burner wallet for new apps, mints and airdrops.
- Avoid blind signing. If your device cannot display the content, be very cautious.
- Limit approvals. Approve specific amounts, and revoke old approvals regularly.
- Keep software updated. Wallets add better decoding and warnings over time.
- Slow down. Most scams depend on you acting fast.
- Learn what normal looks like. After a few legitimate swaps or mints, you will recognize the usual prompts for apps you trust, which makes an unusual request stand out immediately.
What to Do If You Signed Something Suspicious
- 1Revoke approvals for the affected tokens and NFTs immediately.
- 2Move remaining assets to a fresh wallet with a new seed phrase if you suspect your keys or signatures were compromised.
- 3Cancel open listings on any marketplace you use.
- 4Check the address on a block explorer for unexpected transfers.
- 5Report the site to your wallet provider and to community scam trackers.
Our guide on what to do immediately if your wallet is compromised has a full recovery checklist.
Bottom line
Signing is where self-custody succeeds or fails. Treat every prompt as a legal signature on a blank check: confirm the site, the network, the assets, the spender and the amount, and reject anything unexpected or unreadable. Combine careful reading with hardware wallets, separate wallets and regular approval clean-ups, and you remove the most common way people lose crypto.
الأسئلة الشائعة
Is signing a message safer than signing a transaction?
Not always. A plain-text message used only to log in is usually low risk, but structured messages such as token permits or marketplace listings can authorize someone to move your assets without any further transaction from you. Treat every signature as potentially powerful and read exactly what it authorizes.
What is blind signing?
Blind signing means approving a transaction or message without your wallet being able to show its meaning in a readable form, often just as a long hexadecimal string. You cannot check what you are agreeing to, so it is risky. Avoid blind signing unless you fully trust the app and understand why it is needed.
Can I cancel a signature after I sign it?
A confirmed on-chain transaction cannot be reversed. An off-chain signature, such as a permit or listing, may remain valid until it expires or is used. Some can be invalidated by revoking approvals, cancelling listings or using the protocol's cancel function, but if an attacker uses it first, the damage is done.
Do transaction simulations make signing safe?
Simulations, which preview what tokens will leave and enter your wallet, are a strong safety layer and catch many scams. They are not perfect: some malicious contracts behave differently when simulated, and simulations cannot judge whether a site is legitimate. Use them alongside careful reading and verified websites.
