Malicious Code Injection in tehah-mdansda-bauta Package
Summary
MAL-2025-168993: Malicious code in tehah-mdansda-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-mdansda-bauta package is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, making the package a target for malicious exploitation.
Vulnerability Detail
The vulnerability in the tehah-mdansda-bauta package originates from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants, leading to pollution of the npm registry. This can result in security risks for developers who may unknowingly install these malicious packages, compromising their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tehah-mdansda-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 temporary workaround, you can avoid using the tehah-mdansda-bauta package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your dependencies using tools like npm audit to identify and mitigate risks from malicious packages.
Conclusion
The tehah-mdansda-bauta package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to be vigilant about their dependencies and take immediate action to remove any affected packages to safeguard their projects.
See every vulnerability recorded for tehah-mdansda-bauta →
FAQ
The tehah-mdansda-bauta package is an npm package linked to a token reward campaign that manipulates the npm registry.
The vulnerability can lead to the installation of malicious code, compromising your project's security and integrity.
You should uninstall the package immediately and check your project for any dependencies that may have been affected.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.