Is Your XRP Ledger Safe? Ripple’s xrpl.js Hacked!

Article Highlights
Off On

In a significant security breach, the widely-used Ripple’s xrpl.js npm package was backdoored by unknown attackers, compromising specific versions to steal private keys. This alarming incident impacts the XRP Ledger, a blockchain platform launched by Ripple Labs. The attack was initiated on April 21, 2025, and involved adding malicious code intended to transmit stolen private keys to an external domain. The compromised package spans versions 4.2.1 through 4.2.4 and 2.14.2, highlighting a critical lapse in security for a library with over 2.9 million downloads. The backdoor deployment points to a potential hack of a Ripple employee’s npm account, possibly that of “mukulljangid.” Despite these modifications, there has been no evidence of changes to the associated GitHub repository.

Nature of the Compromise

The compromised xrpl.js package includes a function named checkValidityOfSeed, designed to exfiltrate private keys to an external server. The introduction of this backdoor appears to have been conducted surreptitiously over multiple releases of the package. This attack serves as a grim reminder of the persistent vulnerability in software supply chains, even among well-established and frequently-used libraries. The package’s widespread use exacerbates the potential damage, underlining the urgency of addressing such security gaps. Affected users have been advised to update to versions 4.2.5 and 2.14.3 to mitigate exposure to this breach. Security firm Aikido Security has emphasized the importance of this update to prevent further compromise.

The XRP Ledger Foundation has reassured users that while xrpl.js was compromised, the XRP Ledger codebase itself remains unaffected and secure. This distinction is crucial in maintaining user confidence amid the breach. GitHub has also released an advisory confirming the malicious nature of certain versions and urging users to discontinue their use immediately and rotate private keys as a precautionary measure. This step is vital in preventing unauthorized access and further exploitation of the stolen private keys. The assignment of CVE-2025-32965 to this incident, with a high CVSS score of 9.3, highlights the severity and urgency of the threat.

User and Industry Response

Given the magnitude of this security breach, users are being urged to take immediate action to secure their systems and data. Migrating to the secure versions 4.2.5 and 2.14.3 of the xrpl.js library is an essential first step. Additionally, users must reassess their security protocols to ensure they are robust enough to withstand similar attacks in the future. This breach has exposed significant flaws in the dependency management practices that many developers rely on, calling for a deeper evaluation of security measures across the board.

The incident has also prompted broader discussions within the software development community about the importance of securing the software supply chain. Enhanced verification processes, stricter access controls for npm accounts, and regular security audits are some of the measures being advocated to prevent such incidents. Developers are encouraged to stay vigilant and proactive in identifying and mitigating potential security threats. By adopting a comprehensive approach to security, the risks associated with such supply chain attacks can be significantly reduced.

Lessons Learned and Future Precautions

In a major security incident, Ripple’s widely-used xrpl.js npm package was breached by unknown attackers, compromising certain versions to steal private keys. This troubling event affects the XRP Ledger, a blockchain platform launched by Ripple Labs. The attack began on April 21, 2025, with the insertion of malicious code designed to transmit stolen private keys to an external site. Versions 4.2.1 through 4.2.4 and 2.14.2 of the package were compromised, underscoring a severe security failure for a library with over 2.9 million downloads. The backdoor suggests a possible hack of a Ripple employee’s npm account, potentially that of “mukulljangid.” Despite these malicious alterations, there has been no indication of changes to the corresponding GitHub repository. This breach highlights the critical need for robust security practices in software distribution, especially for widely trusted components. Ripple Labs is now likely to face scrutiny over their internal security procedures to prevent future occurrences.

Explore more

Can Hire Now, Pay Later Redefine SMB Recruiting?

Small and midsize employers hit a familiar wall: the best candidate says yes, the offer window is narrow, and a chunky placement fee threatens to slow the decision, so a financing option that spreads cost without slowing hiring becomes less a perk and more a competitive necessity. This analysis unpacks how buy now, pay later (BNPL) principles are migrating into

BNPL Boom in Canada: Perks, Pitfalls, and Guardrails

A checkout button promised to split a $480 purchase into four bite-sized payments, and within minutes the order shipped, approval arrived, and the budget looked strangely untouched despite a brand-new gadget heading to the door. That frictionless tap-to-pay experience has rocketed buy now, pay later (BNPL) from niche option to mainstream credit in Canada, as lenders embed plans into retailer

Omnichannel CRM Orchestration – Review

What Omnichannel CRM Orchestration Means for Hospitality Guests do not think in systems, yet their journeys throw off a blizzard of signals across email, SMS, chat, phone, and web, and omnichannel CRM orchestration promises to catch those signals in one place, interpret intent, and respond with the next right action before momentum fades. In hospitality, that means tying every touch

Can Stigma-Free Money Education Boost Workplace Performance?

Setting the Stage: Why Financial Stress at Work Demands Stigma-Free Education Paychecks stretched thin, phones buzzing with overdue alerts, and minds drifting during shifts point to a simple truth: money stress quietly drains focus long before it sparks a crisis. Recent findings sharpen the picture—PwC’s 2026 survey reported 59% of employees feel financially stressed and nearly half say pay lags

AI for Employee Engagement – Review

Introduction Stalled engagement scores, rising quit intents, and whiplash skill shifts ask a widely debated question: can AI really help people care more about work and change faster without losing trust? That question is no longer theoretical for large employers facing tighter budgets and nonstop transformation, and it frames this review of AI for employee engagement—a class of tools that