Malicious Code Injection in uarg-mithai-sufeua: A Threat to npm Users
Summary
MAL-2025-169599: Malicious code in uarg-mithai-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-mithai-sufeua is part of a series of npm packages that emerged during 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 not only clutters the npm registry but also poses significant security risks to users who may unknowingly install compromised packages.
Vulnerability Detail
The vulnerability in uarg-mithai-sufeua originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This allows the package to continuously republish variants, polluting the npm registry and potentially leading to the installation of malicious code by unsuspecting developers. The impact of this vulnerability includes compromised systems, data breaches, and a loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uarg-mithai-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-mithai-sufeua package and consider using alternative packages that provide similar functionality without the associated risks. Always review package dependencies and their reputations before installation.
Conclusion
The uarg-mithai-sufeua package poses a significant security risk due to its malicious behavior aimed at manipulating the npm registry. It is crucial for developers to be vigilant about the packages they use and to take immediate action to remove any compromised packages. Regular monitoring and updates can help mitigate such vulnerabilities.
See every vulnerability recorded for uarg-mithai-sufeua →
FAQ
uarg-mithai-sufeua is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the installation of malicious code, compromising your project's security and potentially leading to data breaches.
You should uninstall the package immediately using 'npm uninstall uarg-mithai-sufeua' and check your project for any other compromised dependencies.
You can use tools like Vulert, which monitors and alerts 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 this vulnerability without requiring any signup.