Malicious Code Injection in lintang-tea56: A Threat to npm Ecosystem
Summary
MAL-2025-158217: Malicious code in lintang-tea56 (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-tea56 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, which are often used to inflate developer reputation scores 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-tea56 originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting other packages and developers. The malicious scripts are typically named auto.js, autopublish.js, autopublish2.js, and autopublish3.js, and they are designed to automate the malicious activities without user consent.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lintang-tea56
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 the lintang-tea56 package and monitor your project for any other dependencies that may have been affected by similar malicious packages. Use the following command to check for outdated packages: npm outdated.
Conclusion
The lintang-tea56 package poses a significant threat to the npm ecosystem due to its malicious code that modifies essential project files and repopulates the registry with harmful variants. It is essential to uninstall this package and monitor your dependencies for vulnerabilities to maintain the integrity of your projects.
See every vulnerability recorded for lintang-tea56 →
FAQ
lintang-tea56 is an npm package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The malicious code modifies your package.json file, removes private flags, and generates random package names, leading to potential pollution of the npm registry.
You should uninstall the lintang-tea56 package immediately using the command: npm uninstall lintang-tea56.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.