Critical Malicious Code Vulnerability in opencode2-darwin-arm64 Package
Summary
MAL-2026-17853: Malicious code in opencode2-darwin-arm64 (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 opencode2-darwin-arm64 package is a Node.js library designed for use in various applications on the Darwin operating system architecture. It is typically used to facilitate specific functionalities within software projects. However, this package has been identified as containing malicious code, which poses significant security risks to any system utilizing it.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the opencode2-darwin-arm64 package. This code can compromise the integrity of the host system, allowing unauthorized access and control to external entities. The ramifications include potential data breaches, loss of sensitive information, and complete system compromise. Users are advised to treat any system running this package as fully compromised, necessitating immediate action to secure their environment.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall opencode2-darwin-arm64
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 recommended to monitor your system for any signs of compromise and take necessary actions to secure your environment.
Conclusion
The opencode2-darwin-arm64 package has been identified as a significant security risk due to the presence of malicious code. Users must take immediate action to remove the package and secure their systems. Utilizing tools like Vulert can aid in monitoring for vulnerabilities in your software.
See every vulnerability recorded for opencode2-darwin-arm64 →
FAQ
It is a Node.js library used in applications on the Darwin operating system architecture, but it has been compromised with malicious code.
If you have the opencode2-darwin-arm64 package installed, your system is at risk. You can use Vulert to check for vulnerabilities in your package-lock.json file.
Immediately remove the opencode2-darwin-arm64 package and rotate any sensitive information stored on the affected system.
Currently, there is no patched version available. The best course of action is to remove the package entirely.
Vulert monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json file, helping you stay informed about potential risks.