XRP Ledger Defends Emergency Fix After AI Finds 18 Trillion XRP Minting Flaw

By Onkar Singh // Edited by Eric Collette // October 12, 2026 @ 06:12 PM Make AlphaWire Logo preferred on Google News

Share

Ripple Partners With Stripe-Owned Privy to Bring XRP, RLUSD Wallets to Apps

Share

Points of Focus

  • An AI security agent uncovered a vulnerability potentially enabling massive unauthorized XRP creation.
  • RippleX found no evidence of exploitation and awarded researchers $250,000.
  • XRPL developers defended an accelerated security patch amid decentralization concerns.

 

 

A critical vulnerability in the XRP Ledger (XRPL) could have allowed an attacker to create trillions of unauthorized XRP (XRP), forcing developers and validators to coordinate an unusually rapid security update before the flaw became public.

The weakness, discovered by an AI-powered security agent operated by researcher Cayden Liao and Veria AI, threatened one of the blockchain’s fundamental rules: XRP’s supply cannot exceed the 100 billion tokens created at launch.

Although the exploit could theoretically have enabled the creation of approximately 18 trillion XRP, RippleX reported finding no evidence that anyone had used it.

The XRP Ledger Foundation subsequently defended the emergency response, arguing that conventional upgrade procedures could have exposed the network to unnecessary risk.

 

AI discovers a vulnerability hidden for years

The flaw involved a transaction-processing path that could be manipulated through hundreds of deliberately constructed operations rather than ordinary XRP transfers.

According to the researchers, the vulnerability had existed in the codebase for about a decade despite previous security reviews.

Successful exploitation could have undermined XRP’s supply guarantees, potentially damaging market confidence and the integrity of balances recorded on the network.

The researchers responsibly disclosed the issue to RippleX, which coordinated an emergency fix with XRPL developers and other ecosystem participants.

Ripple awarded the researchers $250,000, the maximum available under its bug bounty program. The researchers described it as the largest known bounty for a vulnerability discovered entirely by an AI agent.

That record claim has not been independently established.

Why XRPL bypassed its normal amendment process

The response also triggered scrutiny of the XRP Ledger’s decentralized governance.

Protocol amendments ordinarily require more than 80% validator support sustained for two weeks. Publishing the vulnerability before that process concluded could have given attackers time to reproduce it.

Instead, developers distributed the corrected software directly to validators on Sept. 25, with public binaries following the same day. More than 80% of validators on the default Unique Node List upgraded that day.

The foundation emphasized that validators independently chose whether to install the update. A separate batch-related fix followed the standard amendment process and activated Oct. 9, making version 3.4.1 the minimum required software.

The source code was also published after the emergency deployment, raising questions about temporarily distributing executable software before making its implementation available for public inspection.

 

How a payment could bypass XRP’s supply limit

The vulnerability exploited two related accounting failures in the ledger’s built-in decentralized exchange.

An attacker could construct hundreds of unusually priced offers and consume them through one payment. An integer overflow could then cause the buyer’s total charge to appear far smaller than the amounts credited to sellers.

A second overflow affected the safety check intended to detect unauthorized XRP creation.

Veria’s technical analysis calculated that one transaction could create approximately 18.45 trillion spendable XRP distributed across 256 accounts.

The figure represents a theoretical exploit, not tokens actually minted.

The foundation said 99.986 billion XRP remain in circulation at the ledger level, with transaction fees gradually reducing the original supply.

The episode highlights a growing security challenge: AI can uncover vulnerabilities that conventional reviews miss, but the same capability is available to attackers.

XRPL developers now plan additional formal verification, AI-assisted adversarial testing, and stronger checks to confirm security fixes work before release.

The emergency patch prevented a demonstrated vulnerability from becoming a publicly documented exploit. It also left the ecosystem confronting a difficult governance question: How quickly can decentralized networks respond when following their normal procedures could increase the danger?

Share

Default avatar

Onkar Singh

Onkar is a seasoned digital finance (DeFi) content creator with half a decade of experience in the blockchain and cryptocurrency industry. He has contributed to leading crypto media platforms, and collaborated with numerous DeFi projects worldwide. He blends his passion for technology and storytelling to deliver insightful content that bridges the gap between complex blockchain concepts and mainstream understanding.

Table of content

Ad

Related Articles

Could Banks Become Crypto Trading’s New Collateral Gatekeepers?

Points of Focus Standard Chartered’s RLUSD custody…