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 Ayan
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: 
Why Trust Cryptonews
Cryptonews has covered the cryptocurrency industry topics since 2017, aiming to provide informative insights to our readers. Our journalists and analysts have extensive experience in market analysis and blockchain technologies. We strive to maintain high editorial standards, focusing on factual accuracy and balanced reporting across all areas - from cryptocurrencies and blockchain projects to industry events, products, and technological developments. Our ongoing presence in the industry reflects our commitment to delivering relevant information in the evolving world of digital assets. Read more about Cryptonews

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.

Logo

Why Trust Cryptonews

In the Article
XRP
XRP
$2.43
3.22 %
2M+
Active Monthly Users Around the World
250+
Guides and Reviews Articles
8
Years on the Market
70
International Team Authors
editors
+ 66 More

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,641,618,409,730
6.09
Trending Crypto

More Articles

Industry Talk
Dogecoin Price Prediction: After a 44% Rally, Is DOGE Winding Up for a Move to $1?
Harvey Hunter
Harvey Hunter
2025-05-22 17:01:29
Blockchain News
OKX Unleashes xBTC on Aptos – 1:1 Wrapped Bitcoin Flows Fee-Free Into DeFi
Tanzeel Akhtar
Tanzeel Akhtar
2025-05-22 16:16:44
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