# GHSA-6879-xr95-5gf4: Malicious Package in malicious-do-not-install

- 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-03T17:20:15.000Z
- Modified: 2021-09-30T17:16:35.000Z
- Weaknesses: CWE-506

## Description

All versions of `malicious-do-not-install` contain malicious code. The package copies the contents of `/etc/passwd` and `/etc/shadow` to files in the local `/tmp/` folder.


## Recommendation

Remove the package from your environment and rotate affected credentials.

(As written by GitHub Advisory Database.)

## Affected

- malicious-do-not-install (npm): from 0.0.0

## References

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

## Sources

- GitHub Advisory Database: [GHSA-6879-xr95-5gf4](https://github.com/advisories/GHSA-6879-xr95-5gf4), CC-BY-4.0, modified 2021-09-30

---

Page: https://cve.day/GHSA-6879-xr95-5gf4 · Whole record: https://cve.day/GHSA-6879-xr95-5gf4.json · Rebuilt by cve.day 2026-11-25T22:56:44.324Z
