Skip to content
OpenAdvisories
Critical · 9.8 GHSA-76xq-58hj-vwm2

Malicious Package in test-module-a

Published Sep 11, 2020 · Updated Sep 30, 2021 · Assigned by GHSA

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 security@npmjs.com. Also enable 2FA for publishing to further secure packages you maintain.

Affected packages

EcosystemPackageAffectedFixedRecord
npm test-module-a all versions — GHSA-76xq-58hj-vwm2

References