Malicious Code Injection in lengthy_guan_0xrequest Package
Summary
MAL-2025-105071: Malicious code in lengthy_guan_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 lengthy_guan_0xrequest package is part of the npm ecosystem, often utilized for various JavaScript functionalities. However, it has been identified as part of a malicious campaign aimed at inflating developer reputation scores through the tea.xyz token reward system. This package, like others in the campaign, is designed to automatically generate and publish derivative packages with random names, thereby polluting the npm registry.
Vulnerability Detail
The vulnerability in the lengthy_guan_0xrequest package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, which can lead to significant security risks such as unauthorized access and manipulation of the npm registry. The origin of this vulnerability is linked to a broader campaign that exploits npm packages for malicious purposes, specifically targeting developers involved in the tea protocol token rewards.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lengthy_guan_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 lengthy_guan_0xrequest package and replace it with a trusted alternative. Additionally, regularly audit your npm packages using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The lengthy_guan_0xrequest package poses a significant security risk due to its malicious code designed to manipulate npm packages. It is crucial for developers to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for lengthy_guan_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
The malicious code modifies your package.json file, potentially leading to unauthorized access and manipulation of your npm packages.
You should uninstall the lengthy_guan_0xrequest package immediately and monitor your project for any unusual activity.
You can use tools like Vulert, which monitors your package-lock.json for 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 any signup.