Malicious Code Detected in estroids Package - Security Alert
Summary
MAL-2025-19879: Malicious code in estroids (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 estroids package is an npm library designed for specific functionalities within JavaScript applications. It is utilized by developers for its ease of integration and feature set. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that depend on it.
Vulnerability Detail
The vulnerability in the estroids package originates from the inclusion of malicious code that can compromise the integrity of applications using it. This code may lead to unauthorized access, data breaches, or other harmful actions that can affect both developers and end-users. The malicious nature of this vulnerability is particularly concerning as it can operate without the user's knowledge, making it imperative for developers to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall estroids
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, you may consider removing the estroids package from your project until a secure version is released. You can do this by executing the command: 'npm uninstall estroids'. This will help mitigate the risk of exposure to the malicious code.
Conclusion
The discovery of malicious code in the estroids package highlights the importance of maintaining secure coding practices and regularly updating dependencies. Developers should take immediate action to protect their applications from potential threats posed by this vulnerability.
See every vulnerability recorded for estroids →
FAQ
Estroids is an npm package used in JavaScript applications for specific functionalities, but it has been found to contain malicious code.
The malicious code can compromise your application's security, potentially leading to unauthorized access and data breaches.
You should immediately update the package to the latest version or uninstall it until a secure version is available.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.