Malicious Code Injection in uarg-mitauiahai-sufeua Package
Summary
MAL-2025-169597: Malicious code in uarg-mitauiahai-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 uarg-mitauiahai-sufeua 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 compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the uarg-mitauiahai-sufeua package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which can lead to the pollution of the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which employs autopublish scripts to automate the creation of these malicious packages. The ramifications include potential exposure of sensitive data, unauthorized access to systems, and the degradation of the npm ecosystem's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uarg-mitauiahai-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 workaround, you can avoid using the uarg-mitauiahai-sufeua package and replace it with a trusted alternative that provides similar functionality. Always validate the source and integrity of packages before including them in your project.
Conclusion
The uarg-mitauiahai-sufeua package poses a significant security risk due to its malicious code that alters package configurations and pollutes the npm registry. It is essential to remove this package from your project and monitor your dependencies for vulnerabilities using tools like Vulert.
See every vulnerability recorded for uarg-mitauiahai-sufeua →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation of derivative packages.
The malicious code can modify your package.json, remove private flags, and publish unauthorized packages, potentially compromising your project's security.
You can use the Vulert platform, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
You should uninstall the uarg-mitauiahai-sufeua package immediately and review your project's dependencies for any other vulnerabilities.
There is no patch for the uarg-mitauiahai-sufeua package itself; the best course of action is to remove it and replace it with a secure alternative.