Malicious Code Injection in wati-lengko49-breki Package
Summary
MAL-2025-76130: Malicious code in wati-lengko49-breki (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-lengko49-breki package is part of the npm ecosystem, often used in JavaScript projects for various functionalities. However, this package 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 behavior not only affects the integrity of the npm registry but also poses a risk to developers who may unknowingly use these compromised packages.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the wati-lengko49-breki package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of these variants. The ramifications include potential exposure to further malicious packages, pollution of the npm registry, and compromised developer reputations. The technical aspects involve the use of autopublish scripts that automate these malicious activities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall wati-lengko49-breki
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 wati-lengko49-breki package and monitor your project's dependencies for any unauthorized changes. Regularly check your package-lock.json file for any unexpected modifications.
Conclusion
The wati-lengko49-breki package poses a significant risk due to its embedded malicious code, which can compromise the integrity of your projects. It is crucial to remove this package and monitor your dependencies regularly to maintain security. Utilizing tools like Vulert can help in identifying vulnerabilities in your open-source software.
See every vulnerability recorded for wati-lengko49-breki →
FAQ
The wati-lengko49-breki 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 introduction of malicious code into your project, potentially compromising its security and integrity.
You should immediately uninstall the wati-lengko49-breki package using the command npm uninstall wati-lengko49-breki.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.