Malicious Code Injection in lintang-tea23: A Threat to npm Ecosystem
Summary
MAL-2025-158181: Malicious code in lintang-tea23 (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-tea23 is a package within the npm ecosystem, primarily associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, which can inflate developer reputation scores in exchange for token rewards. However, it has been identified as containing malicious scripts that compromise the integrity of the npm registry.
Vulnerability Detail
The vulnerability in lintang-tea23 originates from its inclusion in a campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising other packages and applications that rely on it.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lintang-tea23
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 lintang-tea23 and any packages that depend on it. Additionally, consider using a package lock file to prevent the installation of compromised packages. You can also monitor your dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time.
Conclusion
The lintang-tea23 package poses a significant risk to the npm ecosystem due to its malicious code that modifies package files and repopulates the registry with compromised packages. It is essential to take immediate action to remove this package and monitor your dependencies for vulnerabilities.
See every vulnerability recorded for lintang-tea23 →
FAQ
lintang-tea23 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 affecting other packages and applications that rely on it, compromising their integrity.
You should uninstall the lintang-tea23 package immediately using 'npm uninstall lintang-tea23' and check for any dependencies that may rely on it.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities and alerts you in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.