Malicious Code Injection in uarfug-mitui-sufeua: A Threat to npm Ecosystem
Summary
MAL-2025-169584: Malicious code in uarfug-mitui-sufeua (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 uarfug-mitui-sufeua is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and distribution of JavaScript applications. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages designed to manipulate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in uarfug-mitui-sufeua arises from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is part of a broader scheme to automatically publish derivative packages, thereby 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 exploits npm's publishing mechanisms for malicious purposes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uarfug-mitui-sufeua
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 affected package and replace it with a trusted alternative. Additionally, you can monitor your project for any unauthorized changes to the package.json file and revert them if necessary.
Conclusion
The uarfug-mitui-sufeua package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package publishing. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for uarfug-mitui-sufeua →
FAQ
Uarfug-mitui-sufeua is an npm package that has been identified as malicious, designed to manipulate the npm registry for token rewards.
The vulnerability can lead to unauthorized changes in your project's dependencies, potentially compromising the security and integrity of your application.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without any signup.
If you find uarfug-mitui-sufeua in your project, uninstall it immediately using npm uninstall uarfug-mitui-sufeua and review your other dependencies for similar vulnerabilities.
Regularly update your dependencies, use tools like Vulert for monitoring, and audit your packages for known vulnerabilities.