Malicious Code Injection in wati-lengko36-ruro Package: A Threat to npm Users
Summary
MAL-2025-110697: Malicious code in wati-lengko36-ruro (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 wati-lengko36-ruro package is part of the npm ecosystem, primarily used for JavaScript development. This package has been identified as part of a larger campaign that exploits npm's publishing capabilities to generate and distribute malicious code. The package's functionality has been compromised, making it a potential risk for developers who may inadvertently use it in their projects.
Vulnerability Detail
The vulnerability in the wati-lengko36-ruro package originates from its association with the tea.xyz token reward campaign. This campaign has led to the creation of numerous packages that contain scripts designed to automatically publish derivative packages with randomized names. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only inflates developer reputation scores but also pollutes the npm registry, posing a significant risk to the integrity of the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wati-lengko36-ruro
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 wati-lengko36-ruro package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can analyze your package-lock.json file for potential threats.
Conclusion
The wati-lengko36-ruro package poses a significant risk due to its malicious code designed to exploit npm's publishing system. Developers should take immediate action to remove this package and consider using tools like Vulert to monitor their projects for vulnerabilities. Staying informed and proactive is crucial in maintaining the security of your software.
See every vulnerability recorded for wati-lengko36-ruro →
FAQ
The wati-lengko36-ruro package is an npm package that has been identified as part of a malicious campaign targeting developers by flooding the npm registry with harmful code.
Using the wati-lengko36-ruro package can compromise your project's security, leading to potential data breaches and the pollution of the npm registry.
If you have installed the wati-lengko36-ruro package, you should uninstall it immediately using 'npm uninstall wati-lengko36-ruro' and monitor your project for any other vulnerabilities.
Regularly audit your dependencies using tools like Vulert, which can help you identify and address vulnerabilities in your project's dependencies.
Vulert is a tool that monitors and alerts you 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.