Malicious Code Injection in uarg-mthai-suftiaf: A Threat to npm Packages
Summary
MAL-2025-169609: Malicious code in uarg-mthai-suftiaf (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
uarg-mthai-suftiaf is an npm package that has been identified as part of a malicious campaign targeting the npm ecosystem. This package is associated with the tea.xyz token reward initiative, which has been known to flood the npm registry with derivative packages. The primary function of this package, like others in the campaign, is to manipulate npm's publishing system to inflate developer reputation scores through automated scripts.
Vulnerability Detail
The vulnerability in uarg-mthai-suftiaf arises from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to continuously republish variants of the package, polluting the npm registry and potentially compromising the integrity of other packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which employs autopublish scripts to automate the creation and publication of these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uarg-mthai-suftiaf
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 workaround, you can avoid using the uarg-mthai-suftiaf package and monitor your project for any dependencies that may indirectly rely on it. You can also use tools like Vulert to monitor your package-lock.json file for vulnerabilities. To check if your application is affected by this vulnerability, visit the Vulert playground at https://vulert.com/scanner without needing to sign up.
Conclusion
The uarg-mthai-suftiaf package poses a significant threat due to its malicious code designed to manipulate the npm registry. It is crucial to remove this package and monitor your dependencies regularly to maintain the security of your projects.
See every vulnerability recorded for uarg-mthai-suftiaf →
FAQ
uarg-mthai-suftiaf is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project and other packages.
You should uninstall the uarg-mthai-suftiaf package immediately and monitor your project for any other affected dependencies.
Yes, Vulert can monitor your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by vulnerabilities without needing to sign up.