Malicious Code Injection in uarg-mthai-sufua: A Threat to npm Ecosystem
Summary
MAL-2025-169610: Malicious code in uarg-mthai-sufua (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-mthai-sufua is part of a series of npm packages that have been linked to a token reward campaign by tea.xyz. These packages are designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names, thereby inflating developer reputation scores for token rewards. This behavior poses a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in uarg-mthai-sufua stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and creates random package names. This allows the package to continuously republish variants, polluting the npm registry and potentially leading to security issues for developers who unknowingly use these compromised packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which has been known to flood the npm registry with such malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uarg-mthai-sufua
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 uarg-mthai-sufua package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your package dependencies using tools like npm audit to identify any vulnerabilities.
Conclusion
The uarg-mthai-sufua package poses a significant risk due to its malicious behavior aimed at manipulating the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their projects.
See every vulnerability recorded for uarg-mthai-sufua →
FAQ
uarg-mthai-sufua is an npm package that has been identified as part of a malicious campaign to manipulate the npm registry.
The vulnerability can lead to the pollution of the npm registry, potentially introducing security risks and unstable dependencies into your project.
You should remove the uarg-mthai-sufua package from your project immediately and monitor your dependencies for any further vulnerabilities.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time using 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 needing to sign up.