Critical Malicious Code Vulnerability in dont-go Package
Summary
MAL-2025-190957: Malicious code in dont-go (npm). Affects dont-go versions 1.1.2. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The dont-go package is an npm library designed for specific functionalities within JavaScript applications. It is utilized by developers for its ease of integration and utility in various projects. However, it has been found to contain malicious code that compromises the security of systems where it is installed.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the dont-go package, identified by the aliases GHSA-84rh-wv6h-wp3f. This malicious code can fully compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The presence of this code poses a significant risk, as it may not be completely removed even after uninstalling the package, leaving systems vulnerable to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dont-go
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a workaround, it is recommended to uninstall the dont-go package using the command: npm uninstall dont-go. Additionally, ensure to monitor your system for any unusual activity and consider using security tools to scan for any remaining malicious software.
Conclusion
The dont-go package has been identified as containing malicious code that poses a serious security risk. Immediate action is required to remove the package and secure any sensitive information. Regular monitoring and vulnerability assessments are recommended to maintain system integrity.
See every vulnerability recorded for dont-go →
FAQ
The dont-go package is an npm library used in JavaScript applications, but it has been compromised with malicious code.
If you have the dont-go package installed, your system may be compromised. It is advisable to remove the package and rotate any sensitive information.
You should rotate all secrets and keys from a different, secure machine immediately after removing the dont-go package.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.