Malicious Package in file-logging

file-logging Updated 02 Oct 2025

Summary

03/09/2020
CRITICAL
No i
Critical
9.8

GHSA-wwwg-6r7f-9c9h: Malicious Package in file-logging. Affects file-logging versions >= 0.0.0. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The file-logging package is an npm package used for logging purposes. It provides functionality to log system information such as OS and hostname. However, a specific version of this package (0.0.0) has been found to contain malicious code. When this package is installed, it uploads the system information to a remote server without the user's consent or knowledge.

Vulnerability Detail

The vulnerability in the file-logging package allows an attacker to gather sensitive system information from the host machine and send it to a remote server. This can lead to privacy breaches and potential unauthorized access to the system. The malicious code is embedded in the package and is executed when the package is installed or used. The severity of this vulnerability is rated as CRITICAL with a CVSS score of 9.8.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Conclusion

The file-logging package has been found to contain a malicious package version (0.0.0) that uploads system information to a remote server. To mitigate this vulnerability, it is crucial to remove the package from your environment and consider using alternative logging packages from trusted sources. For further support and assistance in vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for file-logging →

Share this vulnerability

FAQ

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert analyzes your package-lock.json file and provides real-time alerts for open-source vulnerabilities.

The malicious package in file-logging can compromise the privacy of system information and potentially lead to unauthorized access to the host machine. This can result in data breaches, system compromise, and further exploitation of the affected system.

The specific version 0.0.0 of file-logging is known to contain the malicious code. It is recommended to remove this version and avoid using it. It is important to always review the package's source and consider using packages from trusted sources to minimize the risk of such vulnerabilities.

There are no indications of further compromise beyond the malicious code present in the file-logging package. However, it is advisable to thoroughly review your system for any suspicious activities or unexpected behavior, and consider conducting a security audit to ensure the integrity of your environment.

The severity of this vulnerability is rated as CRITICAL with a CVSS score of 9.8. This indicates a high level of risk and the potential for significant impact on the affected systems.

Related vulnerabilities

Recent vulnerabilities recorded for file-logging.

How To Fix

No fixed version is published for this vulnerability.

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