Malicious Code Injection in religious_sparrow_0xrequest Package
Summary
MAL-2025-107868: Malicious code in religious_sparrow_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 religious_sparrow_0xrequest package is part of the npm ecosystem, often used in JavaScript applications for various functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is designed to inflate developer reputation scores through automated scripts that publish numerous variants of itself, leading to potential security risks.
Vulnerability Detail
The vulnerability in the religious_sparrow_0xrequest package originates from its association with the tea.xyz token reward campaign. The package contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only pollutes the npm registry but also poses a risk of unintentional code execution and dependency issues for developers using this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall religious_sparrow_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 workaround, you can avoid using the religious_sparrow_0xrequest package and look for alternative packages that provide similar functionality without the associated risks. Additionally, ensure that your package-lock.json file is monitored for any vulnerabilities using tools like Vulert.
Conclusion
The religious_sparrow_0xrequest package poses significant security risks due to its malicious code designed to manipulate npm registry entries. It is crucial for developers to remove this package from their projects and monitor for vulnerabilities using tools like Vulert to maintain application security.
See every vulnerability recorded for religious_sparrow_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
The vulnerability can lead to unintentional code execution, dependency issues, and pollution of the npm registry, which may affect the stability of your application.
You should uninstall the religious_sparrow_0xrequest package immediately and look for alternatives.
You can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.