Malicious Code Vulnerability in @f5rest/icr-metadata-generator Package
Summary
MAL-2026-1616: Malicious code in @f5rest/icr-metadata-generator (npm). Affects @f5rest/icr-metadata-generator versions 99.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 @f5rest/icr-metadata-generator is an npm package designed to facilitate the generation of metadata for F5's Intelligent Cloud Resources. It is commonly used in cloud environments to streamline the management and deployment of resources. However, this package has been identified as containing malicious code, which poses significant risks to users and their applications.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within version 99.0.0 of the @f5rest/icr-metadata-generator package. This code can potentially compromise the security of applications that utilize this package, leading to unauthorized access, data breaches, or other malicious activities. The origin of this vulnerability has been traced back to a malicious actor who injected harmful code into the package, making it imperative for users to take immediate action to mitigate risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @f5rest/icr-metadata-generator
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, users should consider removing the @f5rest/icr-metadata-generator package from their project until a secure version is released. This can be done using the following command: npm uninstall @f5rest/icr-metadata-generator. Additionally, users can explore alternative packages that provide similar functionality without the associated risks.
Conclusion
The @f5rest/icr-metadata-generator package has been identified as containing malicious code, posing significant risks to users. It is essential to update or remove the package to safeguard your applications. Utilize tools like Vulert for ongoing monitoring of vulnerabilities in your dependencies.
See every vulnerability recorded for @f5rest/icr-metadata-generator →
FAQ
The malicious code can execute unauthorized actions within the user's application, potentially leading to data theft or system compromise.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If immediate updates are not feasible, consider removing the package and using alternative solutions until a secure version is available.
Yes, Vulert offers real-time monitoring and alerts for open-source vulnerabilities using just your package-lock.json file.
Using a compromised package can lead to severe security breaches, including unauthorized access to sensitive data and potential exploitation of your application.