Critical Malicious Code Vulnerability in babel-plugin-transform-raptor-renderer
Summary
MAL-2025-15299: Malicious code in babel-plugin-transform-raptor-renderer (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 babel-plugin-transform-raptor-renderer is an npm package designed to facilitate the transformation of Raptor renderer code in JavaScript applications. It is commonly used in web development to enhance rendering performance. However, this package has been found to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the babel-plugin-transform-raptor-renderer package. This code can potentially compromise the security of applications that depend on this package, leading to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 and affects all subsequent versions.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall babel-plugin-transform-raptor-renderer
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 temporary workaround, consider using alternative packages that provide similar functionality without the associated risks. Review your project's dependencies and replace the babel-plugin-transform-raptor-renderer with a safer option until a fix is implemented.
Conclusion
The babel-plugin-transform-raptor-renderer package has been identified as containing malicious code, posing a serious threat to applications that utilize it. Immediate action is required to uninstall the package and seek alternatives or wait for a patch. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.
See every vulnerability recorded for babel-plugin-transform-raptor-renderer →
FAQ
It is an npm package used to transform Raptor renderer code in JavaScript applications, enhancing rendering performance.
The malicious code can compromise your application's security, potentially leading to unauthorized access or data breaches.
You should uninstall the package immediately and look for alternative solutions or wait for a patched version.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without any signup.