# GHSA-8hq2-fcqm-39hq: Malicious Package in rimrafall

- 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-02T21:46:05.000Z
- Modified: 2021-09-30T21:57:22.000Z
- Weaknesses: CWE-506

## Description

Version 1.0.0 of `rimrafall` contains malicious code as a preinstall script. The package attempts to remove all files in the system's root folder.


## Recommendation

If you installed this package it is likely your machine was erased. If not, remove the package from your system and verify if any files were deleted.

(As written by GitHub Advisory Database.)

## Affected

- rimrafall (npm): all versions

## References

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

## Sources

- GitHub Advisory Database: [GHSA-8hq2-fcqm-39hq](https://github.com/advisories/GHSA-8hq2-fcqm-39hq), CC-BY-4.0, modified 2021-09-30

---

Page: https://cve.day/GHSA-8hq2-fcqm-39hq · Whole record: https://cve.day/GHSA-8hq2-fcqm-39hq.json · Rebuilt by cve.day 2026-11-25T22:56:44.741Z
