Malicious Code Injection in logical_crow_0xrequest Package - npm Vulnerability
Summary
MAL-2025-105296: Malicious code in logical_crow_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 logical_crow_0xrequest package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign associated with the tea.xyz token reward system. It is designed to automate the generation and publication of derivative packages, which can lead to reputation inflation for developers involved in the campaign. The package's functionality is compromised due to the presence of malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability originates from the package being part of a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that modify the package.json file, removing private flags, altering version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, leading to potential security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall logical_crow_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 manually remove the logical_crow_0xrequest package from your project by running the following command: npm uninstall logical_crow_0xrequest. Additionally, ensure that your package.json does not reference this package to prevent its reinstallation.
Conclusion
The logical_crow_0xrequest package has been identified as a vector for malicious code injection, posing significant risks to developers and their projects. It is crucial to remove this package and monitor your dependencies for any signs of compromise. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for logical_crow_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores through the automated publication of derivative packages.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising security and functionality.
You should immediately remove the package from your project and check for any unauthorized changes in your package.json file.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.