Malicious Code Injection in wati-pecel88-ruro Package - npm Vulnerability
Summary
MAL-2025-110708: Malicious code in wati-pecel88-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-pecel88-ruro package is part of the npm ecosystem, often used for various JavaScript projects. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. This package, like others in the campaign, is designed to manipulate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability in the wati-pecel88-ruro package stems from its malicious code that modifies the package.json file by removing private flags and changing version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to a compromised development environment, where developers may unknowingly use malicious packages, risking their applications' integrity and security.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wati-pecel88-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 workaround, you can avoid using the wati-pecel88-ruro package and instead utilize alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before including them in your projects.
Conclusion
The wati-pecel88-ruro package contains malicious code that poses a significant risk to developers and their applications. It is crucial to remove this package and monitor your projects for similar vulnerabilities. Utilizing tools like Vulert can help maintain the security of your software.
See every vulnerability recorded for wati-pecel88-ruro →
FAQ
The wati-pecel88-ruro package is an npm package associated with the tea.xyz token reward campaign, known for flooding the npm registry with malicious packages.
The vulnerability can compromise your application's integrity by introducing malicious code that alters your package configuration and potentially leads to further security risks.
You should uninstall the wati-pecel88-ruro package immediately and review your project for any dependencies that may have been affected.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities in your software.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.