Malicious Code Injection in tehah-nadas-buta Package - npm Vulnerability
Summary
MAL-2025-169025: Malicious code in tehah-nadas-buta (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 tehah-nadas-buta package is part of the tea.xyz token reward campaign that has infiltrated the npm ecosystem. It is designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only affects the integrity of the npm registry but also poses a risk to developers who may unknowingly use these compromised packages.
Vulnerability Detail
The vulnerability in the tehah-nadas-buta package stems from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. This code generates random Indonesian-themed package names and continuously republishes variants, leading to pollution of the npm registry. The origin of this issue is linked to the tea.xyz token reward campaign, which incentivizes the creation of such malicious packages to inflate developer reputation scores.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tehah-nadas-buta
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 temporary workaround, you can avoid using the tehah-nadas-buta package and any of its derivatives. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities. You can access the Vulert playground at https://vulert.com/scanner to check if your application is affected by this vulnerability without needing to sign up.
Conclusion
The tehah-nadas-buta package poses a significant risk due to its malicious code that modifies package metadata and repopulates the npm registry with compromised packages. It is essential to remove this package and monitor your project for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for tehah-nadas-buta →
FAQ
The tehah-nadas-buta package is part of a malicious campaign that generates and publishes derivative npm packages to inflate developer reputation scores.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project by introducing malicious code.
You should remove the tehah-nadas-buta package from your project immediately and check for any other affected packages.
Yes, you can use Vulert to monitor your package-lock.json for open-source vulnerabilities in real-time.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.