Malicious Code Injection in lintang-tea58: A Threat to npm Packages
Summary
MAL-2025-158219: Malicious code in lintang-tea58 (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-tea58 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry, allowing developers to publish and manage packages. However, it has been identified as malicious, containing scripts that manipulate package metadata and flood the registry with derivative packages, ultimately harming the reputation of legitimate developers.
Vulnerability Detail
The vulnerability originates from the malicious code embedded in the lintang-tea58 package. This code is designed to automatically modify the package.json file by removing private flags, altering version numbers, and generating random package names. The result is a proliferation of derivative packages that can clutter the npm registry and mislead developers. The malicious payload can significantly impact the integrity of the npm ecosystem, leading to potential security risks and loss of trust in the affected packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lintang-tea58
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-tea58 package and any packages that may depend on it. If you need to maintain functionality, consider using alternative packages that do not have known vulnerabilities.
Conclusion
The lintang-tea58 package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and floods the registry. It is crucial for developers to remove this package from their projects and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for lintang-tea58 →
FAQ
lintang-tea58 is an npm package associated with the tea.xyz token reward campaign, which has been identified as malicious.
The malicious code modifies your package.json file and floods the npm registry with derivative packages, potentially harming your project's integrity and reputation.
You should uninstall the lintang-tea58 package immediately using the command npm uninstall lintang-tea58.
You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.