Malicious Code Injection in uaragifa-mar-saf Package
Summary
MAL-2025-169544: Malicious code in uaragifa-mar-saf (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-mar-saf package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is linked to the tea.xyz token reward campaign, which has been associated with various malicious activities aimed at inflating developer reputation scores. The package's functionality is compromised by the inclusion of scripts that automatically generate and publish derivative packages, leading to pollution of the npm registry.
Vulnerability Detail
The vulnerability in the uaragifa-mar-saf package stems from its association with a malicious campaign that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants. This behavior not only affects the integrity of the npm registry but also poses a risk to developers who may unknowingly depend on these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uaragifa-mar-saf
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 measure, you can avoid using the uaragifa-mar-saf package and replace it with a trusted alternative. Always verify the integrity of packages before including them in your project. You can also use tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The uaragifa-mar-saf package poses a significant risk due to its malicious behavior, which can compromise the security of applications relying on it. It is crucial to uninstall this package and monitor your dependencies for vulnerabilities to ensure the integrity of your software.
See every vulnerability recorded for uaragifa-mar-saf →
FAQ
The uaragifa-mar-saf package is an npm package linked to a malicious campaign that modifies package metadata and publishes derivative packages.
This vulnerability can lead to the inclusion of malicious code in your application, compromising its security and integrity.
You should uninstall the uaragifa-mar-saf package immediately and replace it with a trusted alternative.
You can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.