|

Ripple’s protocol ensures neither safety nor liveness, according to researchers at the University of Bern

  • According to the Cryptology and Data Security Research Group at the University of Bern, Ripple Network doesn’t ensure safety.
  • The analysis report warns Ripple to fix the potential violations of the protocol in time.

A recent report and analysis by the Cryptology and Data Security Research Group at the University of Bern concludes that the Ripple protocol doesn’t ensure safety or liveness under the stated assumptions.

Ripple’s consensus protocol aims at ensuring that the same transactions are processed and validated ledgers are consistent across the network. It should protect the system against attacks and failure modes, such as malicious actors that may be attempting to control or interrupt the system at any given time.

The analysis shows how the Ripple consensus protocol can be violated using seven nodes. The setup basically consists of six good nodes and one bad node, referred to as the Byzantine node. 

Nodes 1, 2, and 3 (white) adopt UNL1, vertically hatched, and nodes 5, 6, and 7 adopt UNL2, horizontally hatched. Node 4 (gray) is Byzantine.

Using this particular setup, researchers were able to make two correct nodes execute different transactions which basically violates the agreement condition of the consensus protocol. While this was a demonstration with only seven nodes, researchers showed the same type of violation using an arbitrarily large number of nodes too. 

The liveness of Ripple consensus protocol is also at risk

In concurrent computing, liveness refers to a set of properties of concurrent systems. The analysis report shows how the liveness of the consensus protocol can be violated even when all the nodes are the same and only one is the Byzantine (bad) node. 

Researches were able to bring the protocol into a state that made it unable to produce a correct ledger and ultimately stopped making any progress. The conclusion of the report states that Ripple might be at risk adding:

Previous work regarding the Ripple consensus protocol has already brought up some concerns about its liveness and safety. In order to better analyze the protocol, this work has presented an independent, abstract description derived directly from the implementation. Furthermore, this work has identified relatively simple cases, in which the protocol may violate safety and/or liveness and which have devastating effects on the health of the network. Our analysis illustrates the need for very close synchronization, tight interconnection, and fault-free operations among the participating validators in the Ripple network.

It’s important to note that these attacks are just theoretical and were not demonstrated with a live network. However, these hypothetical attacks have often translated into real ones eventually which means Ripple must try to fix them in time.

Author

Lorenzo Stroe

Lorenzo Stroe

Independent Analyst

Lorenzo is an experienced Technical Analyst and Content Writer who has been working in the cryptocurrency industry since 2012. He also has a passion for trading.

More from Lorenzo Stroe
Share:

Editor's Picks

Bitcoin Weekly Forecast: Binance security breach and hawkish Fed push BTC lower
Bitcoin (BTC) continues to weaken this week, down more than 3% and heading for its fourth straight weekly loss. The largest cryptocurrency by market capitalization is facing a bearish outlook, fueled by a hawkish Federal Reserve (Fed) outlook at the October meeting and a reported $6.3 billion hack at Binance, which is driving risk aversion and triggering heavy liquidations.
Ripple Price Forecast: XRP bulls defend $1.20 as sell-side pressure triggers liquidations
Ripple (XRP) trades around $1.25 on Friday, rising from a short-term support level established at $1.20. This minor upward correction follows a sharp sell-off, triggered amid reports of a hack attack on the Binance exchange that impacted approximately $6.3 billion. The attack drove the broader crypto market on edge, as Binance suspended both deposits and withdrawals to contain the situation.
Bitcoin, Ether and XRP selloff wipes out $1.5 billion in leveraged crypto bets
Crypto traders betting on higher prices had about $1.29 billion in positions forcibly closed over the past 24 hours, as the selloff following Binance’s security breach pushed bitcoin, ether and smaller tokens lower. Total liquidations reached $1.53 billion by Friday morning in Asia, according to CoinGlass. Long positions, bets that prices would rise, accounted for 83.8% of the total.
Crypto Today: Bitcoin, Ethereum, XRP sell-off cools after Binance security breach
Cryptocurrency prices are on edge on Friday, with Bitcoin (BTC) delicately holding onto a short-term $78,000 support, Ethereum (ETH) edging lower near $2,200 and Ripple (XRP) attempting a recovery above support established at $1.20. The cooldown follows Binance, the largest crypto exchange, after it reported a hack that impacted about $6.3 billion.
Bitcoin: Binance security breach and hawkish Fed push BTC lower
Bitcoin (BTC) continues to weaken this week, down more than 3% and heading for its fourth straight weekly loss. The largest cryptocurrency by market capitalization is facing a bearish outlook, fueled by a hawkish Federal Reserve (Fed) outlook at the October meeting and a reported $6.3 billion hack at Binance, which is driving risk aversion and triggering heavy liquidations.