Malicious Code Injection in uaragifa-afati-ur Package: A Threat to npm Users
Summary
MAL-2025-169515: Malicious code in uaragifa-afati-ur (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-afati-ur package is part of a series of malicious packages that emerged during the tea.xyz token reward campaign. These packages are designed to manipulate the npm ecosystem by automatically generating and publishing derivative packages with randomized names. The primary functionality of these packages is to inflate developer reputation scores for token rewards, which poses a significant risk to the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the uaragifa-afati-ur package originates from its malicious design, which includes scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the security of applications that depend on these packages. The malicious payload can also lead to unintended consequences for developers, such as reputation damage and security breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uaragifa-afati-ur
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-afati-ur package and any other packages associated with the tea.xyz token reward campaign. Additionally, consider using a tool like Vulert to monitor your package-lock.json file for vulnerabilities in real-time. You can access the Vulert playground at https://vulert.com/scanner to check if your application is affected by this vulnerability without any signup.
Conclusion
The uaragifa-afati-ur package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package publishing. It is crucial for developers to be aware of such vulnerabilities and take immediate action to protect their applications. Utilizing tools like Vulert can aid in monitoring and managing open-source vulnerabilities effectively.
See every vulnerability recorded for uaragifa-afati-ur →
FAQ
The uaragifa-afati-ur package is a malicious npm package that is part of a campaign to inflate developer reputation scores for token rewards.
This vulnerability can lead to the pollution of the npm registry, potentially compromising the security and integrity of applications that depend on affected packages.
You should uninstall the uaragifa-afati-ur package immediately using 'npm uninstall uaragifa-afati-ur' and monitor your project for any other malicious packages.
Yes, you can use Vulert to monitor your package-lock.json file for open-source vulnerabilities in real-time. Visit https://vulert.com for more information.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.