Malicious Code Injection in uarfug-mitauhai-sufeua: A Threat to npm Packages
Summary
MAL-2025-169578: Malicious code in uarfug-mitauhai-sufeua (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 'uarfug-mitauhai-sufeua' is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior poses a significant risk to the integrity of the npm registry and the security of applications relying on these packages.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the 'uarfug-mitauhai-sufeua' package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The origin of this issue is linked to the tea.xyz token reward campaign, which employs autopublish scripts to automate the creation of these harmful packages. The ramifications include potential security breaches, dependency confusion, and the degradation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uarfug-mitauhai-sufeua
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 'uarfug-mitauhai-sufeua' package and any other packages associated with the tea.xyz campaign. Regularly audit your dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The 'uarfug-mitauhai-sufeua' package poses a significant threat due to its malicious code designed to manipulate npm packages. It is essential to remove this package and monitor your dependencies for vulnerabilities to maintain the security of your applications.
See every vulnerability recorded for uarfug-mitauhai-sufeua →
FAQ
It is an npm package linked to the tea.xyz token reward campaign, which is known for generating malicious packages.
It can lead to security breaches, dependency confusion, and the potential for malicious code execution within your application.
You should uninstall the package immediately and check for any other affected packages in your project.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without any signup.