Malicious Code Injection in luccy-teadev Package - npm Vulnerability
Summary
MAL-2025-105378: Malicious code in luccy-teadev (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 luccy-teadev package is part of the npm ecosystem, primarily used for development purposes. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with various packages. This package, like others in the campaign, is designed to manipulate developer reputation scores by automatically publishing derivative packages with randomized names.
Vulnerability Detail
The vulnerability in the luccy-teadev package originates from its malicious code, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a compromised development environment, inflated reputation scores, and potential security risks for applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall luccy-teadev
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 luccy-teadev package and replace it with a trusted alternative that provides similar functionality without the associated risks. Additionally, regularly audit your npm packages using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The luccy-teadev package poses a significant risk due to its malicious code that alters project files and publishes unwanted packages. It is crucial to remove this package and monitor your project for vulnerabilities to maintain a secure development environment.
See every vulnerability recorded for luccy-teadev →
FAQ
The luccy-teadev package is an npm package associated with the tea.xyz token reward campaign, which aims to inflate developer reputation scores.
The malicious code modifies your package.json file, removes private flags, and publishes unwanted packages, potentially compromising your project's integrity.
You should uninstall the luccy-teadev package immediately and check for any other affected packages in your project.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.