GitHub Advisoryadvisory · npm

GHSA-9hc2-w9gg-q6jw Malicious Package in boogeyman

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

Description

All versions of `boogeyman` are considered malicious. This particular package would download a payload from pastebin.com, eval it to read ssh keys and the users `.npmrc` and send them to a private pastebin account. Recommendation This package was published to the npm Registry for a very short period of time. If you happen to find it in your environment you should revoke and rotate your ssh keys and your npm token.

Related

Weakness · CWE (1)

  • CWE-506 Embedded Malicious Code weakness

References