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

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-11T21:16:59.000Z
- Modified: 2021-09-30T22:06:07.000Z
- Weaknesses: CWE-506

## 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.

(As written by GitHub Advisory Database.)

## Affected

- test-module-a (npm): all versions

## References

- <https://www.npmjs.com/advisories/929> (web)

## Sources

- GitHub Advisory Database: [GHSA-76xq-58hj-vwm2](https://github.com/advisories/GHSA-76xq-58hj-vwm2), CC-BY-4.0, modified 2021-09-30

---

Page: https://cve.day/GHSA-76xq-58hj-vwm2 · Whole record: https://cve.day/GHSA-76xq-58hj-vwm2.json · Rebuilt by cve.day 2026-11-25T22:56:44.492Z
