Critical Malicious Code Vulnerability in endocon Package
Summary
MAL-2025-19648: Malicious code in endocon (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 endocon package is an npm library designed for specific functionalities within JavaScript applications. It is utilized for various tasks, including data manipulation and API interactions. However, the package has been identified to contain malicious code, posing significant risks to applications that depend on it.
Vulnerability Detail
The vulnerability in the endocon package arises from the inclusion of malicious code that can compromise the security of applications utilizing this package. This code can lead to unauthorized access, data breaches, and potential exploitation of system resources. The issue originates from version 0 of the package and affects all subsequent versions, making it critical for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall endocon
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, consider removing the endocon package from your project until a secure version is released. You can do this by executing: npm uninstall endocon.
Conclusion
The endocon package has been identified to contain malicious code, posing significant risks to applications that utilize it. Users are advised to update to a patched version or remove the package until a fix is available. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for endocon →
FAQ
The endocon package is an npm library used for various functionalities in JavaScript applications, but it has been found to contain malicious code.
The malicious code can lead to unauthorized access, data breaches, and exploitation of system resources, posing serious security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Users should check the package repository for any patched versions and update accordingly to mitigate the vulnerability.
As a temporary measure, you can uninstall the endocon package using the command: npm uninstall endocon.