Malicious Package in commmander - Critical Vulnerability

commmander Updated 02 Oct 2025

Summary

11/09/2020
CRITICAL
No i
Critical
9.8

GHSA-q42c-rrp3-r3xm: Malicious Package in commmander. Affected versions are not published. 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 commmander package is an npm package that is used for command-line interface (CLI) development. It provides a framework for creating command-line applications with ease. The package is widely used in various projects and allows developers to build interactive and user-friendly command-line tools. However, all versions of the commmander package contain malicious code that can exploit users who make a typing mistake when installing modules. Upon requiring the package, it attempts to start a cryptocurrency miner using coin-hive, a known mining software. This vulnerability poses a significant risk to users' systems as it can lead to unauthorized cryptocurrency mining, which can consume system resources and impact performance.

Vulnerability Detail

The vulnerability in the commmander package arises from the inclusion of malicious code that is designed to exploit user errors during module installation. When the package is required, it initiates a cryptocurrency miner using coin-hive. This means that if a user mistakenly types the name of the package as 'commmander' instead of 'commander', the malicious code will be executed, leading to unauthorized cryptocurrency mining on the user's system. The impact of this vulnerability includes increased CPU usage, reduced system performance, and potential financial losses due to the unauthorized mining of cryptocurrencies. 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 →

Workaround

There is no specific workaround mentioned for this vulnerability. However, users can prevent the exploitation of this vulnerability by being cautious while installing packages and ensuring the correct spelling of package names. Double-checking the package name before installation can help avoid mistakenly installing malicious packages.

Conclusion

The commmander package contains a critical vulnerability that allows for unauthorized cryptocurrency mining on users' systems. To mitigate this risk, it is crucial to remove the package from your environment and scan your system for any mining processes. Additionally, practicing caution during package installation and using trusted sources for package dependencies can help prevent similar vulnerabilities in the future. For further support and assistance in vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for commmander →

Share this vulnerability

FAQ

The commmander package is an npm package used for command-line interface (CLI) development. It provides a framework for creating interactive and user-friendly command-line applications.

The vulnerability allows for unauthorized cryptocurrency mining on the user's system, leading to increased CPU usage, reduced system performance, and potential financial losses.

To fix this vulnerability, it is recommended to remove the commmander package from your environment and scan your system for any mining processes or suspicious activities.

While there is no specific prevention method mentioned, users can avoid this vulnerability by being cautious during package installation and ensuring the correct spelling of package names.

Yes, there are alternative packages available for CLI development, such as commander (with one 'm' instead of two). It is recommended to use trusted and well-maintained packages from reputable sources.

Related vulnerabilities

Recent vulnerabilities recorded for commmander.

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