Malicious Code Injection in lintang-tea16: npm Package Vulnerability
Summary
MAL-2025-158173: Malicious code in lintang-tea16 (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-tea16 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 a network of derivative packages. 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-tea16 originates from its design to automatically generate and publish derivative packages with randomized names. This malicious behavior includes modifying the package.json file to remove private flags, altering version numbers, and continuously republishing variants to pollute the npm registry. The ramifications of this vulnerability include potential misuse of developer reputation scores, increased clutter in the npm registry, and risks to applications that depend on these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lintang-tea16
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 lintang-tea16 package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any unexpected changes.
Conclusion
The lintang-tea16 package poses a significant security risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for lintang-tea16 →
FAQ
lintang-tea16 is an npm package associated with the tea.xyz token reward campaign, designed to distribute token rewards through derivative packages.
The package modifies package.json files, removes private flags, changes version numbers, and republishes variants to pollute the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
It is advised to remove the lintang-tea16 package from your project immediately to mitigate any risks associated with its malicious behavior.
Yes, consider looking for other npm packages that provide similar functionalities without the security risks associated with lintang-tea16.