Malicious Code Injection in lintang-tea61: A Threat to npm Packages
Summary
MAL-2025-158223: Malicious code in lintang-tea61 (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-tea61 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to interact with the npm registry and is typically used for publishing and managing JavaScript packages. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm ecosystem.
Vulnerability Detail
The vulnerability in lintang-tea61 originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This is part of a broader scheme to inflate developer reputation scores for token rewards. The malicious scripts (auto.js, autopublish.js, etc.) continuously republish these altered packages, polluting the npm registry and potentially leading to the distribution of compromised software to users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lintang-tea61
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 prevent the installation of this package by using npm's package-lock.json to monitor dependencies. You can also use the following command to remove the package: npm uninstall lintang-tea61.
Conclusion
The lintang-tea61 package poses a significant threat due to its malicious code that alters package metadata and repopulates the npm registry with compromised packages. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities.
See every vulnerability recorded for lintang-tea61 →
FAQ
lintang-tea61 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 can lead to the publication of compromised packages, affecting the integrity of your project.
You should uninstall the lintang-tea61 package immediately using the command: npm uninstall lintang-tea61.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.