Page d'accueilXRP nouvellesXRP Ledger Foundation Acts Fast on XRPL.js Bug; Threat Neutralized

XRP Ledger Foundation Acts Fast on XRPL.js Bug; Threat Neutralized

2025-04-23
A critical security breach has rattled the XRP development community following discovery of a backdoor in XRPL.js package versions 4.2.1 through 4.2.4 on NPM. The malicious code, present in versions 4.2.1 through 4.2.4, was capable of stealing users’ private keys and transmitting them to attackers.
XRP Ledger Foundation Acts Fast on XRPL.js Bug; Threat Neutralized

A critical security breach has rattled the XRP development community following discovery of a backdoor in XRPL.js package versions 4.2.1 through 4.2.4 on NPM. The malicious code, present in versions 4.2.1 through 4.2.4, was capable of stealing users’ private keys and transmitting them to attackers.

This prompted Ripple’s Chief Technology Officer, David Schwartz, to issue a public warning. Developers using these compromised versions are strongly advised to treat any exposed credentials as compromised.

The breach, first reported by Aikido Security, revealed the NPM distribution of XRPL.js was altered with key-stealing code; the GitHub repository was not affected. This suggests only the NPM channel was compromised.

Consequently, developers using trusted sources like GitHub remain unaffected. RippleX’s senior engineer Mayukha Vadari confirmed the core XRP Ledger is still safe and operating normally.

In less than 24 hours, the malicious versions were removed from NPM. A secure version, 4.2.5, has now been published as a fix. Additionally, users operating on the 2.x branch can safely use version 2.14.3. The quick action by the XRP Ledger Foundation and the broader Ripple development team helped contain what could have been a widespread threat.

The exploit raised concerns across the blockchain dev community, particularly services integrating XRPL.js. Wallet providers Xaman, First Ledger, and Gen3Games announced they were not compromised. The XRP Ledger Foundation also removed the malicious packages.

Chat en direct

Équipe de support client

Tout à l' heure

Cher utilisateur de LBank

Notre service client en ligne rencontre actuellement des problèmes de connexion. Nous travaillons activement à la résolution du problème, mais nous ne pouvons pas encore fournir de délai précis de récupération. Nous vous prions de nous excuser pour la gêne occasionnée.

Si vous avez besoin d'aide, veuillez nous contacter par e-mail et nous vous répondrons dans les plus brefs délais.

Merci pour votre compréhension et votre patience.

Équipe de support client de LBank