GitHub Advisoryadvisory · npm

GHSA-49c6-3wr4-8jr4 Malicious Package in malicious-npm-package

CRITICAL Published 2020-09-04 Modified 2021-10-01 Official page ↗
Ecosystem
npm
Packages
malicious-npm-package
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-506
Reviewed
2020-08-31

Affected packages

• npm malicious-npm-package: >= 0.0.0 (no fix yet)

Description

All versions of `malicious-npm-package` contain malicious code. The malware targets Windows systems. It runs a powershell command that downloads an executable file from a remote server and runs it. Recommendation Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Related

Weakness · CWE (1)

  • CWE-506 Embedded Malicious Code weakness

References