Critical Malicious Code Vulnerability in opencraw Package
Summary
MAL-2026-966: Malicious code in opencraw (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 opencraw package is a tool designed for web crawling and data extraction in Node.js applications. It allows developers to automate the process of gathering information from websites. However, this package has been compromised, leading to severe security risks for any system utilizing it. The malicious code embedded within can potentially grant unauthorized access to sensitive data and system controls.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the opencraw package, identified as GHSA-6v8f-7cjm-f7f8. This code can fully compromise any computer where the package is installed, allowing attackers to access secrets and keys stored on the system. The implications are dire, as it may lead to data breaches and unauthorized control over the affected systems. Users are advised to treat any system running this package as compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall opencraw
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
As a workaround, users should rotate all secrets and keys stored on the affected system from a secure, unaffected computer. Additionally, consider using alternative packages for web crawling that have been verified as secure.
Conclusion
The opencraw package has been identified as containing malicious code that poses significant security risks. Immediate action is required to remove the package and secure any compromised systems. Users should remain vigilant and consider using alternative solutions for web crawling.
See every vulnerability recorded for opencraw →
FAQ
opencraw is a Node.js package used for web crawling and data extraction, allowing developers to automate the gathering of information from websites.
The malicious code can fully compromise your system, allowing attackers to access sensitive data and potentially take control of your computer.
Immediately remove the opencraw package and rotate any secrets or keys stored on the affected system. Consider using alternative packages.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Long-term implications include potential data breaches, unauthorized access to sensitive information, and loss of control over affected systems.