Critical Malicious Code Vulnerability in rtp-rapyd Package
Summary
MAL-2025-6002: Malicious code in rtp-rapyd (npm). Affects rtp-rapyd versions >= 1.0.0. 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 rtp-rapyd package is an npm library designed to facilitate interactions with the Rapyd payment platform, providing developers with tools to integrate payment functionalities into their applications. However, this package has been identified to contain malicious code that compromises the security of any system where it is installed, making it a significant risk for developers and organizations relying on it.
Vulnerability Detail
The vulnerability stems from embedded malicious code within the rtp-rapyd package, which has been flagged as potentially harmful. This code can lead to full system compromise, allowing unauthorized access to sensitive information such as secrets and keys stored on the affected computer. The malicious nature of this code is classified under CWE-506, indicating that it appears to be intentionally harmful. Users are advised to treat any system with this package installed as compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rtp-rapyd
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
There are no effective workarounds for this vulnerability other than removing the package entirely. Ensure that you check your project dependencies and eliminate any instances of rtp-rapyd.
Conclusion
The rtp-rapyd package has been identified as containing malicious code that poses a severe risk to any system where it is installed. Immediate action is required to remove the package and secure any compromised systems. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for rtp-rapyd →
FAQ
Immediately remove the rtp-rapyd package from your project and rotate any sensitive information stored on the affected system.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without requiring any signup.
Failing to address this vulnerability can lead to unauthorized access to sensitive data, potentially resulting in data breaches and significant security incidents.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and ensure that you only use trusted packages from reputable sources.
CWE-506 indicates that the code embedded in the package is malicious in nature, which is critical for understanding the potential impact and necessary actions to mitigate the risk.