GHSA-g9wf-393q-4w38 Malicious Package in only-test-not-install
Malicious npm package deletes user test directory during installation, requiring immediate removal of the package.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is GHSA-g9wf-393q-4w38?
GHSA-g9wf-393q-4w38 is a vulnerability in only-test-not-install, published on 3 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by GHSA-g9wf-393q-4w38?
2 open source packages ship an affected version, including only-test-not-install.
| Package | Affected | Fixed in |
|---|---|---|
only-test-not-install npm | From 0.0.0 | None |
only-test-not-install npm | From 0.0.0 | None |
How do I fix GHSA-g9wf-393q-4w38?
No fix has been published for GHSA-g9wf-393q-4w38 yet. Limit exposure of the affected software until one is available.
Is GHSA-g9wf-393q-4w38 being exploited?
There is no known exploitation of GHSA-g9wf-393q-4w38 in the wild and no public exploit code.