Critical Malicious Code Vulnerability in coopshares-webcomponent Package
Summary
MAL-2026-413: Malicious code in coopshares-webcomponent (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 coopshares-webcomponent package is an npm library designed for web component development, enabling developers to create reusable UI components. However, this package has been identified as containing malicious code, posing significant security risks to any system utilizing it. The malicious nature of the code can compromise sensitive information and grant unauthorized access to the system.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the coopshares-webcomponent package. This code can fully compromise any computer that has the package installed, leading to potential data breaches and unauthorized access to secrets and keys stored on the affected system. The malicious code was identified through sources such as Amazon Inspector and GHSA malware reports, indicating a severe risk to users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall coopshares-webcomponent
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 workaround, if immediate removal is not feasible, consider isolating the affected system from the network to prevent further compromise while you assess the situation. Additionally, ensure that all sensitive data is backed up and secured before proceeding with the removal.
Conclusion
The coopshares-webcomponent package has been identified as containing malicious code that poses a significant security risk. Immediate action is required to remove the package and secure any sensitive information. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for coopshares-webcomponent →
FAQ
Immediately remove the package from your system and rotate any sensitive information stored on that computer.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
Failing to address this vulnerability can lead to unauthorized access to your system, data breaches, and potential loss of sensitive information.
Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities using just your package-lock.json file.
After removal, ensure to rotate all secrets and keys stored on the affected system and monitor for any unusual activity.