Malicious Code Injection in lintang-tea8: A Threat to npm Packages
Summary
MAL-2025-158243: Malicious code in lintang-tea8 (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
lintang-tea8 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the distribution of token rewards through various scripts. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm ecosystem.
Vulnerability Detail
The vulnerability in lintang-tea8 originates from its design to automatically publish derivative packages with randomized names, which are intended to inflate developer reputation scores for token rewards. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to pollution of the npm registry. This can result in developers inadvertently using compromised packages, exposing their applications to security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lintang-tea8
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 measure, avoid using the lintang-tea8 package and monitor your project for any dependencies that may have been affected by this malicious code. Regularly audit your npm packages using tools like npm audit.
Conclusion
The lintang-tea8 package poses a significant threat due to its malicious code that alters package integrity and can lead to security vulnerabilities. It is crucial to remove this package and regularly audit your dependencies to maintain a secure application environment.
See every vulnerability recorded for lintang-tea8 →
FAQ
lintang-tea8 is an npm package associated with the tea.xyz token reward campaign, which has been found to contain malicious code.
The malicious code modifies package.json files, removes private flags, and publishes compromised packages, which can lead to security vulnerabilities in your application.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If you have installed lintang-tea8, you should uninstall it immediately using 'npm uninstall lintang-tea8' and check for any other affected packages.
Yes, tools like npm audit can help you identify and manage vulnerabilities in your npm packages, ensuring your application remains secure.