Critical Malicious Code Vulnerability in @openclaw-ai/openclawai Package
Summary
MAL-2026-1321: Malicious code in @openclaw-ai/openclawai (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 @openclaw-ai/openclawai package is an npm library designed for AI-related functionalities. It is utilized in various applications to integrate AI capabilities seamlessly. However, this package has been identified to contain malicious code that compromises the security of any system where it is installed, making it a significant risk for developers and organizations relying on it.
Vulnerability Detail
The vulnerability originates from the presence of embedded malicious code within the @openclaw-ai/openclawai package. This code can fully compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The ramifications of this vulnerability are severe, as it not only affects the integrity of the system but also poses a risk to data confidentiality and security. Users are advised to treat any system with this package as compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @openclaw-ai/openclawai
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. It is essential to monitor your systems for any signs of compromise and take necessary actions to secure your environment.
Conclusion
The discovery of malicious code within the @openclaw-ai/openclawai package poses a serious threat to any system that has it installed. Immediate action is required to mitigate risks, including uninstalling the package and securing sensitive information. Continuous monitoring for vulnerabilities is essential for maintaining system integrity.
See every vulnerability recorded for @openclaw-ai/openclawai →
FAQ
You should immediately uninstall the package and rotate any secrets or keys stored on the affected system.
You can use the Vulert platform 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.
Currently, there is no patched version available. The only recommended action is to uninstall the package.
Failing to remove the package can lead to unauthorized access to sensitive information and potential data breaches.
After removing the package, ensure that you rotate all secrets and keys and monitor your system for any unusual activity.