News View Non-AMP

XRP Faces Serious Security Breach, Private Keys Compromised

Published by
Nidhi Kolhapur

Recently, XRP faced a major security breach involving one of XRP Ledger’s JavaScript libraries. The Ripple npm JavaScript library named xrpl.js was compromised in a software supply chain attack, which exposed users’ private keys. 

The security flaw was flagged by Aikido Security and was confirmed by Ripple CTO David Schwartz The issue affects specific versions of the Node Package Manager (NPM) library, but major XRP services like Xaman Wallet and XRPScan confirmed they were unaffected.

The affected versions were 4.2.1, 4.2.2, 4.2.3, 4.2.4, and 2.14.2. However, the issue has been fixed in newer versions 4.2.5 and 2.14.3. 

Peter Todd, a Bitcoin developer, pointed out that a decade after he warned of security risks in Ripple’s software due to lack of proper security measures like PGP signing, there’s a Ripple backdoor due to an npm compromise. He criticized Ripple for not using a secure method (PGP signatures) to verify their code, which could have prevented this attack.

Todd also admitted that his own Python Library is not PGP signed for most users due to PyPi phasing out PGP signatures. He criticised the software industry as ‘incompetent’, stressing that he has no control over it. 

A user named “mukulljangid” introduced a malicious code into the xrpl.js package starting April 21, 2025 and also introduced a new function to steal private keys and send them to an external domain. The attacked gained access through a compromised Ripple employee’s npm account. Besides, the attacker used multiple versions in a short time to avoid detection, but there is no evidence of a backdoor in the GitHub repository.

The XRP Ledger foundation issued a clarification and confirmed that compromised versions of xrpl.js have been removed. Developers are advised to use versions 4.2.5 or 2.14.3, with a detailed report coming soon.

The incident has sparked concerns over software security, especially in crypto where customer support and huge sums of money are involved.

Nidhi Kolhapur

Nidhi is a Certified Digital Marketing Executive and Passionate crypto Journalist covering the world of alternative currencies. She shares the latest and trending news on Cryptocurrency and Blockchain.

Recent Posts

7 Best Meme Coins to Buy Now — APC Coin’s Deflationary Setup Catches Eyes with Neiro, Pepe Unchained, and More

What if the next big crypto boom isn't driven by Bitcoin or Ethereum, but by…

June 7, 2025

Top 7 Indicators That Ozak AI Is the Next Big Thing in AI Tokens

Convergence of artificial intelligence (AI) and blockchain technology continues to reshape the crypto space, one…

June 7, 2025

A New Era Begins with FUNToken AI Agent

FUNToken launches a smart rewards bot — the first step toward building an AI agent…

June 7, 2025

The 6 Best Crypto Exchanges: Top Picks for Seasoned Pros in 2025

The crypto market of 2025 is now a full-blown financial arena where professionals, institutional traders,…

June 7, 2025

Analysts Say This New Crypto Is The Best Risk-To-Reward Play Over Dogecoin (DOGE)

Analysts are spotlighting Mutuum Finance (MUTM) as the best crypto to buy now, outshining Dogecoin…

June 7, 2025

Investors Are Moving Beyond Dogecoin (DOGE): Ruvi AI (RUVI) Emerges as the Smarter 2025 Altcoin Bet

Investors seeking more than speculative momentum are increasingly shifting their attention from Dogecoin (DOGE) toward…

June 7, 2025