Malicious Code Injection in lintang-tea77: A Threat to npm Users
Summary
MAL-2025-158240: Malicious code in lintang-tea77 (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-tea77 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to generate and publish derivative packages with randomized names, which are intended to inflate developer reputation scores for rewards in the tea protocol. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in lintang-tea77 originates from its inclusion in a campaign that floods the npm registry with malicious packages. The package contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising other packages and applications that depend on it.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lintang-tea77
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 manually remove the lintang-tea77 package from your project by running the following command: npm uninstall lintang-tea77. Additionally, consider using a package-lock.json file to monitor your dependencies and ensure that no malicious packages are introduced.
Conclusion
The lintang-tea77 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. Users are advised to remove this package and monitor their dependencies for any vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for lintang-tea77 →
FAQ
lintang-tea77 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 pollution of the npm registry, potentially compromising other packages and applications that rely on it.
You should uninstall the lintang-tea77 package immediately to mitigate any risks associated with its malicious behavior.
Currently, there is no specific patch for lintang-tea77. The best course of action is to remove the package from your project.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can also check your application against known vulnerabilities using the Vulert playground.