Malicious Code Injection in uarug-miuafi-suati: A Threat to npm Packages
Summary
MAL-2025-169624: Malicious code in uarug-miuafi-suati (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 uarug-miuafi-suati is part of a broader campaign targeting the npm ecosystem, specifically designed to exploit developer reputation systems. It is associated with the tea.xyz token reward initiative, which has led to the proliferation of numerous derivative packages. These packages often contain scripts that automatically generate and publish new variants, thereby inflating reputation scores for token rewards. The malicious nature of this package lies in its ability to modify critical files and republish itself under various names.
Vulnerability Detail
The vulnerability in uarug-miuafi-suati originates from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to clutter the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also poses a risk to developers who may unknowingly install these malicious packages, leading to potential security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uarug-miuafi-suati
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 measure, you can avoid using the uarug-miuafi-suati package and any of its derivatives. Regularly audit your package-lock.json file to identify and remove any potentially malicious packages. You can also utilize tools like Vulert to monitor your dependencies for vulnerabilities.
Conclusion
The uarug-miuafi-suati package poses a significant threat to the npm ecosystem due to its malicious code that modifies package files and republish variants. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to ensure their applications are secure.
See every vulnerability recorded for uarug-miuafi-suati →
FAQ
uarug-miuafi-suati is an npm package that has been identified as malicious, part of a campaign to exploit npm's package management system.
If your application uses the uarug-miuafi-suati package, it may be at risk of having its integrity compromised, leading to potential security breaches.
You should uninstall the uarug-miuafi-suati package immediately and audit your project for any other potentially malicious packages.
Regularly update your dependencies, use tools like Vulert to monitor for vulnerabilities, and audit your package-lock.json file frequently.
Vulert is a tool that monitors and alerts you in real-time for open-source vulnerabilities in your software using just the package-lock.json file. You can check for vulnerabilities without any installation or signup.