Malicious Code Injection in lintang-tea97: A Threat to npm Packages
Summary
MAL-2025-158262: Malicious code in lintang-tea97 (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-tea97 is an npm package that is part of the tea.xyz token reward campaign. This package, like others in the campaign, is designed to manipulate the npm registry by generating and publishing derivative packages with randomized names. Its functionality is compromised by malicious scripts that aim to inflate developer reputation scores for token rewards, making it a target for vulnerabilities.
Vulnerability Detail
The vulnerability in lintang-tea97 stems from the presence of malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants that pollute the npm registry. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which has flooded npm with similar malicious packages. The ramifications include potential security risks for developers who unknowingly use these packages, as well as damage to the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lintang-tea97
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 workaround, consider using a package-lock.json file to monitor your dependencies. This file can help you identify and manage vulnerabilities in your project. Additionally, you can use tools like Vulert to monitor for open-source vulnerabilities in real-time without requiring code access. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner.
Conclusion
The lintang-tea97 package poses a significant risk due to its malicious code designed to manipulate the npm registry. Developers should take immediate action to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for lintang-tea97 →
FAQ
lintang-tea97 is an npm package that is part of a token reward campaign, which has been identified to contain malicious code.
The malicious code modifies your package.json, potentially leading to security vulnerabilities and pollution of the npm registry.
You should uninstall lintang-tea97 immediately using the command npm uninstall lintang-tea97.
Yes, you can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without any signup.