Malicious Code Injection in uyau-tuyagdat-datut: A Threat to npm Packages
Summary
MAL-2025-170209: Malicious code in uyau-tuyagdat-datut (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 package 'uyau-tuyagdat-datut' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This campaign has been known to flood the npm registry with packages that contain malicious scripts designed to manipulate developer reputation scores. The package in question is designed to automatically generate and publish derivative packages with randomized names, which can lead to pollution of the npm registry and compromise the integrity of the ecosystem.
Vulnerability Detail
The vulnerability in 'uyau-tuyagdat-datut' stems from its malicious payload that modifies the package.json file by removing private flags and altering version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants. This behavior not only inflates developer reputation scores but also poses a risk of introducing untrusted code into projects that depend on these packages. The origin of this vulnerability is linked to the broader tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uyau-tuyagdat-datut
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 'uyau-tuyagdat-datut' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for any unauthorized changes to your package.json file.
Conclusion
The 'uyau-tuyagdat-datut' package poses a significant risk due to its malicious code designed to manipulate npm's publishing system. It is essential to remove this package from your projects and monitor for any unauthorized changes. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your dependencies.
See every vulnerability recorded for uyau-tuyagdat-datut →
FAQ
The vulnerability can lead to the introduction of untrusted code into your project, potentially compromising security and functionality.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
You should uninstall the package immediately and monitor your project for any unauthorized changes.
Yes, you should look for reputable packages that offer similar functionality but do not have known vulnerabilities.
Regularly audit your dependencies, use tools like Vulert for monitoring, and only install packages from trusted sources.