Malicious Code Injection in uafagarug-midafoi-sut Package
Summary
MAL-2025-169433: Malicious code in uafagarug-midafoi-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 uafagarug-midafoi-sut package is part of the npm ecosystem, often associated with token reward campaigns. It is designed to facilitate the distribution of software packages, but it has been compromised to include malicious scripts that manipulate package metadata. This vulnerability allows attackers to exploit the package for nefarious purposes, such as inflating developer reputation scores through automated publishing of derivative packages.
Vulnerability Detail
The vulnerability originates from malicious code embedded within the uafagarug-midafoi-sut package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The ramifications include potential security risks for developers using the package, as well as damage to the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uafagarug-midafoi-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 remove the uafagarug-midafoi-sut package from your project by executing the command: npm uninstall uafagarug-midafoi-sut. This will prevent any malicious activity associated with the package until a secure version is released.
Conclusion
The uafagarug-midafoi-sut package has been identified as containing malicious code that poses significant risks to developers and the npm ecosystem. It is crucial to take immediate action by updating or removing the package to safeguard your projects.
See every vulnerability recorded for uafagarug-midafoi-sut →
FAQ
It is an npm package that has been compromised to include malicious code aimed at manipulating package metadata and inflating developer reputation scores.
The malicious code can lead to the automatic generation and publishing of derivative packages, which can clutter the npm registry and pose security risks to your project.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
If an immediate update is not possible, consider uninstalling the package as a temporary measure to mitigate risks.
Detailed information can be found in the vulnerability report and on platforms like Vulert that provide insights into open-source vulnerabilities.