Malicious Code Injection in uafaarug-mifi-sut: A Threat to npm Packages
Summary
MAL-2025-169429: Malicious code in uafaarug-mifi-sut (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 'uafaarug-mifi-sut' is part of a broader campaign that exploits npm's package management system. It is designed to facilitate token reward schemes by automatically generating and publishing derivative packages. This behavior not only inflates developer reputation scores but also poses significant risks to the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'uafaarug-mifi-sut' originates from its association with the tea.xyz token reward campaign. The package contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This leads to the continuous republishing of variants, which pollutes the npm registry and can potentially compromise the security of applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uafaarug-mifi-sut
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 'uafaarug-mifi-sut' package altogether. If it is already in use, consider replacing it with an alternative package that provides similar functionality without the associated risks.
Conclusion
The 'uafaarug-mifi-sut' package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to be vigilant and remove this package from their projects to maintain the integrity of their applications.
See every vulnerability recorded for uafaarug-mifi-sut →
FAQ
The main issue is that it contains malicious code that modifies package.json and republish variants to inflate developer reputation scores.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
It is advisable to remove the package immediately and check for any dependencies that may have been affected.
While specific exploits have not been detailed, the malicious behavior of the package can lead to security risks and instability in applications.
Yes, you can report vulnerabilities to the maintainers of the package or through platforms like GitHub to help improve the security of the ecosystem.