Malicious Code Injection in tlucsc-devapp: A Threat to npm Packages
Summary
MAL-2025-109722: Malicious code in tlucsc-devapp (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
tlucsc-devapp is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate certain functionalities within the tea protocol ecosystem. However, this package has been identified as malicious, containing scripts that automatically generate and publish derivative packages with randomized names, aimed at inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in tlucsc-devapp originates from its inclusion in a campaign that floods the npm registry with malicious packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially compromising the integrity of projects that depend on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tlucsc-devapp
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, you can remove the tlucsc-devapp package from your project by executing the command: 'npm uninstall tlucsc-devapp'. This will prevent any malicious scripts from executing until a secure version is available.
Conclusion
The tlucsc-devapp package poses a significant risk due to its malicious code that alters project files and pollutes the npm registry. It is crucial to take immediate action by uninstalling the package and monitoring for updates. Utilizing tools like Vulert can help maintain the security of your open-source dependencies.
See every vulnerability recorded for tlucsc-devapp →
FAQ
tlucsc-devapp is an npm package involved in the tea.xyz token reward campaign, which has been identified to contain malicious code.
The malicious code modifies your package.json, removes private flags, and generates random package names, potentially leading to security vulnerabilities and pollution of the npm registry.
You should uninstall the package immediately and check for any updates or patches that may address the vulnerability.
You can use tools like Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just 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 any signup.