Malicious Code Injection in uafagarug-midef-fatut Package
Summary
MAL-2025-169438: Malicious code in uafagarug-midef-fatut (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-midef-fatut package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality is compromised by the presence of malicious code that alters package metadata.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the uafagarug-midef-fatut package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of these variants. The primary risk includes the pollution of the npm registry and potential exploitation of developer reputation systems, which can undermine trust in the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uafagarug-midef-fatut
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 remove the uafagarug-midef-fatut package from your project by executing 'npm uninstall uafagarug-midef-fatut'. This will prevent the malicious code from executing until a secure version is available.
Conclusion
The uafagarug-midef-fatut package contains malicious code that poses significant risks to developers and the npm ecosystem. Immediate action is required to mitigate these risks by updating or removing the package. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in real-time.
See every vulnerability recorded for uafagarug-midef-fatut →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, potentially leading to the pollution of the npm registry and exploitation of developer reputation systems.
You should uninstall the package immediately and monitor for any updates or patches that address the vulnerability.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest secure versions.