Critical Malicious Code Vulnerability in cneural Package
Summary
MAL-2025-17231: Malicious code in cneural (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 cneural package is an npm library designed for neural network computations and machine learning applications. It offers various functionalities for developers to implement complex algorithms easily. However, it has been identified to contain malicious code that poses a significant security risk to users and their applications.
Vulnerability Detail
The vulnerability in the cneural package originates from the inclusion of malicious code that can compromise the security of applications utilizing this package. This malicious code can lead to unauthorized access, data breaches, or even complete system takeover. The issue affects all versions of the package starting from its introduction, making it imperative for users to take immediate action to mitigate risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall cneural
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 temporary workaround, users can isolate the cneural package in a controlled environment and monitor its behavior closely. However, this is not a recommended long-term solution. It is best to remove the package entirely until a secure alternative is found.
Conclusion
The cneural package has been identified to contain malicious code, posing a significant risk to users. Immediate action is required to remove the package and seek alternatives. Users can utilize tools like Vulert to monitor their applications for vulnerabilities and ensure their software remains secure.
See every vulnerability recorded for cneural →
FAQ
The cneural package is used for neural network computations and machine learning tasks in JavaScript applications.
You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to use the Vulert playground without any signup.
If you are using the cneural package, it is recommended to remove it immediately and look for alternative libraries that do not have known vulnerabilities.
As of now, there is no patch available for the cneural package. Users should remove the package until a secure version is released.
Yes, you can continue to use your application without the cneural package. Consider implementing alternative libraries that provide similar functionalities.