Vulnerability DatabaseGHSA-g9wf-393q-4w38

GHSA-g9wf-393q-4w38
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-g9wf-393q-4w38) affects the npm package 'only-test-not-install' and was identified as a malicious package containing harmful code. The issue was discovered and reviewed on August 31, 2020, published to the GitHub Advisory Database on September 3, 2020, and last updated on January 9, 2023. All versions of the package (>= 0.0.0) are affected, and there are no patched versions available (GitHub Advisory).

Technical details

The vulnerability has been assigned a Critical severity rating with a CVSS score of 9.8. The CVSS v3 base metrics indicate Network attack vector, Low attack complexity, No privileges required, No user interaction needed, Unchanged scope, and High impact on Confidentiality, Integrity, and Availability. The vulnerability is classified under CWE-506. The malicious package executes a postinstall script that deletes the ~/test folder from the system (GitHub Advisory).

Impact

The malicious package has a severe impact on system integrity by deleting the ~/test directory during installation. This unauthorized file deletion can potentially cause data loss and system disruption. The high CVSS metrics for Confidentiality, Integrity, and Availability indicate significant potential impact on affected systems (GitHub Advisory).

Exploitability

The vulnerability is easily exploitable with network access, requiring low attack complexity and no special privileges or user interaction. The attack vector is classified as Network, making it remotely exploitable (GitHub Advisory).

Mitigation and workarounds

The recommended mitigation is to completely remove the package from the environment. No alternative patches or workarounds are available, as all versions are affected. After removal, there are no further signs of compromise that need to be addressed (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-55157HIGH8.4
  • JavaScript logoJavaScript
  • @ooples/token-optimizer-mcp
NoYesAug 14, 2026
CVE-2026-35219HIGH7.1
  • JavaScript logoJavaScript
  • @budibase/server
NoYesAug 14, 2026
CVE-2026-55156MEDIUM5.3
  • JavaScript logoJavaScript
  • @ooples/token-optimizer-mcp
NoYesAug 14, 2026
CVE-2026-50029MEDIUM5.3
  • JavaScript logoJavaScript
  • js-toml
NoYesAug 14, 2026
CVE-2026-73428MEDIUM4.6
  • JavaScript logoJavaScript
  • trix
NoYesAug 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management