Critical Malicious Code Vulnerability in loki-release Package
Summary
MAL-2025-5935: Malicious code in loki-release (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 loki-release package is a tool used in the JavaScript ecosystem, specifically within npm, for managing releases of Loki, a logging library. It is designed to facilitate the deployment and versioning of Loki applications. However, this package has been identified to contain malicious code that compromises the security of any system it is installed on.
Vulnerability Detail
The loki-release package has been flagged for containing embedded malicious code, which can lead to full compromise of any computer that has this package installed. This vulnerability originates from the package itself and poses severe risks, including unauthorized access to sensitive information, manipulation of system resources, and potential data breaches. Users are advised to treat any system running this package as fully compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall loki-release
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
There are no effective workarounds for this vulnerability other than removing the package and securing the system. Users should ensure that all sensitive data is secured and consider reinstalling the operating system if necessary.
Conclusion
The loki-release package has been identified as containing malicious code, posing a significant risk to any system it is installed on. Immediate action is required to remove the package and secure any sensitive information. Users are encouraged to utilize tools like Vulert for ongoing monitoring of vulnerabilities in their applications.
See every vulnerability recorded for loki-release →
FAQ
The loki-release package is a tool used for managing releases of the Loki logging library in the JavaScript ecosystem.
The malicious code can lead to full system compromise, allowing unauthorized access to sensitive information and manipulation of system resources.
Immediately remove the loki-release package and rotate any sensitive information stored on the affected system.
As of now, there is no patched version available. Users should focus on removing the package and securing their systems.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just the package-lock.json file. You can check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner without any signup.