Malicious Code Injection in ferawijaya Package: npm Vulnerability Overview
Summary
MAL-2025-171217: Malicious code in ferawijaya (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 ferawijaya package is part of the npm ecosystem, primarily used for JavaScript development. It is often utilized in various applications to manage dependencies and streamline development processes. However, this package has been identified as part of a malicious campaign that aims to exploit npm's publishing mechanisms, leading to potential security risks for developers and their projects.
Vulnerability Detail
The vulnerability in the ferawijaya package originates from its association with a malicious campaign designed to inflate developer reputation scores through the automatic generation and publication of derivative packages. This malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which can lead to pollution of the npm registry and compromise the integrity of projects relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ferawijaya
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 ferawijaya package from your project by executing: npm uninstall ferawijaya. This will prevent any malicious code from executing while you assess the situation and look for alternative packages.
Conclusion
The ferawijaya package has been identified as a vector for malicious code that can compromise npm projects. It is crucial for developers to stay informed about such vulnerabilities and take immediate action to protect their applications. Regularly updating dependencies and utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for ferawijaya →
FAQ
The ferawijaya package is an npm package used in JavaScript development, but it has been identified as part of a malicious campaign.
This vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project by introducing malicious code.
You should uninstall the package immediately and check for any updates or patches that may address the vulnerability.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.