Malicious Code Detected in tahoe-tap Package - Immediate Action Required
Summary
MAL-2026-1387: Malicious code in tahoe-tap (npm). Affected versions are not published. 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 tahoe-tap package is an npm module that is intended for use in JavaScript applications. It is designed to provide specific functionalities that developers can leverage in their projects. However, this package has been identified as malicious, executing harmful code during installation through a preinstall script in its package.json file. This vulnerability poses significant risks to any system that has the package installed.
Vulnerability Detail
The tahoe-tap package contains embedded malicious code that executes automatically when the package is installed. This vulnerability originated from the package's preinstall script, which can compromise the entire system. Any computer running this package should be considered fully compromised, as it may allow unauthorized access to sensitive information, including secrets and keys. The malicious nature of this code is classified under CWE-506, indicating that it contains code that appears to be malicious in nature.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tahoe-tap
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
There are no effective workarounds for this vulnerability other than removing the package entirely. It is essential to ensure that the system is secure and that no remnants of the malicious code remain.
Conclusion
The tahoe-tap package has been identified as a malicious threat, executing harmful code upon installation. Immediate uninstallation is necessary to protect your system and sensitive data. Regular monitoring of your dependencies is recommended to avoid similar vulnerabilities in the future.
See every vulnerability recorded for tahoe-tap →
FAQ
You should uninstall the tahoe-tap package immediately using the command: npm uninstall tahoe-tap.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
Keeping tahoe-tap installed poses significant risks, including unauthorized access to sensitive information and potential system compromise.
After removing the package, you should rotate all secrets and keys stored on the affected system to mitigate any potential damage.
While many npm packages are safe, it is crucial to monitor and audit them regularly for vulnerabilities. Tools like Vulert can help in real-time monitoring.