Hacker Tries to Attack XRP Ledger Using Developer Access, Security Team Stops It

Hack Ledger XRP
The vulnerability, identified by Aikido Security researcher Charlie Eriksen, could have led to a major supply chain attack across the crypto ecosystem.
Crypto Journalist
Crypto Journalist
Amin AyanVerified
Part of the Team Since
Apr 2025
About Author

Amin Ayan is a crypto journalist with over four years of experience in the industry. He has contributed to leading publications such as Cryptonews, Investing.com, 99Bitcoins, and 24/7 Wall St. He has...

Last updated: 

A potential security crisis was narrowly avoided after a hacker exploited a developer’s access token to inject malicious code into a key toolkit used by applications on the XRP Ledger.

The vulnerability, identified by Aikido Security researcher Charlie Eriksen, could have led to a major supply chain attack across the crypto ecosystem.

Hacker Exploits NPM Token to Publish Malicious xrpl.js Versions on XRP Ledger

According to Aikido Security, the attacker gained access to a developer’s Node Package Manager (NPM) token, allowing them to publish compromised versions of xrpl.js, the official JavaScript library for interacting with the XRP Ledger.

With over 140,000 weekly downloads, the package is widely integrated into hundreds of thousands of apps and websites, raising concerns over the potential scale of the breach.

“This could have been catastrophic,” Eriksen warned in a security update, noting that the flaw theoretically allowed attackers to steal private keys, putting crypto wallets at risk.

The malicious code was detected on April 21, when Aikido’s monitoring system flagged five suspicious package versions.

Fortunately, major XRP-related platforms such as Xaman Wallet and XRPScan confirmed they were unaffected.

The risk was limited to third-party applications that installed the compromised versions—v4.2.1 through v4.2.4 and v2.14.2—during a short window before the issue was contained.

The XRP Ledger Foundation responded swiftly, deprecating the affected versions and releasing a patched update, v4.2.5, urging all developers using xrpl.js to upgrade immediately.

The foundation clarified that the core XRP Ledger codebase and its GitHub repository remained untouched, as the vulnerability was isolated to the external JavaScript library.

While the identity of the hacker remains unknown, Aikido Security hinted at having leads under investigation.

Despite the scare, XRP prices showed resilience, rising 8.5% over the past 24 hours amid a broader crypto market rally.

SEC Lawsuit Against Ripple Labs Concludes After Four Years

The legal dispute between Ripple Labs and the U.S. Securities and Exchange Commission (SEC) has concluded after more than four years, marking a significant development in cryptocurrency regulation.​

In December 2020, the SEC filed a lawsuit against Ripple Labs, alleging that the company conducted an unregistered securities offering by selling XRP tokens, raising over $1.3 billion.

Ripple contested the claim, arguing that XRP is a digital currency, not a security.​

In July 2023, U.S. District Judge Analisa Torres delivered a mixed ruling: she determined that XRP sales to institutional investors violated securities laws, while sales on public exchanges did not.

Consequently, Ripple was ordered to pay a $125 million civil penalty. ​

In March 2025, Ripple and the SEC reached a settlement. Under the agreement, Ripple would pay $50 million of the previously imposed fine, with the remaining $75 million returned to the company.

Both parties agreed to drop their respective appeals, effectively ending the litigation.

In the Article
XRP
XRP
$1.9032
1.66 %

2M+

Active Monthly Users Around the World

250+

Guides and Reviews Articles

8

Years on the Market

70

International Team Authors
editors
+72 More
At Cryptonews, we aim to make cryptocurrency, blockchain, and Web3 understandable, and information available to everyone, no matter what level you are in your investment journey. Founded in 2017, Cryptonews has been dedicated to delivering reliable, multilingual coverage of the cryptocurrency industry.

Best Crypto ICOs

Discover trending tokens still in presale — early-stage picks with potential.

Explore Our Tools

Smart tools made for everyday crypto users

Market Overview

  • 7d
  • 1m
  • 1y
Market Cap
$3,119,095,509,592
1.04
Trending Crypto

More Articles

Price Analysis
Midnight Price Prediction: Is NIGHT About to Explode Further, With 52% Weekly Spike And $8B Trading Volume?
Anas Hassan
Anas Hassan
2025-12-22 23:30:00
Bitcoin News
Bitcoin Falters as Gold Hits Record $4,475, AI Stocks Command Capital
David Pokima
David Pokima
2025-12-22 23:08:11
Crypto News in numbers
editors
Authors List + 66 More
2M+
Active Monthly Users Around the World
250+
Guides and Reviews Articles
8
Years on the Market
70
International Team Authors