GHSA-4xg9-g7qj-jhg4 Malicious Package in comander

Not scored Published

Malicious npm package executes cryptocurrency miner code upon installation, requiring users to remove the package and check for unauthorized processes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is GHSA-4xg9-g7qj-jhg4?

GHSA-4xg9-g7qj-jhg4 is a vulnerability in comander, published on 3 Sep 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

All versions of comander contains malicious code . The package is malware designed to take advantage of users making a mistake when typing the name of a module to install. Upon require the package attempts to start a cryptocurrency miner using coin-hive.

Recommendation

Remove the package from your environment and verify whether your system is running the cryptocurrency miner.

Which versions are affected by GHSA-4xg9-g7qj-jhg4?

2 open source packages ship an affected version, including comander.

PackageAffectedFixed in
comander npmFrom 0.0.0None
comander npmFrom 0.0.0None

How do I fix GHSA-4xg9-g7qj-jhg4?

No fix has been published for GHSA-4xg9-g7qj-jhg4 yet. Limit exposure of the affected software until one is available.

Is GHSA-4xg9-g7qj-jhg4 being exploited?

There is no known exploitation of GHSA-4xg9-g7qj-jhg4 in the wild and no public exploit code.

Sources

Is GHSA-4xg9-g7qj-jhg4 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free