Skip to main content
Popular searches
SecurityUpdated: Nov 22, 2026

Replay Attack

A replay attack rebroadcasts a valid signed transaction where it is still valid, typically on the other chain after a fork, so it executes again without the signer's consent.

Also known as:transaction replay

What Is a Replay Attack?

A replay attack takes a valid, signed transaction and broadcasts it again in a place where it is still valid, so that it executes a second time without the signer's consent. On blockchains the classic case is a chain split: after a fork both chains share the same history, addresses and keys, so a transaction signed for one may be accepted on the other.

The result is not a double spend on one chain but an unintended spend on the second.

Protection comes from making signatures specific to one chain. Ethereum transactions include a chain ID (EIP-155), introduced after the 2016 split with Ethereum Classic, during which transactions were replayed across the two chains. Bitcoin Cash changed its signature format when it split from Bitcoin in 2017, so its transactions were not valid on both. Within a single chain, replays are blocked by account nonces on Ethereum and, on Bitcoin, by the fact that an output can be spent only once.

The same idea applies to signed messages such as token permits or logins: they should name the chain and contract they are meant for, or they can be reused elsewhere. A hardware wallet helps when it shows the network being signed for, which is worth reading before you confirm.

Real-World Examples

Example 1: Shortly after the split between Ethereum and Ethereum Classic, a user sends ETH to an exchange. The same signed transaction is rebroadcast on the other chain, and their ETC moves to the exchange's address as well.

Example 2: A user signs a transaction on an EVM sidechain. Because the signature covers that network's chain ID, Ethereum nodes reject a copy of it, although the user's address is the same on both networks.

BlockchainBlockchain

Read full definition: Blockchain
BlockchainFork

Read full definition: Fork
BlockchainEthereum

Read full definition: Ethereum
BlockchainEthereum Classic

Read full definition: Ethereum Classic
BlockchainBitcoin Cash

Read full definition: Bitcoin Cash
BlockchainBitcoin

Read full definition: Bitcoin
TransactionNonce

Read full definition: Nonce
BlockchainToken

Read full definition: Token
WalletHardware Wallet

Read full definition: Hardware Wallet
BlockchainEVM

Read full definition: EVM
BlockchainSidechain

Read full definition: Sidechain
BlockchainNode

Read full definition: Node

Frequently Asked Questions

How does EIP-155 prevent replay attacks on Ethereum?

It includes a chain ID in what is signed, so a signature is valid only on the network it was made for. A transaction signed on an EVM sidechain is rejected by Ethereum nodes, even though the address is the same on both. The chain ID was introduced after the 2016 split with Ethereum Classic, when transactions were replayed across the two chains.

Can a transaction be replayed on the same chain?

Not as a valid repeat. On Ethereum, account nonces block a second execution of the same transaction, and on Bitcoin an output can be spent only once. The replay risk lies where the same signature is still valid elsewhere, typically on the other chain after a split.

What should I check on my hardware wallet to avoid signing something replayable?

Read the network being signed for, when the device shows it, before you confirm. Signed messages such as token permits or logins should also name the chain and contract they are meant for; if they do not, they can be reused elsewhere.

Ready to Choose a Secure Wallet?

Use our tools to find the right hardware wallet for your needs.