Malicious Code Injection in lintang-tea40: npm Package Vulnerability
Summary
MAL-2025-158200: Malicious code in lintang-tea40 (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-tea40 is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate the generation and publication of derivative packages. However, it has been identified as containing malicious code that alters package metadata and floods the npm registry with spammy packages, impacting developers and the ecosystem.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the lintang-tea40 package, which is part of a broader campaign to inflate developer reputation scores for token rewards. The malicious code modifies the package.json file to remove private flags, changes 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-tea40
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 workaround, you can avoid using the lintang-tea40 package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your package dependencies using tools like npm audit.
Conclusion
The lintang-tea40 npm package has been identified as containing malicious code that can compromise application security. It is crucial for developers to uninstall this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for lintang-tea40 →
FAQ
lintang-tea40 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 floods the npm registry with spammy packages, which can lead to security vulnerabilities in your application.
You should uninstall the lintang-tea40 package immediately using the command npm uninstall lintang-tea40.
Yes, tools like Vulert can monitor your package-lock.json file to alert you in real-time for open-source vulnerabilities.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.