# GHSA-g9wf-393q-4w38: Malicious Package in only-test-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:28:26.000Z
- Modified: 2021-09-30T17:44:24.000Z
- Weaknesses: CWE-506

## Description

All versions of `only-test-not-install` contain malicious code. The package deletes the folder `~/test` from the system as a postinstall script.


## Recommendation

Remove the package from your environment. There are no further signs of compromise.

(As written by GitHub Advisory Database.)

## Affected

- only-test-not-install (npm): from 0.0.0

## References

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

## Sources

- GitHub Advisory Database: [GHSA-g9wf-393q-4w38](https://github.com/advisories/GHSA-g9wf-393q-4w38), CC-BY-4.0, modified 2021-09-30

---

Page: https://cve.day/GHSA-g9wf-393q-4w38 · Whole record: https://cve.day/GHSA-g9wf-393q-4w38.json · Rebuilt by cve.day 2026-11-25T22:56:45.412Z
