Critical Malicious Code Vulnerability in freeaml Package
Summary
MAL-2025-20944: Malicious code in freeaml (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 freeaml package is a JavaScript library available through the npm ecosystem, designed for creating and managing advanced machine learning models. It offers features such as model training, evaluation, and deployment. However, recent findings have revealed that this package contains malicious code, posing significant risks to users and their applications.
Vulnerability Detail
The vulnerability in the freeaml package stems from the inclusion of malicious code that can compromise the security of applications utilizing this library. This code can potentially lead to unauthorized access, data breaches, and other security incidents. The issue was identified in all versions starting from its introduction, making it critical for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall freeaml
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 measure, users may consider removing the freeaml package from their projects until a secure version is released. This can be done using the command: npm uninstall freeaml.
Conclusion
The discovery of malicious code in the freeaml package highlights the importance of maintaining secure dependencies in software development. Users are urged to take immediate action by updating or removing the package to mitigate potential risks.
See every vulnerability recorded for freeaml →
FAQ
The malicious code can lead to unauthorized access and potential data breaches, affecting the security of applications that use the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
Currently, there is no specific patch version mentioned, but users should regularly check the package repository for updates.
As a workaround, consider uninstalling the freeaml package until a secure version is available.
Utilize tools like Vulert, which can alert you in real-time about vulnerabilities in your open-source dependencies.