Malicious Code Detected in recoilusagelogevent Package - Vulnerability MAL-2025-6954
Summary
MAL-2025-6954: Malicious code in recoilusagelogevent (npm). Affects recoilusagelogevent 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 recoilusagelogevent package is an npm library designed to log usage events for applications utilizing the Recoil state management library. It aims to provide developers with insights into user interactions and application performance. However, this package has been identified as communicating with a domain associated with malicious activities, raising significant security concerns for users relying on it.
Vulnerability Detail
The vulnerability arises from the package's communication with a domain linked to malicious activities. This could potentially lead to data breaches, unauthorized access, or the execution of harmful scripts within applications that utilize this package. The issue was introduced in version 1.0.0 and poses a risk to any application that integrates this library, making it crucial for developers to address it promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall recoilusagelogevent
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 recoilusagelogevent package from your project until a secure version is released. You can do this by executing: npm uninstall recoilusagelogevent.
Conclusion
The recoilusagelogevent package has been identified with a serious vulnerability due to its communication with a malicious domain. Developers should take immediate action to update or remove the package to protect their applications from potential threats. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for recoilusagelogevent →
FAQ
It is an npm library used for logging usage events in applications that utilize the Recoil state management library.
The vulnerability can lead to data breaches or unauthorized access due to the package's communication with a malicious domain.
You should update the package to the latest version or remove it from your project until a secure version is available.
Yes, you can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.