Critical Malicious Code Vulnerability in ev-refresh-cf Package
Summary
MAL-2025-19918: Malicious code in ev-refresh-cf (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 ev-refresh-cf package is an npm library designed to facilitate real-time refresh capabilities for cloud functions. It is commonly utilized in serverless applications to enhance performance and user experience. However, this package has been identified to contain malicious code, posing significant security risks to applications that rely on it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the ev-refresh-cf package. This code can potentially compromise the integrity of applications using the package, leading to unauthorized access, data breaches, or other malicious activities. The issue is particularly concerning as it affects all versions starting from 0, 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 ev-refresh-cf
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 may consider removing the ev-refresh-cf package from their project until a secure version is released. This can be done by executing the command: npm uninstall ev-refresh-cf.
Conclusion
The ev-refresh-cf package has been identified to contain malicious code, posing a significant security threat to applications utilizing it. Users are urged to update or remove the package to safeguard their applications from potential risks.
See every vulnerability recorded for ev-refresh-cf →
FAQ
The ev-refresh-cf package is used to implement real-time refresh capabilities in serverless applications.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
If you cannot update the package immediately, consider removing it from your project as a temporary measure.
Using the compromised package can lead to unauthorized access, data breaches, and other malicious activities that can severely impact your application.
You can visit Vulert at https://vulert.com, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json.