Malicious Code Injection in lintang-tea74: A Threat to npm Packages
Summary
MAL-2025-158237: Malicious code in lintang-tea74 (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-tea74 is a package within the npm ecosystem that appears to be part of the tea.xyz token reward campaign. This package is designed to facilitate automated publishing of derivative packages, which can 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-tea74 originates from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random Indonesian-themed package names and continuously republishes variants, leading to pollution of the npm registry. This behavior can severely impact developers by inflating reputation scores fraudulently and potentially introducing security risks into their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lintang-tea74
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-tea74 package from your project by executing the following command: npm uninstall lintang-tea74. This will prevent any malicious code from executing in your environment.
Conclusion
The lintang-tea74 package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to take immediate action by updating or removing the package to safeguard their projects.
See every vulnerability recorded for lintang-tea74 →
FAQ
lintang-tea74 is an npm package associated with the tea.xyz token reward campaign, designed to automate the publishing of derivative packages.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project by introducing malicious code.
You should check for updates to the lintang-tea74 package. If a patched version is available, you can update it using npm.
If no patched version is available, it is recommended to uninstall the package to mitigate any risks associated with the vulnerability.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software by analyzing package-lock.json. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.