Malicious Code Injection in integral_leech-apptea: A Threat to npm Packages
Summary
MAL-2025-104277: Malicious code in integral_leech-apptea (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 integral_leech-apptea package is part of the tea.xyz token reward campaign, which has been known to flood the npm ecosystem with malicious packages. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The vulnerability in this package allows for the modification of critical files, leading to potential exploitation.
Vulnerability Detail
The vulnerability originates from the package's malicious intent to manipulate the npm registry. It includes scripts that remove private flags from package.json, alter version numbers, and generate 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 security breaches and loss of trust in the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall integral_leech-apptea
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 integral_leech-apptea package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The integral_leech-apptea package poses a significant risk due to its malicious behavior aimed at manipulating the npm registry. It is crucial for developers to be vigilant and remove any instances of this package from their projects. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in real-time.
See every vulnerability recorded for integral_leech-apptea →
FAQ
It is a package that is part of the tea.xyz token reward campaign, known for flooding the npm registry with malicious packages.
The vulnerability can lead to unauthorized modifications of your package.json file and the potential introduction of malicious code into your project.
You should uninstall the integral_leech-apptea package immediately and check your project for any dependencies that may be affected.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.