Malicious Code Detected in erepair Package - Security Alert
Summary
MAL-2025-19763: Malicious code in erepair (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 erepair package is an npm library designed for various repair functionalities in JavaScript applications. It is utilized by developers to streamline repair processes within their projects. However, recent findings have revealed that the package contains malicious code, posing significant security risks to users and their applications.
Vulnerability Detail
The vulnerability in the erepair package originates from the inclusion of malicious code that can compromise the integrity of applications using this library. This code can lead to unauthorized access, data breaches, and potential exploitation of the affected systems. Users of the erepair package are at risk of having their applications manipulated or their data exposed due to this vulnerability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall erepair
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 can remove the erepair package from their projects until a secure version is released. This can be achieved by executing the command: 'npm uninstall erepair'.
Conclusion
The erepair package has been identified as containing malicious code, posing serious security risks to users. It is crucial to update or uninstall the package to protect your applications. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your dependencies.
See every vulnerability recorded for erepair →
FAQ
The erepair package is an npm library used for various repair functionalities in JavaScript applications.
The malicious code found in erepair can compromise application integrity, leading to unauthorized access and data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
As a temporary measure, consider uninstalling the erepair package until a secure version is available.
Utilize tools like Vulert to monitor your package-lock.json for vulnerabilities without requiring code access or installation.