Malicious Code Injection in uyafu-tuyadat-datut Package: A Threat to npm Ecosystem
Summary
MAL-2025-170202: Malicious code in uyafu-tuyadat-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 uyafu-tuyadat-datut package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. The primary function of this package is to generate and publish derivative packages, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the uyafu-tuyadat-datut package originates from its association with a malicious campaign that aims to inflate developer reputation scores for token rewards. The malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random package names, which leads to the continuous republishing of these variants. This not only pollutes the npm registry but also poses a risk to developers who may unknowingly install these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uyafu-tuyadat-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 workaround, you can manually check your package-lock.json file for any references to uyafu-tuyadat-datut and remove it. You can use the following command to uninstall the package: npm uninstall uyafu-tuyadat-datut.
Conclusion
The uyafu-tuyadat-datut package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and repopulates the registry with compromised packages. It is crucial for developers to be vigilant and remove this package from their projects to safeguard their applications.
See every vulnerability recorded for uyafu-tuyadat-datut →
FAQ
The uyafu-tuyadat-datut package is a JavaScript package in the npm ecosystem that has been linked to a malicious campaign aimed at inflating developer reputation scores.
If your application uses the uyafu-tuyadat-datut package, it may be at risk of installing malicious code that can compromise your application's security and integrity.
You should uninstall the uyafu-tuyadat-datut package immediately to prevent any potential security risks.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.