Malicious Code Injection in uaragifa-ma-sayugauf Package - npm Vulnerability
Summary
MAL-2025-169539: Malicious code in uaragifa-ma-sayugauf (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-ma-sayugauf 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 metadata and republishes variants to pollute the npm registry.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior can lead to the proliferation of unwanted packages in the npm registry, compromising the integrity of the ecosystem and potentially affecting developers who rely on these packages. The malicious scripts included in the package are designed to automate these actions, making it difficult for users to detect the changes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uaragifa-ma-sayugauf
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-ma-sayugauf package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any unexpected changes or additions.
Conclusion
The uaragifa-ma-sayugauf package poses a significant risk due to its malicious code that alters package metadata and republishes variants. It is crucial for developers to remove this package from their projects and monitor for any related vulnerabilities using tools like Vulert. By staying vigilant and proactive, developers can help maintain the integrity of the npm ecosystem.
See every vulnerability recorded for uaragifa-ma-sayugauf →
FAQ
The uaragifa-ma-sayugauf package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation of derivative packages.
The malicious code modifies your package.json file, removes private flags, and republishes variants, which can lead to a polluted npm registry and potential security risks.
You should uninstall the uaragifa-ma-sayugauf package immediately using the command npm uninstall uaragifa-ma-sayugauf and check for any dependencies that may be affected.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.