HomeCryptoXRP Ledger Bug From 2015 Could Have Minted 18 Trillion XRP Before...

XRP Ledger Bug From 2015 Could Have Minted 18 Trillion XRP Before an AI Agent Found It

An AI agent found a 2015 XRP Ledger bug that could have minted 18 trillion XRP. See how RippleX patched it in xrpld 3.4.1 without an amendment vote.

The XRP Ledger bug sat in the network’s payment engine for roughly a decade. A single crafted transaction could have created about 18 trillion XRP. That figure equals roughly 184 times the network’s 100 billion supply. However, RippleX says it found no evidence that anyone exploited the flaw on a public network. The fix shipped in xrpld 3.4.1 on September 25, and RippleX disclosed the details on October 9.

How the Overflow Created XRP From Nothing

The flaw lived in the payment engine, which settles trades on the ledger’s decentralized exchange. When one payment fills many offers in the order book, the engine adds up the amounts involved. The code used unchecked 64-bit arithmetic for that sum. As a result, a large enough total could wrap around and return a tiny number. Sellers still received their full payout, while the buyer paid only the wrapped amount. The gap between the two figures became new XRP. Importantly, RippleX engineers reproduced the attack on a standalone server and confirmed that the new XRP stayed spendable in a later transaction.

An AI Agent Finds What Audits Missed

Veria Labs pointed an AI agent at the rippled codebase, and the agent built a working exploit. The team demonstrated it on local networks and reported it through the XRPL bug bounty program on September 22. Initially, the submission carried a “Major” rating. RippleX reproduced the flaw the next day, raised the severity to critical, and merged a fix. Ripple then paid Veria $250,000, which reports describe as the largest known bounty for a bug an AI agent found on its own. Notably, CryptoSlate reports that the codebase had already passed more than a dozen security audits since 2024. RippleX head of engineering J. Ayo Akinyele said the case shows why longstanding assumptions deserve a fresh look.

Why RippleX Skipped the Amendment Vote

Protocol changes on the XRP Ledger normally travel through the amendment process. That process requires 80% validator support held across two weeks. A public amendment would also reveal the vulnerable code before most operators could protect themselves. Therefore RippleX shipped the fix as a direct code change in xrpld 3.4.1 and withheld the source until after deployment. More than 80% of validators on the default Unique Node List upgraded by September 25. That rapid uptake limited the risk of validators disagreeing over which software version to run. Afterward, the XRPL Operations account made 3.4.1 the minimum required version. The same release also fixed a separate Batch bug through the fixBatchV1_2 amendment, which activated on mainnet October 9.

What the Disclosure Means for XRP Holders

XRP’s design depends on a fixed supply of 100 billion tokens, with transaction fees slowly reducing it. A successful exploit would have broken the monetary rule that gives the asset its scarcity. Meanwhile, RippleX reports that no unauthorized XRP appeared and no funds disappeared. The phrase “no evidence of exploitation” still falls short of absolute proof, so the ledger’s public history remains the best check. In contrast to many incidents, this one ended with a coordinated fix, quick validator adoption, and a public postmortem. Additionally, the episode shows that AI-driven auditing can now find chained flaws that human reviews missed for years.

*Disclaimer: News content provided by Genfinity is intended solely for informational purposes. While we strive to deliver accurate and up-to-date information, we do not offer financial or legal advice of any kind. Readers are encouraged to conduct their own research and consult with qualified professionals before making any financial or legal decisions. Genfinity disclaims any responsibility for actions taken based on the information presented in our articles. Our commitment is to share knowledge, foster discussion, and contribute to a better understanding of the topics covered in our articles. We advise our readers to exercise caution and diligence when seeking information or making decisions based on the content we provide.

RELATED ARTICLES
spot_img

Latest

Most Popular