Malicious Code Injection in lintang-tea76: A Threat to npm Packages
Summary
MAL-2025-158239: Malicious code in lintang-tea76 (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-tea76 is an npm package that is part of the tea.xyz token reward campaign, which has been associated with a surge of malicious packages on the npm registry. This package is designed to automate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality is compromised due to the presence of malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in lintang-tea76 originates from its malicious code that modifies the package.json file by removing private flags and changing version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to a significant increase in the number of low-quality or harmful packages, affecting developers and users relying on the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lintang-tea76
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 lintang-tea76 package and monitor your project for any unintended dependencies that may have been introduced. You can also use tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The lintang-tea76 package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry with harmful variants. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for lintang-tea76 →
FAQ
lintang-tea76 is an npm package associated with the tea.xyz token reward campaign, known for containing malicious code.
The malicious code modifies your package.json, removes private flags, and generates random package names, which can lead to a polluted npm registry and potential security risks.
You can use Vulert to monitor your package-lock.json for vulnerabilities without needing to install any software. Visit Vulert Scanner to check your application.
You should uninstall lintang-tea76 immediately using 'npm uninstall lintang-tea76' and check your project for any other affected packages.
Currently, there is no patched version available for lintang-tea76. It is best to remove the package entirely from your project.