Malicious Code Detected in @cheqplease/structured-logger: Version 9.3.2 Compromised

Summary

10/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192434: Malicious code in @cheqplease/structured-logger (npm). Affects @cheqplease/structured-logger versions 9.3.2. 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 package @cheqplease/structured-logger is an npm library designed for structured logging in JavaScript applications. It allows developers to log messages in a consistent format, making it easier to analyze logs and debug applications. However, version 9.3.2 of this package has been flagged for containing malicious code that communicates with a domain associated with harmful activities.

Vulnerability Detail

The vulnerability in @cheqplease/structured-logger arises from its version 9.3.2, which has been identified as malicious by the OpenSSF Package Analysis project. The package's malicious behavior includes communicating with a domain linked to malicious activities, potentially compromising the security of applications that utilize this package. This could lead to unauthorized access, data breaches, or other security incidents.

How To Fix

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

npm uninstall @cheqplease/structured-logger

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, you can remove the @cheqplease/structured-logger package from your project until a secure version is released. Use the following command to uninstall the package: npm uninstall @cheqplease/structured-logger.

Conclusion

The @cheqplease/structured-logger package version 9.3.2 has been identified as malicious due to its communication with harmful domains. It is crucial for developers to update or remove this package to protect their applications from potential security threats. Regular monitoring of dependencies is recommended to maintain application security.

See every vulnerability recorded for @cheqplease/structured-logger →

Share this vulnerability

FAQ

The malicious code in version 9.3.2 communicates with a domain known for malicious activities, posing a security risk.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.

If an immediate update is not possible, consider removing the package from your project as a temporary measure to mitigate risk.

It is advisable to check the package repository for versions prior to 9.3.2 or any patched versions that may have been released.

Utilizing tools like Vulert can help you monitor your dependencies for vulnerabilities in real-time, ensuring you are alerted to any issues promptly.

How To Fix

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

npm uninstall @cheqplease/structured-logger

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