Malicious Code Detected in eslint-config-compact-utils: Exfiltration of Host Data

eslint-config-compact-utils Updated 23 Sep 2026

Summary

22/09/2026
CRITICAL
No i
Critical
Not published

MAL-2026-16417: Malicious code in eslint-config-compact-utils (npm). Affects eslint-config-compact-utils versions 1.0.0 – 1.0.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 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

eslint-config-compact-utils is an npm package designed to provide a set of ESLint configuration utilities for developers. It aims to simplify the process of setting up ESLint in JavaScript projects. However, a recent vulnerability has been identified that compromises its integrity, allowing malicious code to execute upon import, leading to potential data exfiltration.

Vulnerability Detail

The vulnerability originates from the package's index.js file, which collects sensitive host information such as the hostname, username, platform, architecture, Node version, and current working directory. It also gathers CI/repository environment variables and sends this data to a hardcoded endpoint via an HTTP GET request. This behavior is executed automatically when the module is imported, making it a significant security risk as it operates outside the intended functionality of the package.

How To Fix

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

npm uninstall eslint-config-compact-utils

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 eslint-config-compact-utils package altogether and rely on other ESLint configurations that are known to be secure. Additionally, you can monitor your application for vulnerabilities using tools like Vulert, which can alert you to any open-source vulnerabilities in your software.

Conclusion

The eslint-config-compact-utils package has been identified as malicious due to its ability to exfiltrate sensitive data upon import. It is crucial for developers to remove this package from their projects and monitor for vulnerabilities using tools like Vulert to ensure the security of their applications.

See every vulnerability recorded for eslint-config-compact-utils →

Share this vulnerability

FAQ

eslint-config-compact-utils is an npm package that provides a set of utilities for configuring ESLint in JavaScript projects.

The vulnerability allows the package to exfiltrate sensitive host information and CI environment variables to a remote server upon import.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

No patch is available for eslint-config-compact-utils; it is recommended to remove the package from your project.

You should uninstall the package immediately and consider using alternative ESLint configurations that do not have known vulnerabilities.

How To Fix

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

npm uninstall eslint-config-compact-utils

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