Malicious Code Injection in uarg-mthai-sufatiaf Package
Summary
MAL-2025-169605: Malicious code in uarg-mthai-sufatiaf (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-mthai-sufatiaf package is part of the npm ecosystem, often used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. This package, like others in the campaign, is designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names.
Vulnerability Detail
The vulnerability in the uarg-mthai-sufatiaf package stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, which leads to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uarg-mthai-sufatiaf
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 workaround, you can temporarily avoid using the uarg-mthai-sufatiaf package by removing it from your dependencies. If you need similar functionality, consider using alternative packages that are known to be secure.
Conclusion
The uarg-mthai-sufatiaf package contains malicious code that poses significant risks to developers and their projects. It is essential to remove this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for uarg-mthai-sufatiaf →
FAQ
The uarg-mthai-sufatiaf package is an npm package associated with the tea.xyz token reward campaign, which has been flagged for malicious behavior.
This vulnerability can lead to the pollution of your project's dependencies, potentially introducing further security risks and affecting your project's integrity.
If you have installed the uarg-mthai-sufatiaf package, it is crucial to remove it immediately and check for any other affected packages in your project.
Yes, tools like Vulert can monitor your package-lock.json file to alert you in real-time for open-source vulnerabilities, ensuring your application remains secure.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.