Malicious Code Injection in quick_lemur-smiletea Package
Summary
MAL-2025-107647: Malicious code in quick_lemur-smiletea (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
The quick_lemur-smiletea package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards through the generation and publication of derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability originates from the package's design, which includes autopublish scripts that automatically generate and publish derivative packages with randomized names. This behavior is intended to inflate developer reputation scores for tea protocol token rewards. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, leading to pollution of the npm registry and potential security risks for developers using these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall quick_lemur-smiletea
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 measure, avoid using the quick_lemur-smiletea package and monitor your project for any dependencies that may have been affected by this malicious package. Regularly audit your package-lock.json file to identify any potentially vulnerable packages.
Conclusion
The quick_lemur-smiletea package has been identified as containing malicious code that poses a significant risk to developers and the npm ecosystem. It is crucial to remove this package from your projects and monitor for any dependencies that may be affected. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for quick_lemur-smiletea →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file and can lead to the pollution of the npm registry, affecting the integrity of your project.
You should uninstall the quick_lemur-smiletea package immediately and check for any dependencies that may be affected.
No, there is no patch available for the quick_lemur-smiletea package. The best course of action is to remove it from your project.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.