GitHub Advisoryadvisory · npm

GHSA-g9wf-393q-4w38 Malicious Package in only-test-not-install

CRITICAL Published 2020-09-03 Modified 2021-09-30 Official page ↗
Ecosystem
npm
Packages
only-test-not-install
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 only-test-not-install: >= 0.0.0 (no fix yet)

Description

All versions of `only-test-not-install` contain malicious code. The package deletes the folder `~/test` from the system as a postinstall script. Recommendation Remove the package from your environment. There are no further signs of compromise.

Related

Weakness · CWE (1)

  • CWE-506 Embedded Malicious Code weakness

References