Malicious Code Injection in lentengmacet-tool: npm Package Vulnerability
Summary
MAL-2025-105079: Malicious code in lentengmacet-tool (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 lentengmacet-tool is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate various functionalities related to the tea protocol. However, it has been identified as a malicious package that can compromise the integrity of the npm registry by generating and publishing derivative packages with random names, thus inflating developer reputation scores.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which 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 these variants, polluting the npm registry and potentially affecting other developers and users relying on legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall lentengmacet-tool
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, avoid using the lentengmacet-tool package and consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The lentengmacet-tool npm package has been identified as malicious, posing significant risks to developers and the integrity of the npm registry. It is crucial to uninstall this package and monitor your projects for any vulnerabilities to ensure a secure development environment.
See every vulnerability recorded for lentengmacet-tool →
FAQ
The lentengmacet-tool is an npm package associated with the tea.xyz token reward campaign, designed to facilitate various functionalities but has been identified as malicious.
The vulnerability can lead to the pollution of the npm registry, potentially affecting other packages and compromising the integrity of your project.
You should uninstall the lentengmacet-tool package immediately using the command 'npm uninstall lentengmacet-tool' to mitigate any risks.
No patches are available for the lentengmacet-tool package as it is recommended to remove it entirely from your project.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.