Malicious Code Injection in uaragifa-mar-sa Package - npm Vulnerability
Summary
MAL-2025-169543: Malicious code in uaragifa-mar-sa (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-sa package is part of the npm ecosystem, which is widely used for JavaScript development. This package is associated with the tea.xyz token reward campaign, which has been known to flood npm with malicious packages. These packages often contain scripts that manipulate package metadata and publish numerous derivative packages to inflate developer reputation scores.
Vulnerability Detail
The vulnerability in the uaragifa-mar-sa package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of dependent projects. The malicious payload can affect developers by inflating reputation scores fraudulently and may lead to security risks if these packages are inadvertently used in production environments.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uaragifa-mar-sa
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 workaround, you can avoid using the uaragifa-mar-sa package and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package dependencies using tools like npm audit or Vulert to identify and mitigate vulnerabilities.
Conclusion
The uaragifa-mar-sa package poses a significant risk due to its malicious code that modifies package metadata and floods the npm registry. It is crucial to remove this package from your projects and monitor your dependencies for vulnerabilities using available tools.
See every vulnerability recorded for uaragifa-mar-sa →
FAQ
The uaragifa-mar-sa package is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through the creation of numerous derivative packages.
This vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project if the malicious packages are inadvertently used.
If you have installed the uaragifa-mar-sa package, you should uninstall it immediately using the command: npm uninstall uaragifa-mar-sa.
You can use tools like npm audit or Vulert to monitor your project for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.