Cointegrity

Replay Attack

Web3 / wallets security

A replay attack is a type of network security threat where a malicious actor intercepts a valid data transmission and fraudulently retransmits it to the same or different destination, tricking the system into processing the same transaction multiple times. In blockchain contexts, replay attacks occur when transactions intended for one blockchain are replayed on a fork or different blockchain with identical consensus rules, causing unintended fund transfers. For example, if Bitcoin forks into two chains with the same signature algorithm, a transaction spending Bitcoin on the original chain could be replayed on the fork, potentially spending the user's forked coins without authorization. Modern blockchains prevent this through replay protection mechanisms such as including chain identifiers in signatures. Example: During the Bitcoin Cash hard fork in 2017, users faced replay attack risks because early transactions on Bitcoin Cash could potentially be replayed on the Bitcoin chain, necessitating the adoption of replay protection mechanisms by wallet providers and exchanges. Why it matters for crypto security: Replay protection is essential for blockchain forks and cross-chain interactions to prevent unintended fund losses and ensure users maintain full control over their assets across multiple chain versions.

Category: wallets security

Explore the full Web3 Glossary — 2,062+ expert-curated definitions. Need guidance? Talk to our consultants.