[Ethereum] What exactly is the Nothing-At-Stake problem

attackscasperproof-of-stake

What exactly is the Nothing-At-Stake problem in Proof-of-Stake consensus networks?

While I understand what the nothing at stake problem means, I do not really understand the security implications. What are they?

Best Answer

You don't lose anything from behaving badly, you lose nothing by signing each and every fork, your incentive is to sign everywhere because it doesn't cost you anything.

So as it doesn't cost you anything, it's a good strategy to work on each and every chain should a fork occur and double spend a digital good.

Maybe the wiki explains it better :

However, this algorithm has one important flaw: there is "nothing at stake". In the event of a fork, whether the fork is accidental or a malicious attempt to rewrite history and reverse a transaction, the optimal strategy for any miner is to mine on every chain, so that the miner gets their reward no matter which fork wins. Thus, assuming a large number of economically interested miners, an attacker may be able to send a transaction in exchange for some digital good (usually another cryptocurrency), receive the good, then start a fork of the blockchain from one block behind the transaction and send the money to themselves instead, and even with 1% of the total stake the attacker's fork would win because everyone else is mining on both.

Edit: I found this video, this is 4min and explains the issue quite well and with drawing : it makes things quite clear !