Fictional practice · walletpermissions.com

Raw hash signature (eth_sign)

A fictional site asks you to turn on an advanced wallet setting so you can sign a “login code”.

Request type
Signature: eth_sign
Data
0x7c1e…a94f (32 bytes of hex)
Site says
Login code

Can you tell from this prompt what the signature will authorize?

Show the answer

Answer: No. eth_sign signs a raw hash. The hash could stand for a transaction or anything else, and the prompt cannot show which. The site’s label is not part of what you sign.

Read the full explainer and sources. Education only. No wallet connection, no tracking, no safety score.