Skip to content

Former Ripple CTO downplays risks of front-running attacks on XRPL

Former Ripple CTO downplays risks of front-running attacks on XRPL

Former Ripple Labs CTO (Chief Technology Officer) David Schwartz has downplayed the potential risks from front-running attacks on the XRP Ledger (XRPL) network, which uses XRP as its native token.

On June 29, Schwartz addressed ongoing community concerns about transaction front-running and sandwich attacks. The former Ripple CTO replied to X user XRPresso, who raised an issue about an attack vector affecting decentralized exchange (DEX) and automated market maker (AMM) trades on the XRPL network.

“Concerns have been raised about the possibility of front-running or transaction sandwich attacks on XRPL payments and offer crossing… I’m not that concerned about this issue,” Schwartz stated.

A front-running attack could occur when a rogue validator node sees a pending transaction in the pre-validation queue before the ledger closes and opts to insert their own transactions ahead of the original XRPL request.

Nonetheless, Schwartz acknowledged that these risks exist in theory but said he is not overly concerned in practice. As such, he offered a concrete reservation-based mitigation scheme to eliminate the attack vector for those who want protection.

“I have a proposal for a fairly simple scheme that would eliminate this attack. It’s a transaction reservation scheme that can ensure that a transaction executes before any transaction that was formed after it was disclosed,” Schwartz added.  

Details of proposed solutions for sandwich attacks on XRPL from Ripple CTO

Schwartz proposed a new ledger object dubbed ReservedTxns, which would store a list of transaction IDs assigned to a specific future ledger. As a result, XRPL users can reserve a transaction slot up to 16 ledgers in advance by submitting a TxnReserve transaction and paying at least twice the standard fee.

He added that the reserved transaction would be broadcast at a precisely timed moment after key consensus information from the previous ledger becomes known. This timing reduces the opportunity for attackers to react before the original transaction.

Furthemore, when the target ledger is executed, these reserved transactions would be processed with priority ahead of the normal transaction queue. While the former Ripple CTO does not believe front-running is a major threat today, the reservation system provides users with an optional strong layer of protection for high-value, time-sensitive transactions on the DEX and AMM.

Best Crypto Exchange for Intermediate Traders and Investors

  • Invest in cryptocurrencies and 3,000+ other assets including stocks and precious metals.

  • 0% commission on stocks - buy in bulk or just a fraction from as little as $10. Other fees apply. For more information, visit etoro.com/trading/fees.

  • Copy top-performing traders in real time, automatically.

  • eToro USA is registered with FINRA for securities trading.

30+ million Users worldwide
Securities trading offered by eToro USA Securities, Inc. (“the BD”), member of FINRA and SIPC. Cryptocurrency offered by eToro USA LLC (“the MSB”) (NMLS: 1769299) and is not FDIC or SIPC insured. Investing involves risk, and content is provided for educational purposes only, does not imply a recommendation, and is not a guarantee of future performance. Finbold.com is not an affiliate and may be compensated if you access certain products or services offered by the MSB and/or the BD
Finbold Career

Join Finbold's newsroom, become a Sales Executive today!

Apply now to join Finbold as a crypto/finance news writer!

Latest posts

Finance Digest

By subscribing you agree with Finbold T&C’s & Privacy Policy

Related posts

Home

IMPORTANT NOTICE

Finbold is a news and information website. This Site may contain sponsored content, advertisements, and third-party materials, for which Finbold expressly disclaims any liability.

RISK WARNING: Cryptocurrencies are high-risk investments and you should not expect to be protected if something goes wrong. Don’t invest unless you’re prepared to lose all the money you invest. (Click here to learn more about cryptocurrency risks.)

By accessing this Site, you acknowledge that you understand these risks and that Finbold bears no responsibility for any losses, damages, or consequences resulting from your use of the Site or reliance on its content. Click here to learn more.