Malicious Code Injection in lintang-tea30: A Threat to npm Packages
Summary
MAL-2025-158189: Malicious code in lintang-tea30 (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-tea30 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it has been identified as containing malicious scripts that can compromise the integrity of the npm registry and inflate developer reputation scores through deceptive practices.
Vulnerability Detail
The vulnerability in lintang-tea30 arises from the presence of malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to automatically publish numerous variants of the package, polluting the npm registry and potentially leading to security risks for developers who unknowingly use these compromised packages. The malicious payload is part of a broader scheme to exploit the npm ecosystem for token rewards.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lintang-tea30
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 measure, avoid using the lintang-tea30 package and consider using alternative packages that provide similar functionality without the associated risks. Regularly monitor your package dependencies for any signs of compromise.
Conclusion
The lintang-tea30 package poses a significant threat due to its malicious code that compromises the npm registry. It is crucial for developers to be vigilant and take immediate action to remove this package and monitor their dependencies for potential vulnerabilities. Utilizing tools like Vulert can help in maintaining the security of your applications.
See every vulnerability recorded for lintang-tea30 →
FAQ
lintang-tea30 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.json files, removes private flags, changes version numbers, and generates random package names to flood the npm registry.
You can use Vulert, which monitors open-source vulnerabilities in your software. By using the Vulert playground, you can check if your application is affected by this vulnerability without any signup.
If you have installed lintang-tea30, you should uninstall it immediately using the command npm uninstall lintang-tea30 and replace it with a secure alternative.
Regularly audit your dependencies, use tools like Vulert to monitor for vulnerabilities, and only install packages from trusted sources.