Skip to main content

Compromised xrpl.js Package Exposes XRP DeFi Wallets

A critical security vulnerability has been discovered affecting the xrpl.js package, a crucial component for interacting with the XRP Ledger. This supply chain attack exposed DeFi wallets built using the compromised package to potential key theft, raising serious concerns about the security of the entire XRP ecosystem.

While the XRP Ledger itself remains unaffected, the malicious code injected into the xrpl.js package could allow attackers to compromise private keys and gain unauthorized access to users’ funds. This highlights the critical need for developers to diligently verify the authenticity and integrity of third-party libraries before integrating them into their projects. The affected package is currently under investigation and security updates are being deployed. Users are urged to update to the latest version of xrpl.js and exercise caution when using XRP DeFi applications until further notice.

This incident serves as a stark reminder of the importance of robust security practices throughout the entire development lifecycle, including thorough code reviews, security audits, and regular updates.