Malicious Code Exploit in uaragifa-ma-safufrat Package: A Threat to npm Users
Summary
MAL-2025-169532: Malicious code in uaragifa-ma-safufrat (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-safufrat package is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the generation of numerous derivative packages. The malicious nature of this package lies in its ability to modify critical files and republish itself with altered identifiers, thereby polluting the npm registry.
Vulnerability Detail
The vulnerability in the uaragifa-ma-safufrat package stems from its inclusion in a campaign designed to exploit npm's package management system. The malicious code modifies the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior can lead to the proliferation of untrustworthy packages in the npm registry, potentially compromising the integrity of applications that depend on these packages. Developers may unknowingly install compromised versions, leading to security risks and loss of control over their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall uaragifa-ma-safufrat
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-safufrat package altogether. If it is a dependency of another package, consider looking for alternative packages that do not have known vulnerabilities. Additionally, you can use tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The uaragifa-ma-safufrat package poses a significant threat to npm users due to its malicious code designed to manipulate package management processes. It is crucial to take immediate action to remove this package and monitor your dependencies for vulnerabilities using tools like Vulert.
See every vulnerability recorded for uaragifa-ma-safufrat →
FAQ
The uaragifa-ma-safufrat package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
This vulnerability can lead to the installation of compromised packages, which may introduce security risks and affect the integrity of your application.
You should uninstall the uaragifa-ma-safufrat package immediately using the command npm uninstall uaragifa-ma-safufrat.
Yes, you can use Vulert to monitor your package-lock.json file for vulnerabilities in real-time without requiring access to the code or installation.
You can check if your application is affected by this vulnerability using the Vulert playground at Vulert Scanner without any signup.