GitHub Advisoryadvisory · npm

GHSA-76xq-58hj-vwm2 Malicious Package in test-module-a

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

Description

All versions of `test-module-a` contain malicious code as a preinstall script. The package fetches all names of npm packages owned by the user and attempts to add another maintainer to every package as a means of package hijacking, Recommendation Remove the package from your system. If you own any packages that were compromised please contact npm security immediately at [email protected]. Also enable 2FA for publishing to further secure packages you maintain.

Related

Weakness · CWE (1)

  • CWE-506 Embedded Malicious Code weakness

References