首頁XRP新聞XRP 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.

線上客服

客服團隊

剛剛

親愛的 LBank 用戶

我們的線上客服系統目前遇到連線故障。我們正積極修復這一問題,但暫時無法提供確切的恢復時間。對於由此給您帶來的不便,我們深表歉意。

如需幫助,您可以透過電子郵件聯繫我們,我們將盡快回覆。

感謝您的理解與耐心。

LBank 客服團隊