Critical Malicious Code Vulnerability in @wizloft/harness-commands Package
Summary
MAL-2026-16425: Malicious code in @wizloft/harness-commands (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-commands package is an npm library designed to facilitate command execution within the Harness platform. It is utilized by developers to streamline deployment processes and manage CI/CD workflows. However, this package has been identified as containing malicious code, posing significant security risks to any system where it is installed.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the @wizloft/harness-commands package. This code can compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of the code means that simply removing the package may not eliminate all traces of the compromise, as full control of the affected system may have been granted to an external entity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @wizloft/harness-commands
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
There are no effective workarounds for this vulnerability other than removing the package entirely and rotating any compromised secrets and keys.
Conclusion
The @wizloft/harness-commands package contains malicious code that poses a serious security threat. Immediate action is required to remove the package and secure any compromised information. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for @wizloft/harness-commands →
FAQ
You should immediately uninstall the package and rotate any secrets or keys stored on the affected machine.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.
Keeping the package installed can lead to unauthorized access to sensitive information and complete compromise of your system.
No, there is currently no patched version available for this package. The only solution is to remove it completely.
After removal, ensure that you rotate all secrets and keys stored on the affected machine and monitor for any unusual activity.