Hacker Tries to Attack XRP Ledger Using Developer Access, Security Team Stops It
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 Aik...
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 LedgerAccording 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.
We have discovered a backdoor in the official #xrpl NPM package. This back door steals private keys and sends them to attackers. The affected versions 4.2.1 – 4.2.4, if you are using an earlier version, do not upgrade.#crypto #malware #npm pic.twitter.com/wshcTFKjbR
— Aikido Security (@AikidoSecurity) April 22, 2025Fortunately, 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.
With today’s npm vulnerability, it’s a clear reminder about truly knowing what you’re using.
At Xaman, our track record speaks for itself.
We’ve been feature-complete, security-first from day one, building everything in-house.
No shortcuts.
This is what trust looks like. https://t.co/LH1nEFrlPH
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 YearsThe 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.
The post Hacker Tries to Attack XRP Ledger Using Developer Access, Security Team Stops It appeared first on Cryptonews.
Original source
Read on CryptonewsRelated market context
Ripple chases AI’s machine economy as XRPL stablecoins near $1 billion
Stablecoin liquidity on the XRP Ledger (XRPL) has nearly doubled over the past month, putting the network within reach of a $1 bil...
Ripple and Bitso Unleash MXNB on XRPL to Transform a $65B U.S.-Mexico Payments Corridor
Key Takeaways: Ripple is strengthening its collaboration with Bitso by launching the first regulated stablecoin on the XRP Ledger,...
XRP Gets AI Agent Payment Support in Ripple’s XRPL AI Starter Kit as Executive Sees Billions Ahead
XRP is being positioned for AI-driven commerce as Ripple launches a developer toolkit that enables autonomous software to transact...
Ripple and Bitso Expand Stablecoin Settlement on XRP Ledger
Ripple and Bitso are expanding stablecoin settlement on the XRP Ledger, bringing MXNB and RLUSD into Ripple’s enterprise payments...
Ripple wants AI agents to pay in XRP and RLUSD. The market is still mostly USDC
The XRPL AI Starter Kit gives developers tools for agent payments, but early x402 activity has clustered on Base and Solana. Rippl...
Humanity Protocol’s $36M hack linked to suspected North Korean hackers, Quantstamp reports
The incident underscores the urgent need for improved cybersecurity measures and key management practices to protect against sophi...