Malicious Code Injection in lintang-tea82: A Threat to npm Ecosystem
Summary
MAL-2025-158246: Malicious code in lintang-tea82 (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-tea82 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards through various scripts that automatically generate and publish derivative packages. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in lintang-tea82 originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the automatic publication of numerous derivative packages, effectively polluting the npm registry and inflating developer reputation scores for token rewards. The ramifications include potential security risks for developers and users relying on the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lintang-tea82
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 prevent the installation of the lintang-tea82 package by using the following command: npm uninstall lintang-tea82. Additionally, consider using npm audit to identify and address other potential vulnerabilities in your project.
Conclusion
The lintang-tea82 package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and publishes numerous derivative packages. It is crucial for developers to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for lintang-tea82 →
FAQ
lintang-tea82 is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project's dependencies.
You should uninstall the package immediately using the command: npm uninstall lintang-tea82.
Currently, there is no patched version available. It is advisable to remove the package until a secure version is released.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just package-lock.json. You can also check your application for vulnerabilities using the Vulert playground without any signup.