Critical Malicious Code Vulnerability in node-loggerx Package

node-loggerx Updated 02 Oct 2025

Summary

30/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6366: Malicious code in node-loggerx (npm). Affects node-loggerx versions 0.3.0 – 0.3.1. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

node-loggerx is an npm package designed for logging purposes in Node.js applications. It provides developers with a simple interface to log messages, errors, and other important information during application runtime. However, this package has been identified to contain malicious code that compromises the security of any system it is installed on, making it a significant risk for developers and organizations relying on it.

Vulnerability Detail

The vulnerability stems from the inclusion of embedded malicious code within the node-loggerx package. This code can lead to full system compromise, allowing unauthorized access to sensitive data such as secrets and keys stored on the affected computer. The malicious nature of this code poses severe risks, as it may enable attackers to control the system remotely, leading to potential data breaches and loss of integrity.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall node-loggerx

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, you can avoid using the node-loggerx package altogether and consider alternative logging packages that do not have known vulnerabilities. Additionally, ensure that your application does not rely on any features provided by node-loggerx until the issue is resolved.

Conclusion

The node-loggerx package has been identified as containing malicious code that poses a significant security risk. It is crucial for developers to remove this package and consider alternatives while monitoring their systems for any unauthorized access. Utilizing tools like Vulert can help in identifying vulnerabilities in open-source packages.

See every vulnerability recorded for node-loggerx →

Share this vulnerability

FAQ

The vulnerability involves embedded malicious code that can compromise the security of any system where the package is installed.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.

Immediately remove the node-loggerx package from your project and rotate any secrets or keys stored on the affected system.

Yes, consider using other logging packages that are well-reviewed and have a good security track record.

While removing the package is essential, there may still be residual effects from the malicious code. It is advisable to conduct a thorough security audit of the affected system.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall node-loggerx

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback