Malicious Code Injection in uaragifa-afaoti-uto Package: A Threat to npm Users
Summary
MAL-2025-169502: Malicious code in uaragifa-afaoti-uto (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 uaragifa-afaoti-uto package is part of the npm ecosystem, primarily used for JavaScript development. It is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious packages flooding the npm registry. These packages are designed to manipulate developer reputation scores by automatically publishing derivative packages with randomized names, thereby compromising the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the uaragifa-afaoti-uto package stems from its malicious code that 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 pollute the npm registry. This behavior not only affects the reputation of developers but also poses a risk of dependency confusion and potential exploitation 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 uaragifa-afaoti-uto
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 uaragifa-afaoti-uto package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file using tools like Vulert to detect any vulnerabilities in real-time.
Conclusion
The uaragifa-afaoti-uto package poses a significant risk to npm users due to its malicious code designed to manipulate package integrity and developer reputation. Immediate action is required to remove this package and monitor for any further vulnerabilities using tools like Vulert.
See every vulnerability recorded for uaragifa-afaoti-uto →
FAQ
The uaragifa-afaoti-uto package is an npm package linked to the tea.xyz token reward campaign, which has been identified as malicious.
The malicious code modifies your package.json file, removes private flags, and can lead to dependency confusion, potentially compromising your application's security.
You should uninstall the uaragifa-afaoti-uto package immediately using 'npm uninstall uaragifa-afaoti-uto' and monitor your project for any further vulnerabilities.
Yes, tools like Vulert can help monitor your package-lock.json file for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.