Malicious Code Injection in uaragifa-marae-safari Package
Summary
MAL-2025-169553: Malicious code in uaragifa-marae-safari (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-marae-safari package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that exploits npm's publishing mechanisms, leading to potential security risks for developers and their applications.
Vulnerability Detail
The vulnerability stems from the malicious code embedded within the uaragifa-marae-safari package. This package is associated with a campaign that floods the npm registry with derivative packages, which are generated through scripts that modify the package.json file. The malicious payload removes private flags, alters version numbers, and creates random package names, thereby polluting the npm registry and potentially compromising the integrity of applications that depend on these packages. The origin of this issue is linked to the tea.xyz token reward campaign, which incentivizes the creation of such malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uaragifa-marae-safari
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 remove the uaragifa-marae-safari package from your project by executing the command: npm uninstall uaragifa-marae-safari. This will prevent any malicious code from executing while you assess the situation and look for a secure alternative package.
Conclusion
The uaragifa-marae-safari package poses a significant security risk due to its malicious code designed to manipulate npm's publishing system. It is essential for developers to take immediate action by updating or removing the package and monitoring their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for uaragifa-marae-safari →
FAQ
The uaragifa-marae-safari package is an npm package that is part of a malicious campaign aimed at flooding the npm registry with derivative packages.
If your application depends on the uaragifa-marae-safari package, it may be at risk of executing malicious code that can compromise its integrity and security.
You should uninstall the uaragifa-marae-safari package immediately and check for any updates or patches that may address the vulnerability.
Yes, you can use Vulert to monitor and alert you in real-time for open-source vulnerabilities in your software. It requires only the 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.