Malicious Code Injection in uaragifa-afat-usutfar Package
Summary
MAL-2025-169514: Malicious code in uaragifa-afat-usutfar (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-usutfar package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that modifies package configurations and publishes harmful variants to the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the uaragifa-afat-usutfar package, which includes scripts that alter the package.json file by removing private flags and changing version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants. This behavior can lead to pollution of the npm registry, potentially affecting developers who rely on the integrity of package sources.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uaragifa-afat-usutfar
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-afat-usutfar package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Conclusion
The uaragifa-afat-usutfar package poses a significant risk due to its malicious code that alters package configurations and publishes harmful variants. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their software.
See every vulnerability recorded for uaragifa-afat-usutfar →
FAQ
The uaragifa-afat-usutfar package is an npm package involved in the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry, affecting the integrity of packages you may rely on and potentially introducing malicious code into your project.
You should uninstall the uaragifa-afat-usutfar package immediately using the command npm uninstall uaragifa-afat-usutfar.
Yes, you can use Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.