Crypto / Evergreen
A valid signature can be unsafe outside its intended scope
A signature authorization should bind the relevant action, contract, network context, and replay-prevention information according to the protocol's design.
Signature security depends on what is signed and how reuse is controlled, not only on the strength of the cryptography.
The distinction that matters
A signature authorization should bind the relevant action, contract, network context, and replay-prevention information according to the protocol's design. Smart-contract security combines software correctness, authorization, and economic assumptions. A program can follow its written code perfectly while producing an outcome its designers did not intend. Attackers can choose inputs, arrange transactions, interact through other contracts, and exploit the precise order in which state changes and external calls occur.
How the mechanism works
If those boundaries are missing, an otherwise valid signature can be reused in a context the signer did not intend to authorize. Public code makes behavior inspectable, but inspection requires attention to all reachable paths and dependencies. Security reviews, formal methods, tests, and monitoring provide different kinds of evidence. None is a universal certificate covering every later upgrade, configuration change, or interaction with external systems. A review's scope, version, and unresolved findings matter, and a deployed contract can differ from the reviewed artifact.
A worked situation
Consider this hypothetical situation: A hypothetical application signs a withdrawal instruction without a unique nonce, and the receiving contract accepts the same instruction more than once. The attacker need not forge the signature; the weakness lies in the contract treating a previously used authorization as fresh.
Where interpretation can fail
A human-readable signing screen does not by itself prove that the signed message contains every required domain and replay boundary. Inspect the message structure, domain separation, nonce handling, and expiry enforcement used by the verifier. Signature security depends on what is signed and how reuse is controlled, not only on the strength of the cryptography.
The wider technical implication
Expiry limits how long an authorization can remain usable, while a nonce limits reuse within that period; the two controls solve different problems. Domain separation can bind a message to a particular contract and network, preventing a verifier elsewhere from interpreting the same signature as its own authorization. The verifier must actually enforce those fields rather than merely display them in a signing screen. A complete review follows the message from construction through signature to on-chain verification, checking that every intended boundary is both included in the commitment and validated before the action occurs.
A global perspective
A technical exploit, contractual breach, and regulatory violation are different classifications. Remedies and reporting duties depend on jurisdiction and the actual facts.
Sources & further reading
Ethereum.org — Smart contract security ↗OpenZeppelin Contracts — Access control ↗Sources checked Oct 27, 2026. Educational examples. Historical observations are attributed to their sources. No affiliation with cited organizations.
Make the idea stick.
Mark complete when you are ready. Reaching the end alone does not mark a lesson complete.
What assumption in this guide would change the result in a different situation? Revisit the example and explain that change in your own words.
Explore crypto →