Critical Malicious Code Vulnerability in @wizloft/harness-plugin-memory-context
Summary
MAL-2026-16431: Malicious code in @wizloft/harness-plugin-memory-context (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 package @wizloft/harness-plugin-memory-context is an npm module designed to facilitate memory context management within applications. It is utilized by developers to enhance performance and manage state effectively. However, this package has been identified to contain malicious code, posing significant security risks to any system that has it installed.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the @wizloft/harness-plugin-memory-context package. This code can compromise the entire system, allowing unauthorized access to sensitive information such as secrets and keys. The origin of this vulnerability is linked to the package's malicious intent, which can lead to severe ramifications, including data breaches and loss of control over the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @wizloft/harness-plugin-memory-context
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 posed by this vulnerability other than removing the package entirely. It is recommended to monitor your system for any unusual activity following the uninstallation.
Conclusion
The discovery of malicious code in the @wizloft/harness-plugin-memory-context package poses a serious threat to systems that utilize it. Immediate action is required to remove the package and secure any sensitive information. Utilizing tools like Vulert can help in monitoring and preventing future vulnerabilities.
See every vulnerability recorded for @wizloft/harness-plugin-memory-context →
FAQ
You should immediately uninstall the package and rotate any secrets or keys stored on the affected system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities. Visit Vulert Scanner to check your application without needing to sign up.
No, there is currently no patched version available for the @wizloft/harness-plugin-memory-context package.
Failure to address this vulnerability can lead to unauthorized access to sensitive information and potential data breaches.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert and keep your packages updated.