Malicious Code Detected in uaragifa-afaoti-uufyo: A Threat to npm Ecosystem
Summary
MAL-2025-169503: Malicious code in uaragifa-afaoti-uufyo (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 'uaragifa-afaoti-uufyo' 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 linked to a series of malicious activities aimed at inflating developer reputation scores. The package's functionality is compromised, making it a potential threat to users and developers relying on npm for secure package management.
Vulnerability Detail
The vulnerability in 'uaragifa-afaoti-uufyo' originates from its design to include malicious scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants that pollute the npm registry. This behavior can severely impact developers by compromising their projects and reputations, as well as cluttering the npm ecosystem with unwanted packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uaragifa-afaoti-uufyo
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 affected package by removing it from your dependencies. Additionally, consider using a package-lock.json file to monitor your dependencies and prevent the installation of malicious packages. You can also utilize tools like Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The 'uaragifa-afaoti-uufyo' package poses a significant threat due to its malicious code designed to manipulate package metadata and pollute the npm ecosystem. It is essential for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their projects.
See every vulnerability recorded for uaragifa-afaoti-uufyo →
FAQ
The package contains malicious code that modifies package.json files and republishes variants to pollute the npm registry.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without any signup.
You should uninstall the package immediately using 'npm uninstall uaragifa-afaoti-uufyo' and check for any other affected packages.
Yes, Vulert can monitor your project for open-source vulnerabilities in real-time using just the package-lock.json file.
Using this package can lead to compromised projects, inflated reputation scores, and clutter in the npm registry, affecting the overall security of your applications.