Malicious Code Injection in uyafru-tuit-dutut Package: npm Vulnerability
Summary
MAL-2025-170182: Malicious code in uyafru-tuit-dutut (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 uyafru-tuit-dutut 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 rewards within the tea protocol ecosystem. However, this package has been identified as containing malicious code that compromises its integrity.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting other developers and their projects. The malicious scripts (auto.js, autopublish.js, etc.) are designed to automate this process, making it difficult for users to detect the malicious activity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uyafru-tuit-dutut
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 measure, you can avoid using the uyafru-tuit-dutut package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your package dependencies using tools like npm audit.
Conclusion
The uyafru-tuit-dutut 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 remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their projects.
See every vulnerability recorded for uyafru-tuit-dutut →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to manipulate the npm registry.
The malicious code can compromise your project's integrity by modifying package files and republishing variants, potentially leading to reputation damage.
You should remove the uyafru-tuit-dutut package from your project immediately and monitor your dependencies for any other vulnerabilities.
Yes, you can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.