The XRP Ledger Foundation has warned about a security vulnerability in the official JavaScript SDK, which interacts with the XRPL.A security researcher identified a serious vulnerability in the xrpl npm package.Hackers were able to collect private keys and steal assets from compromised wallets.The XRP Ledger Foundation has released a clean version of the NPM package to ensure the SDK's safety.