Malicious Code Detected in enclose-eslint: A Critical Security Alert

enclose-eslint Updated 06 Dec 2025

Summary

06/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192352: Malicious code in enclose-eslint (npm). Affects enclose-eslint versions 99.99.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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

enclose-eslint is an npm package designed to facilitate the use of ESLint in JavaScript projects. It aims to streamline the process of linting code to ensure adherence to coding standards and best practices. However, this package has been flagged for malicious behavior, raising significant security concerns for developers relying on it.

Vulnerability Detail

The vulnerability in enclose-eslint, identified as MAL-2025-192352, originates from its communication with a domain linked to malicious activities. This package not only connects to potentially harmful external resources but also executes commands that could compromise the security of the host system. Such behavior can lead to unauthorized access, data breaches, and the execution of harmful scripts, posing a severe risk to users and their applications.

How To Fix

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

npm uninstall enclose-eslint

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 workaround, consider using alternative linting packages that do not exhibit malicious behavior. You can explore other ESLint-compatible packages that are well-reviewed and have a strong community backing. Additionally, ensure to regularly audit your dependencies for vulnerabilities.

Conclusion

The enclose-eslint package has been identified as malicious, posing significant risks to developers and their applications. It is essential to remove this package and consider safer alternatives to maintain the integrity and security of your codebase.

See every vulnerability recorded for enclose-eslint →

Share this vulnerability

FAQ

enclose-eslint is an npm package used for integrating ESLint into JavaScript projects, helping developers maintain code quality.

The malicious behavior was identified by the OpenSSF Package Analysis project, which flagged the package for communicating with a harmful domain and executing malicious commands.

If you have enclose-eslint installed, it is recommended to uninstall the package immediately and consider using alternative linting tools.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.

Using a malicious package can lead to unauthorized access to your system, data breaches, and the execution of harmful scripts, compromising the security of your application.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

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

npm uninstall enclose-eslint

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