Malicious Code Exploit in Lintang-tea22 Package: npm Vulnerability Summary
Summary
MAL-2025-158180: Malicious code in lintang-tea22 (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-tea22 is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate token rewards through various scripts that automatically publish derivative packages. However, this package has been identified as malicious, containing scripts that manipulate package metadata and flood the npm registry with unwanted packages.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the lintang-tea22 package, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to inflate developer reputation scores. This behavior not only pollutes the npm registry but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lintang-tea22
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-tea22 package and monitor your project's dependencies for any malicious packages. Use the following command to check for vulnerabilities in your project: npm audit.
Conclusion
The lintang-tea22 package poses a significant risk due to its malicious code designed to manipulate npm packages and inflate developer reputation scores. It is crucial to remove this package and monitor your dependencies to maintain the security of your project.
See every vulnerability recorded for lintang-tea22 →
FAQ
Lintang-tea22 is an npm package associated with the tea.xyz token reward campaign, designed to publish derivative packages automatically.
The vulnerability can lead to the pollution of the npm registry and may expose your project to malicious code, affecting its integrity and security.
You should remove the lintang-tea22 package from your project immediately and check for any other dependencies that may be affected.
Yes, you can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.