Malicious Code Injection in uarg-mthai-suftaf Package
Summary
MAL-2025-169608: Malicious code in uarg-mthai-suftaf (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-suftaf package is part of the npm ecosystem, commonly 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.
Vulnerability Detail
The vulnerability in the uarg-mthai-suftaf 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 can lead to the pollution of the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses a risk to developers who may unknowingly use these packages, potentially leading to security breaches and loss of trust in the package management system.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uarg-mthai-suftaf
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
Currently, the best workaround is to avoid using the uarg-mthai-suftaf package altogether. If it is already in use, ensure to remove it and monitor your project for any unauthorized changes to your package.json file.
Conclusion
The uarg-mthai-suftaf package presents a significant security risk due to its malicious code that alters package metadata and publishes unauthorized variants. It is crucial for developers to remove this package and monitor their projects for any vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for uarg-mthai-suftaf →
FAQ
uarg-mthai-suftaf is an npm package associated with the tea.xyz token reward campaign, which has been linked to malicious activities in the npm ecosystem.
The vulnerability can lead to unauthorized modifications in your package.json file, potentially compromising your project's integrity and security.
You should uninstall the uarg-mthai-suftaf package immediately to prevent any malicious code from executing in your project.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.