Malicious Code Injection in lintang-tea54: A Threat to npm Ecosystem
Summary
MAL-2025-158215: Malicious code in lintang-tea54 (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-tea54 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry and is intended to facilitate token rewards for developers. However, it has been identified as containing malicious code that can compromise the integrity of the npm ecosystem by generating and publishing derivative packages with harmful intent.
Vulnerability Detail
The vulnerability in lintang-tea54 originates from its inclusion in a campaign that floods the npm registry with malicious packages. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and generates random package names, which leads to the continuous republishing of these variants. This not only inflates developer reputation scores but also pollutes the npm registry, making it difficult for developers to find legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lintang-tea54
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-tea54 package and any other packages associated with the tea.xyz token reward campaign. Monitor your package-lock.json file for any unexpected changes and remove any suspicious packages immediately.
Conclusion
The lintang-tea54 package poses a significant risk to the npm ecosystem due to its malicious code that alters package metadata and floods the registry with harmful variants. It is crucial for developers to remove this package and monitor their dependencies closely to maintain the integrity of their projects.
See every vulnerability recorded for lintang-tea54 →
FAQ
lintang-tea54 is an npm package that is part of a token reward campaign, but it has been identified to contain malicious code.
The malicious code can modify your package.json, remove private flags, and republish variants that can pollute the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without any signup.
You should uninstall the lintang-tea54 package immediately using 'npm uninstall lintang-tea54' and review your dependencies for any other malicious packages.
There are no patches available for lintang-tea54 as it is recommended to remove the package entirely from your project.