Cyber Security

Ripple is testing the XRP Ledger lending code for hidden Layer-1 errors

RippleX developers are adding formal validation to the traditional XRP Ledger peer-to-peer lending system before the Mainnet goes live. Includes XLS-66 Lending Protocol and XLS-65 Single Asset Vaults.

Summary

  • Ripple and Common Prefix officially validate the XRPL token before validators consider Mainnet activation.
  • Formal models can reveal conditions that may be missed by conventional testing in Layer-1 financial systems.
  • XLS-66 enables off-chain term loans using pooled vault liquidity and off-chain credit risk assessment.

Vet verifying the XRPL Foundation drew attention to the update after Ripple developer Vito Tumas shared the second part of the RippleX verification chain. It aims to find errors that conventional testing might miss.

Ripple uses formal verification in XRPL lending

“Regular testing is not enough if you’re building DeFi directly at Layer-1,” Tumas said. A standard test to test the conditions expected by developers. Validation uses mathematical models to test whether a system can enter invalid states.

Ripple is working with protocol research firm Common Prefix. The teams create an abstract model of the target behavior and use machine-testable methods to test the security rules before testing the results using xrpld.

Vet described this work as part of the construction of “Fortress XRP.” He said the lending protocol is getting a review based on methods used for high-risk software. It is a label for his assessment, not a certificate.

Layer-1 lending raises the cost of coding errors

XRPL plans to place lending operations within the core of its protocol rather than relying on separate smart contracts. That design may make access easier, but a bug in the core code could affect all applications that use the feature.

Loan schedules, interest calculations, defaults, vault shares, foreclosures, and clawbacks create potential interactions. Small accounting errors or mistakes can build up over repeated transactions, making exceptional cases important during reviews.

RippleX has previously said that formal methods can prove the absence of defined classes of bugs, rather than only proving that tested cases work. The process cannot prove that the software is free of weaknesses because each proof depends on the selected model and architecture.

The review follows an earlier XRPL security case involving cluster transactions. Version 3.1.1 disabled batch support after Pranamya Keshkamat and Cantina AI found a bug in a proposed patch.

XLS-66 still needs authentication support before it can work

XLS-66 will allow for fixed-term, unconsolidated loans funded through Single Asset Vaults. Lenders will set terms and manage risk, while off-chain underwriting will screen borrowers before funds move forward.

The design includes an initial loss option to get a portion of the fixed amount before the vault depositors lose. It also supports XRP and issued assets, while compliance controls can freeze or strike relevant tokens.

XRPL version 3.1.0 added support for credit and vault amendments in January. Features are always in the process of being amended and cannot be implemented unless the verifiers maintain the necessary support.

As previously reported by crypto.news, XRP Ledger 3.2.0 is targeting a June 15 release and will rename the network’s core server software from rippled to xrpld. The upgrade follows version 3.1.3, which added accounting and fixed maintenance for vaults and lending tools.

Formal authentication now adds another layer of security as developers prepare a native lending protocol to run on the Mainnet.



Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button