Malicious Code Injection in uarfug-miu-sufi: A Threat to npm Packages
Summary
MAL-2025-169591: Malicious code in uarfug-miu-sufi (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-miu-sufi is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing a significant risk to the integrity of the npm registry.
Vulnerability Detail
The vulnerability in uarfug-miu-sufi originates from its involvement in a malicious campaign that employs autopublish scripts to generate and publish derivative packages with randomized names. This behavior modifies the package.json file by removing private flags, altering version numbers, and continuously republishing variants to pollute the npm registry. The ramifications include potential security risks for developers who unknowingly use these packages, as they may incorporate malicious code into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uarfug-miu-sufi
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 uarfug-miu-sufi package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity of packages before including them in your project.
Conclusion
The uarfug-miu-sufi package poses a significant security risk due to its malicious code designed to manipulate npm package metadata. It is essential for developers to remove this package from their projects and stay vigilant about the integrity of their dependencies. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in real-time.
See every vulnerability recorded for uarfug-miu-sufi →
FAQ
Uarfug-miu-sufi is an npm package that has been identified as part of a malicious campaign to manipulate package metadata and inflate developer reputation scores.
If your project uses the uarfug-miu-sufi package, it may inadvertently include malicious code that can compromise your application's security and integrity.
You should uninstall the uarfug-miu-sufi package immediately and update your dependencies to ensure your project is secure.
Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software using just the package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.