Malicious Code Injection in uarg-mthai-suff Package: A Threat to npm Users
Summary
MAL-2025-169607: Malicious code in uarg-mthai-suff (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-suff package is part of the npm ecosystem, primarily used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that aims to exploit npm's package management system. This package, like others in the campaign, is designed to inflate developer reputation scores through the automatic generation and publication of derivative packages.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the uarg-mthai-suff package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The malicious payload continuously republishes these variants, 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 has flooded npm with similar malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uarg-mthai-suff
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-suff package and any other packages that are part of the tea.xyz campaign. Regularly audit your npm packages using 'npm audit' to identify and address vulnerabilities.
Conclusion
The uarg-mthai-suff package poses a significant risk to npm users due to its malicious code designed to manipulate package metadata and publish unauthorized variants. It is essential to uninstall this package and monitor your dependencies for vulnerabilities to maintain the integrity of your projects.
See every vulnerability recorded for uarg-mthai-suff →
FAQ
uarg-mthai-suff is an npm package that has been identified as part of a malicious campaign aimed at exploiting the npm registry.
The malicious code modifies your package.json file, potentially leading to the publication of unauthorized packages and compromising your project's integrity.
You should uninstall the uarg-mthai-suff package immediately and monitor your project for any other vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring access to your code.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.