Malicious Code Injection in uarg-mitahai-sufeua: A Threat to npm Ecosystem
Summary
MAL-2025-169594: Malicious code in uarg-mitahai-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 uarg-mitahai-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 of applications by providing reusable code. However, it has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages, thereby inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in uarg-mitahai-sufeua originates from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly incorporate these malicious packages into their projects. The autopublish scripts included in the package are designed to continuously republish variants, further polluting the registry and making it difficult for developers to identify legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uarg-mitahai-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 uarg-mitahai-sufeua package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time. You can access Vulert's playground at https://vulert.com/scanner to check if your application is affected by this vulnerability without requiring any signup.
Conclusion
The uarg-mitahai-sufeua package poses a significant threat to the npm ecosystem due to its malicious behavior. Developers are advised to remove this package from their projects and utilize tools like Vulert to monitor for vulnerabilities. Staying informed and proactive in managing dependencies is crucial for maintaining application security.
See every vulnerability recorded for uarg-mitahai-sufeua →
FAQ
uarg-mitahai-sufeua is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The vulnerability can lead to the inclusion of malicious code in your application, compromising its security and integrity.
You should uninstall the package immediately using the command npm uninstall uarg-mitahai-sufeua and check for any other affected dependencies.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time, providing alerts for any issues.
There is no patch for the uarg-mitahai-sufeua package itself, as it is recommended to remove it entirely from your project.