Malicious Code Injection in wati-klanting7-miaww Package
Summary
MAL-2025-92023: Malicious code in wati-klanting7-miaww (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-klanting7-miaww package is part of the npm ecosystem, often used for various JavaScript applications. It has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. This package is particularly vulnerable due to its design, which allows for the manipulation of its metadata and the creation of numerous variants that can pollute the npm registry.
Vulnerability Detail
The vulnerability in the wati-klanting7-miaww package originates from its association with the tea.xyz token reward campaign. The malicious code embedded within this package modifies the package.json file to remove private flags, alters version numbers, and generates random package names, primarily themed around Indonesian culture. This behavior not only compromises the integrity of the package but also leads to the proliferation of potentially harmful variants across the npm registry, affecting other developers and users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wati-klanting7-miaww
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-klanting7-miaww package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any changes that may indicate the presence of malicious packages.
Conclusion
The wati-klanting7-miaww package poses a significant risk due to its malicious code designed to manipulate package metadata and proliferate harmful variants. It is essential to remove this package from your projects and monitor for any vulnerabilities using tools like Vulert to ensure the security of your applications.
See every vulnerability recorded for wati-klanting7-miaww →
FAQ
The wati-klanting7-miaww package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
The vulnerability can lead to the modification of your package metadata, potentially allowing for the installation of harmful variants that can compromise your application's security.
You should immediately remove the wati-klanting7-miaww package from your project and check for any other affected packages.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.