Malicious Code Detected in ethereum-lint Package: Version 2.0.2 Vulnerability

ethereum-lint Updated 20 Feb 2026

Summary

15/02/2026
CRITICAL
No i
Critical
Not published

MAL-2026-942: Malicious code in ethereum-lint (npm). Affects ethereum-lint versions 2.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

The ethereum-lint package is a tool designed for linting Ethereum smart contracts, helping developers ensure code quality and adherence to best practices. It is widely used in the Ethereum development community for its ability to catch common errors and enforce coding standards. However, version 2.0.2 of this package has been identified as malicious, executing commands that can compromise user systems.

Vulnerability Detail

The vulnerability in the ethereum-lint package arises from its malicious behavior, where it executes one or more commands that can lead to unauthorized access or control over the user's system. This issue was identified by the OpenSSF Package Analysis project, which flagged the package as malicious due to its potential to harm users. The ramifications of this vulnerability include data theft, system compromise, and the execution of unwanted commands, posing a significant risk to developers and their projects.

How To Fix

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

npm uninstall ethereum-lint

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, users can avoid using the ethereum-lint package altogether until a safe version is confirmed. Alternatively, if you must use it, consider using a different linting tool for Ethereum smart contracts that has not been flagged for malicious behavior.

Conclusion

The ethereum-lint package version 2.0.2 has been identified as malicious, posing significant risks to users. It is crucial to take immediate action by uninstalling the affected version and installing a safe alternative. Monitoring tools like Vulert can help keep your projects secure from future vulnerabilities.

See every vulnerability recorded for ethereum-lint →

Share this vulnerability

FAQ

ethereum-lint is a tool used for linting Ethereum smart contracts, ensuring code quality and adherence to best practices.

The malicious behavior was identified by the OpenSSF Package Analysis project, which monitors open-source packages for security issues.

If you have installed version 2.0.2, you should uninstall it immediately and install a previous or patched version of the package.

Yes, there are several alternative linting tools available for Ethereum smart contracts, such as Solhint and Solhint-Plus.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner without any signup.

How To Fix

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

npm uninstall ethereum-lint

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