Malicious Code Detected in libucl Package - Security Alert
Summary
MAL-2025-25251: Malicious code in libucl (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 libucl package is a library designed for parsing and manipulating UCL (Universal Configuration Language) data. It is commonly used in various applications for configuration management due to its lightweight and flexible nature. However, recent findings have revealed that this package contains malicious code, posing significant security risks to users and applications relying on it.
Vulnerability Detail
The vulnerability in the libucl package stems from the inclusion of malicious code that can compromise the integrity and security of applications utilizing this library. This code may lead to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to take immediate action to mitigate potential risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall libucl
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, consider removing the libucl package from your project until a secure version is released. You can do this by running the following command: npm uninstall libucl.
Conclusion
The discovery of malicious code in the libucl package highlights the importance of maintaining up-to-date libraries and monitoring for vulnerabilities. Users are urged to take immediate action to secure their applications by updating or removing the affected package.
See every vulnerability recorded for libucl →
FAQ
libucl is a library for parsing and manipulating UCL (Universal Configuration Language) data, commonly used in configuration management.
The malicious code was identified through security audits and reports from security researchers, including Amazon Inspector.
Using the affected version may lead to unauthorized access, data breaches, and other malicious activities that can compromise application security.
As of now, a patched version is not specified. Users should monitor the package repository for updates and apply them promptly.
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 requiring access to the code or installation.
Related vulnerabilities
Recent vulnerabilities recorded for libucl.