Critical Malicious Code Vulnerability in Scikeras Package
Summary
MAL-2025-4879: Malicious code in scikeras (npm). Affects scikeras versions 1.0.0. 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
Scikeras is an npm package designed to provide a simple interface for using Keras with scikit-learn. It allows users to integrate deep learning models into their machine learning workflows seamlessly. However, the package has been identified to contain malicious code, posing significant security risks to users who have it installed.
Vulnerability Detail
The vulnerability originates from a malicious code embedded within the scikeras package, identified by the ID MAL-2025-4879. Any system running this package is considered fully compromised, with potential unauthorized access to sensitive information such as secrets and keys. The malicious code can lead to severe ramifications, including data breaches and loss of control over the affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall scikeras
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 uninstall the scikeras package using the command: npm uninstall scikeras. However, be aware that simply removing the package may not eliminate all traces of the malicious software.
Conclusion
The scikeras package has been identified as containing malicious code, posing significant risks to users. Immediate action is required to uninstall the package and secure any sensitive information. Utilizing tools like Vulert can help in monitoring and preventing future vulnerabilities.
See every vulnerability recorded for scikeras →
FAQ
Immediately uninstall the scikeras package and rotate any sensitive information stored on the affected system.
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 any signup.
Keeping the scikeras package can lead to unauthorized access to sensitive data and complete compromise of your system.
Currently, there is no patch available. The recommended action is to uninstall the package.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert and keep your packages updated.