What is a 51% attack? It is when an attacker controls more than half of the hash power on a proof-of-work chain, allowing them to produce blocks faster than the rest of the network and rewrite recent block history at will. Its most common goal is double spending: first sending coins to an exchange or merchant in exchange for other assets, then rolling back that transfer with a longer chain the attacker mined privately. The smaller a chain’s hash power, the cheaper such an attack becomes.
How Does a 51% Attack Work?
The attacker first sends a normal transfer, such as a deposit to an exchange, while privately mining another chain with their own hash power. That chain does not contain the deposit and instead sends the same coins back to the attacker’s own address. Because the attacker holds the majority of hash power, the private chain will eventually become longer than the public one. Once the exchange has credited the deposit and the attacker has withdrawn the assets received, the attacker publishes the longer chain. Nodes switch to it according to the fork choice rule, and the original deposit disappears from the chain. This process is a deep blockchain reorg.
What Can and Can’t a 51% Attack Do?
An attacker can reverse their own transactions and refuse to include certain transactions, keeping them off the chain. But they cannot forge signatures, so they cannot move coins out of other people’s addresses, nor can they bypass protocol rules to mint coins out of thin air. In other words, a 51% attack mainly threatens recipients: the exchanges, payment providers and merchants that accepted deposits before there were enough confirmations.
Which Chains Are More Vulnerable to 51% Attacks?
Chains with low total hash power, especially small chains that share a mining algorithm with a larger chain, are the most vulnerable, because attackers can rent enough hash power from hash rental markets for a short time without buying mining hardware. Ethereum Classic suffered multiple 51% attacks in 2020. Bitcoin’s enormous total hash power makes an attack extremely costly. Proof-of-stake chains have no hash power; the equivalent threshold is stake, so an attacker would need to control a large amount of staked assets, and misbehaving validators have their stake slashed.
How Can Businesses Protect Against Losses from 51% Attacks?
The key is not to apply the same confirmation count to every chain. For chains with low hash power or a history of attacks, businesses should significantly raise deposit confirmation requirements, extend the waiting time further for large deposits, and add manual review when needed. They should also watch for unusually deep reorgs when monitoring on-chain transaction status, and if a deep reorg occurs on a chain, immediately pause deposits and withdrawals on that chain and activate the incident response plan.
Conclusion
A 51% attack uses majority hash power to rewrite recent block history, mainly to double spend. It cannot steal other people’s coins, but it causes losses for recipients who credit deposits without enough confirmations. Businesses should set confirmation requirements based on each chain’s security and stay alert to deep reorgs. Safeheron’s MPC Wallet-as-a-Service provides businesses with MPC key management and a policy engine.
Want safer crediting rules based on each chain’s security? Contact Safeheron’s Sales Team to Book a 1:1 Demo
Looking for a secure way to manage digital assets?
Talk to our experts and find the right solution for your business.
Request a DemoLooking for a secure way to manage digital assets?
Talk to our experts and find the right solution for your business.