Malicious Code Injection in ltd_bat_0xrequest Package
Summary
MAL-2025-105370: Malicious code in ltd_bat_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 ltd_bat_0xrequest package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to facilitate the generation and publication of derivative packages. However, this package has been identified as malicious, containing scripts that manipulate package metadata and publish numerous variants to inflate developer reputation scores.
Vulnerability Detail
The vulnerability originates from the malicious scripts embedded within the ltd_bat_0xrequest package. These scripts modify the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the pollution of the npm registry. This can result in developers unknowingly using compromised packages, potentially exposing their applications to further vulnerabilities and malicious activities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ltd_bat_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, avoid using the ltd_bat_0xrequest package and consider using alternative packages that provide similar functionality without the associated risks. Regularly audit your dependencies to ensure they are secure.
Conclusion
The ltd_bat_0xrequest package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with compromised packages. It is essential to remove this package from your project and monitor your dependencies for security vulnerabilities.
See every vulnerability recorded for ltd_bat_0xrequest →
FAQ
The ltd_bat_0xrequest package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code can modify your package.json file, leading to the publication of compromised packages that may introduce further vulnerabilities into your application.
If you have installed the ltd_bat_0xrequest package, you should uninstall it immediately and check your package-lock.json for any references to it.
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. You can check your application for vulnerabilities using the Vulert playground without any signup.
Yes, consider using other reputable npm packages that provide similar functionalities without the associated risks of malicious code.