Malicious Code Injection in uaragifa-ma-sauf Package: A Threat to npm Ecosystem
Summary
MAL-2025-169536: Malicious code in uaragifa-ma-sauf (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-sauf package 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 known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores for token rewards, making them a significant threat to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the uaragifa-ma-sauf package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits the npm ecosystem for malicious purposes. The ramifications include potential security risks for developers and users, as well as a degradation of the npm registry's reliability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uaragifa-ma-sauf
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-sauf package and monitor your project for any dependencies that may inadvertently include it. Use the following command to check for vulnerable packages: 'npm audit'.
Conclusion
The uaragifa-ma-sauf package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata. It is crucial for developers to be vigilant and remove any instances of this package from their projects. Regular monitoring for vulnerabilities and using tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for uaragifa-ma-sauf →
FAQ
The uaragifa-ma-sauf package is an npm package associated with a malicious campaign that aims to manipulate the npm registry.
This vulnerability can lead to the introduction of malicious code in your project, potentially compromising its security and integrity.
If you have installed the uaragifa-ma-sauf package, you should uninstall it immediately using 'npm uninstall uaragifa-ma-sauf'.
You can use tools like 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 requiring any signup.