Malicious Code Injection in lintang-tea25: A Threat to npm Packages
Summary
MAL-2025-158183: Malicious code in lintang-tea25 (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-tea25 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in lintang-tea25 originates from its association with a malicious campaign that utilizes autopublish scripts to modify package.json files. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lintang-tea25
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 remove the lintang-tea25 package from your project by executing the command: npm uninstall lintang-tea25. This will prevent any malicious code from executing while you seek a secure alternative.
Conclusion
The lintang-tea25 package poses a significant security risk due to its malicious code designed to manipulate npm packages. It is essential for developers to stay informed about such vulnerabilities and take proactive measures to secure their applications by updating or removing affected packages.
See every vulnerability recorded for lintang-tea25 →
FAQ
lintang-tea25 is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
If you have installed lintang-tea25, it is crucial to uninstall it immediately and check for any other affected packages.
Yes, you can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.