GHSA-2hqf-qqmq-pgppCriticalCVSS 9.8Disclosed before NVD

Malicious Package in commander-js

Published
September 2, 2020
Last Modified
January 9, 2023

📋 Description

All versions of commander-js are considered malicious. The package is malware designed to take advantage of users making a mistake when typing the name of a module to install. When installed, the package downloads an arbitrary file and executes its contents as a post-install script.

Recommendation

This package is not available on the npm Registry anymore. If you happen to find this package in your environment you should consider the system it was installed on compromised and assess if further response (such as rotating all credentials found on the compromised machine) is necessary.

🎯 Affected products1

  • npm/commander-js:>= 0.0.0

🔗 References (2)