Malicious Code Injection in ugifa-afaoti-uto Package - npm Vulnerability
Summary
MAL-2025-169702: Malicious code in ugifa-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 ugifa-afaoti-uto package is part of a series of npm packages that have been linked to the tea.xyz token reward campaign. These packages are designed to manipulate the npm registry by generating and publishing numerous derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for token rewards, making the package a potential threat to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the ugifa-afaoti-uto package arises from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to clutter the npm registry. This not only compromises the security of the affected applications but also undermines the reliability of the npm ecosystem as a whole.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ugifa-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 measure, consider using a package-lock.json file to lock your dependencies and prevent the installation of the vulnerable package. You can also monitor your project for vulnerabilities using tools like Vulert, which can alert you in real-time without requiring code access or installation.
Conclusion
The ugifa-afaoti-uto package poses a significant threat due to its malicious behavior aimed at manipulating the npm registry. It is crucial for developers to be vigilant, remove any affected packages, and utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for ugifa-afaoti-uto →
FAQ
The ugifa-afaoti-uto package is an npm package linked to a token reward campaign that generates and publishes numerous derivative packages to inflate developer reputation scores.
This vulnerability can compromise the integrity of your application by introducing malicious code that modifies your package.json and clutters the npm registry.
You should uninstall the ugifa-afaoti-uto package immediately and monitor for any updates or patches that may be released.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.
Vulert is a monitoring tool that uses package-lock.json to alert users in real-time for open-source vulnerabilities in their software, ensuring better security management.