Malicious Code Detected in stoor Package - Immediate Action Required
Summary
MAL-2025-191014: Malicious code in stoor (npm). Affects stoor versions 2.3.2. 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 stoor package is an npm library designed for managing state and data storage in JavaScript applications. It is commonly used for its simplicity and efficiency in handling data. However, recent findings have revealed that this package contains malicious code, posing significant security risks to any system utilizing it.
Vulnerability Detail
The vulnerability originates from the stoor package, which has been identified to contain embedded malicious code. This code can compromise the security of any computer where the package is installed, potentially allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of the code means that systems running this package should be considered fully compromised, necessitating immediate action to mitigate risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall stoor
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 can prevent the stoor package from executing by removing it from your project dependencies. Use the following command to uninstall the package: npm uninstall stoor.
Conclusion
The discovery of malicious code in the stoor package highlights the importance of vigilance in managing dependencies in software projects. Immediate action is required to remove the compromised package and secure any sensitive information. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for stoor →
FAQ
The stoor package is an npm library used for managing state and data storage in JavaScript applications.
The malicious code was identified through security assessments by tools such as Amazon Inspector and reports from the GitHub Security Advisory.
Immediately remove the stoor package and rotate any sensitive information stored on the affected system.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities using just your package-lock.json file. Visit Vulert Scanner to check your application.
Failing to address this vulnerability can lead to unauthorized access to sensitive data, complete system compromise, and potential data breaches.