Malicious Code Detected in fe-cdnpath-transform Package
Summary
MAL-2025-192797: Malicious code in fe-cdnpath-transform (npm). Affects fe-cdnpath-transform versions 999.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 fe-cdnpath-transform package is an npm library designed for transforming CDN paths in web applications. It is commonly used to manage and optimize the delivery of static assets. However, this package has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the fe-cdnpath-transform package. This code can potentially compromise the security of applications by allowing unauthorized access, data theft, or other malicious activities. The affected version is 999.0.0, and it has been flagged by security tools such as Amazon Inspector and ReversingLabs.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall fe-cdnpath-transform
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
If an immediate update is not feasible, consider removing the fe-cdnpath-transform package from your project until a secure version is released. You can do this by running: npm uninstall fe-cdnpath-transform.
Conclusion
The fe-cdnpath-transform package has been identified as containing malicious code, which poses a significant risk to applications that utilize it. It is essential to update or remove the package to safeguard your application from potential threats. Regular monitoring using tools like Vulert can help maintain security against such vulnerabilities.
See every vulnerability recorded for fe-cdnpath-transform →
FAQ
fe-cdnpath-transform is an npm package used for transforming CDN paths in web applications, helping to optimize the delivery of static assets.
The malicious code can compromise application security by allowing unauthorized access or data theft, potentially leading to severe security breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Yes, you can temporarily remove the fe-cdnpath-transform package from your project using the command: npm uninstall fe-cdnpath-transform.
The vulnerability was reported by Amazon Inspector and ReversingLabs, both of which are security research organizations.