Malicious Code Injection in uafagarug-mie-dtut Package
Summary
MAL-2025-169448: Malicious code in uafagarug-mie-dtut (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 uafagarug-mie-dtut package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that modifies its own package.json file and publishes variants to the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the uafagarug-mie-dtut package, which includes scripts that alter the package.json to remove private flags, change version numbers, and generate random package names. This behavior leads to the pollution of the npm registry and can compromise the integrity of applications relying on this package. The potential ramifications include unauthorized access to sensitive data and the introduction of further vulnerabilities into dependent applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uafagarug-mie-dtut
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 uafagarug-mie-dtut package and replace its functionality with a trusted alternative. Additionally, you can monitor your project for any unauthorized changes by regularly reviewing your package.json and package-lock.json files.
Conclusion
The uafagarug-mie-dtut package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package from your projects and monitor for any unauthorized changes to maintain the integrity of your applications.
See every vulnerability recorded for uafagarug-mie-dtut →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to unauthorized modifications in your application's dependencies, potentially compromising security and stability.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can also check your application using the Vulert playground without any signup.
You should uninstall the uafagarug-mie-dtut package immediately and review your project for any unauthorized changes.
Yes, consider using well-known and trusted packages that provide similar functionality without the associated risks.