GitHub Advisoryadvisory · npm

GHSA-8hmr-w35f-3qgj Malicious Package in harmlesspackage

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

Description

Version 0.0.1 of `harmlesspackage` contains malicious code as a postinstall script. The package printed a message to the console and performed a GET request to a remote server. Recommendation Remove the package from your environment. There is no evidence of further compromise.

Related

Weakness · CWE (1)

  • CWE-506 Embedded Malicious Code weakness

References