Malicious Code Injection in uaragifa-afat-uar Package
Summary
MAL-2025-169505: Malicious code in uaragifa-afat-uar (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-afat-uar package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality is compromised by malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the uaragifa-afat-uar package stems from malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of the ecosystem. The origin of this vulnerability is linked to automated scripts that are part of a broader scheme to exploit npm for token rewards.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uaragifa-afat-uar
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 remove the uaragifa-afat-uar package from your project by executing: npm uninstall uaragifa-afat-uar. This will prevent any malicious scripts from executing until a patched version is available.
Conclusion
The uaragifa-afat-uar package contains a significant vulnerability due to malicious code that alters package metadata and floods the npm registry. It is crucial to uninstall this package and monitor for updates to protect your project from potential risks.
See every vulnerability recorded for uaragifa-afat-uar →
FAQ
The uaragifa-afat-uar package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, potentially exposing your project to security risks and polluting the npm registry.
You should uninstall the package immediately and monitor for any updates or patches that may address the vulnerability.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Vulert is a tool that monitors open-source vulnerabilities in your software using just package-lock.json, providing real-time alerts without requiring code access or installation.