Malicious Code Injection in moderate_lark_0xrequest Package
Summary
MAL-2025-105926: Malicious code in moderate_lark_0xrequest (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 moderate_lark_0xrequest package is part of the npm ecosystem, typically utilized for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that aims to exploit npm's publishing features. This package is linked to the tea.xyz token reward initiative, which has been known to flood the npm registry with derivative packages that can harm developers' reputations and the integrity of the registry.
Vulnerability Detail
This vulnerability originates from the malicious intent behind the moderate_lark_0xrequest package, which contains scripts designed to automatically generate and publish derivative packages with randomized names. The malicious payload modifies the package.json file to remove private flags, alters version numbers, and continuously republishes variants, leading to pollution of the npm registry. This can result in compromised developer reputations 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 moderate_lark_0xrequest
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 remove the moderate_lark_0xrequest package from your project by executing the command: npm uninstall moderate_lark_0xrequest. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The moderate_lark_0xrequest package poses a significant risk due to its malicious code designed to exploit npm's publishing capabilities. It is essential for developers to take immediate action by updating or removing this package to protect their applications and maintain the integrity of the npm registry.
See every vulnerability recorded for moderate_lark_0xrequest →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at exploiting npm's publishing features.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your application, potentially affecting its performance and security.
You should immediately update or uninstall the moderate_lark_0xrequest package to mitigate any risks associated with this vulnerability.
Yes, you can use tools like Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software using just the package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.