Critical Malicious Code Vulnerability in xrpl-dev-portal Package
Summary
MAL-2026-1221: Malicious code in xrpl-dev-portal (npm). Affected versions are not published. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The xrpl-dev-portal package is a tool designed for developers working with the XRP Ledger, providing resources and documentation to facilitate the development process. It is widely used in the npm ecosystem for building applications that interact with the XRP blockchain. However, this package has been identified to contain malicious code, posing significant security risks to any system utilizing it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the xrpl-dev-portal package. This code can compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The ramifications of this vulnerability are severe, as it can lead to complete control of the affected system by an external entity, making it imperative for users to act swiftly to mitigate potential damage.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall xrpl-dev-portal
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a workaround, ensure that you do not run any applications that depend on the xrpl-dev-portal package until it has been removed and your system has been secured. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code within the xrpl-dev-portal package poses a significant threat to users and their systems. Immediate action is required to remove the package and secure any sensitive information. Regular monitoring of dependencies is crucial to maintaining security in software development.
See every vulnerability recorded for xrpl-dev-portal →
FAQ
Immediately remove the package and rotate any sensitive information stored on the affected system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without needing to sign up.
Currently, there is no patched version available. It is advised to remove the package entirely.
Failure to address this vulnerability can lead to unauthorized access to your system, potentially resulting in data breaches and loss of sensitive information.
While many packages are safe, it is essential to regularly monitor and audit your dependencies for vulnerabilities using tools like Vulert.