Malicious Code Injection in tehah-kalian-bauta Package - npm Vulnerability
Summary
MAL-2025-168959: Malicious code in tehah-kalian-bauta (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-kalian-bauta package is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The package's functionality is compromised due to the presence of malicious scripts that manipulate package metadata.
Vulnerability Detail
This vulnerability originates from the malicious code embedded within the tehah-kalian-bauta package. The code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tehah-kalian-bauta
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, you can avoid using the tehah-kalian-bauta package and any other packages associated with the tea.xyz token reward campaign. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The tehah-kalian-bauta package presents a significant security risk due to its malicious code that alters package metadata and repopulates the npm registry with compromised packages. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain security and integrity.
See every vulnerability recorded for tehah-kalian-bauta →
FAQ
The tehah-kalian-bauta package is part of a series of npm packages linked to the tea.xyz token reward campaign, designed to inflate developer reputation scores.
The vulnerability can lead to the modification of your package.json file, potentially compromising your project's integrity and security.
If you have installed the package, you should uninstall it immediately using the command npm uninstall tehah-kalian-bauta.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.