Critical Malicious Code Vulnerability in @wizloft/harness-plugin-file-memory Package
Summary
MAL-2026-16430: Malicious code in @wizloft/harness-plugin-file-memory (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 @wizloft/harness-plugin-file-memory package is an npm module designed for file memory management within harness applications. It is intended to facilitate the storage and retrieval of files in memory, providing developers with a streamlined approach to handle file operations. However, this package has been identified as containing malicious code that compromises the security of any system it is installed on.
Vulnerability Detail
The vulnerability originates from the presence of embedded malicious code within the @wizloft/harness-plugin-file-memory package. This code can fully compromise any computer that has the package installed or running, allowing unauthorized access to sensitive information such as secrets and keys. The ramifications of this vulnerability are severe, as it may lead to data breaches and loss of control over the affected systems. Users are advised to treat any system with this package as compromised and take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @wizloft/harness-plugin-file-memory
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
Currently, there are no effective workarounds to mitigate the risks associated with this vulnerability. The only recommended action is to uninstall the package and secure your system.
Conclusion
The @wizloft/harness-plugin-file-memory package contains malicious code that poses a significant security risk. Immediate action is required to uninstall the package and secure any compromised systems. Regular monitoring of dependencies is essential to prevent future vulnerabilities.
See every vulnerability recorded for @wizloft/harness-plugin-file-memory →
FAQ
You should immediately uninstall the package using the command npm uninstall @wizloft/harness-plugin-file-memory and rotate any secrets or keys stored on the affected system.
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 sensitive data, potential data breaches, and loss of control over your systems.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, which can alert you in real-time for open-source vulnerabilities.
Vulert is a monitoring tool that uses your package-lock.json to track and alert you about open-source vulnerabilities in your software, helping you maintain secure applications.