Malicious Code Injection in lintang-tea18: A Threat to npm Ecosystem
Summary
MAL-2025-158175: Malicious code in lintang-tea18 (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-tea18 is an npm package that appears to be part of a token reward campaign associated with the tea.xyz protocol. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores. Its functionality is compromised by malicious scripts that manipulate package metadata, posing a significant risk to the integrity of the npm registry.
Vulnerability Detail
The vulnerability in lintang-tea18 originates from its inclusion in a campaign that floods the npm registry with malicious packages. These packages contain scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. The continuous republishing of these variants leads to pollution of the npm registry, which can affect developers relying on legitimate packages. The malicious payload can compromise the security of applications using these packages, potentially leading to unauthorized access or data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lintang-tea18
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-tea18 package and monitor your dependencies for any malicious packages. You can also use tools like Vulert to scan your package-lock.json for vulnerabilities. For example, you can visit the Vulert playground at https://vulert.com/scanner to check if your application is affected by this vulnerability without needing to sign up.
Conclusion
The lintang-tea18 package poses a significant threat due to its malicious code designed to manipulate npm package metadata. It is crucial for developers to uninstall 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-tea18 →
FAQ
lintang-tea18 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies package metadata and can lead to the pollution of the npm registry, potentially compromising the security of applications that depend on these packages.
You should uninstall lintang-tea18 immediately using 'npm uninstall lintang-tea18' and check your package-lock.json for any references to it.
Yes, regularly monitor your dependencies using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check your application's vulnerabilities without needing to sign up.