GitHub Advisoryadvisory · npm

GHSA-cr5w-6rv4-r2qg Malicious Package in maleficent

CRITICAL Published 2020-09-03 Modified 2021-09-30 Official page ↗
Ecosystem
npm
Packages
maleficent
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 maleficent: all versions (no fix yet)

Description

All versions of `maleficent` contain malicious code. The package is a demonstration of possible risks when installing npm packages. It gathers system information such as: environment variables, OS information, network interface, AWS credentials, npm credentials and ssh keys. The package prints the information to a local file but does not upload it to a remote server. Recommendation Remove the package from your environment. There is no further compromise.

Related

Weakness · CWE (1)

  • CWE-506 Embedded Malicious Code weakness

References