Malicious Code Injection in lintang-tea46: A Threat to npm Packages
Summary
MAL-2025-158206: Malicious code in lintang-tea46 (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-tea46 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the distribution 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 ecosystem.
Vulnerability Detail
The vulnerability in lintang-tea46 originates from its design to automatically generate and publish derivative packages with malicious intent. The package modifies the package.json file to remove private flags, alters version numbers, and creates random package names, leading to pollution of the npm registry. This not only affects the reputation of developers but also poses a risk to users who may unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lintang-tea46
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, you can avoid using the lintang-tea46 package and remove it from your project dependencies. You can do this by executing the following command: npm uninstall lintang-tea46. Additionally, consider using tools like Vulert to monitor your package-lock.json for vulnerabilities.
Conclusion
The lintang-tea46 package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry with compromised packages. It is crucial for developers to update their dependencies and utilize tools like Vulert to maintain the security of their applications.
See every vulnerability recorded for lintang-tea46 →
FAQ
lintang-tea46 is an npm package associated with the tea.xyz token reward campaign, designed to inflate developer reputation scores.
The vulnerability can lead to the installation of malicious packages that may compromise your project's integrity and security.
You should uninstall the package immediately and check for any other affected packages in your project.
You can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.