Malicious Code Injection in fancy_perch_0xrequest Package
Summary
MAL-2025-102562: Malicious code in fancy_perch_0xrequest (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 fancy_perch_0xrequest package is part of the npm ecosystem, typically utilized for various web development tasks. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages. This package is designed to manipulate developer reputation scores through the automatic generation and publishing of derivative packages, which can lead to significant security risks.
Vulnerability Detail
The vulnerability in the fancy_perch_0xrequest package stems from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly use these packages, leading to potential exploitation and reputation damage.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall fancy_perch_0xrequest
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 fancy_perch_0xrequest package altogether until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The fancy_perch_0xrequest package poses a significant security risk due to its malicious code injection vulnerability. It is crucial for developers to stay informed about such vulnerabilities and take proactive measures to secure their applications. Regularly updating packages and utilizing tools like Vulert can help maintain the integrity of your software.
See every vulnerability recorded for fancy_perch_0xrequest →
FAQ
The fancy_perch_0xrequest package is an npm package used in web development, but it has been identified as part of a malicious campaign.
This vulnerability can lead to the injection of malicious code, compromising your application's security and potentially damaging your reputation.
If you have installed the fancy_perch_0xrequest package, you should update it to the latest version or remove it from your project until a secure version is available.
You can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.