Malicious Code Injection in uarg-mitaiahai-sufeua: A Threat to npm Packages
Summary
MAL-2025-169595: Malicious code in uarg-mitaiahai-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 uarg-mitaiahai-sufeua is part of a broader campaign targeting the npm ecosystem, specifically linked to the tea.xyz token reward initiative. This package is designed to automate the generation and publication of derivative packages, often with randomized names, which can inflate developer reputation scores for token rewards. Its functionality is compromised by malicious scripts that alter package metadata.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the uarg-mitaiahai-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 tied to a campaign that exploits npm's publishing mechanisms, posing risks such as reputation damage for developers and potential security threats for users of affected packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uarg-mitaiahai-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, avoid using the uarg-mitaiahai-sufeua package and monitor your dependencies regularly. You can also utilize tools like Vulert to check for vulnerabilities in your package-lock.json file. For example, you can visit the Vulert playground at https://vulert.com/scanner to see if your application is affected by this vulnerability without needing to sign up.
Conclusion
The uarg-mitaiahai-sufeua package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to take immediate action by removing this package and monitoring their dependencies for similar vulnerabilities.
See every vulnerability recorded for uarg-mitaiahai-sufeua →
FAQ
uarg-mitaiahai-sufeua is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through automated package publishing.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your application and affecting its reputation.
You should uninstall the uarg-mitaiahai-sufeua package immediately and monitor your dependencies for any other malicious packages.
You can use tools like Vulert, which allows you to monitor and alert for open-source vulnerabilities in your software by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by vulnerabilities without requiring an account.