Malicious Code Injection in hadi-lapis40-ruro Package
Summary
MAL-2025-103451: Malicious code in hadi-lapis40-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 hadi-lapis40-ruro package is part of the npm ecosystem, often used in JavaScript projects for various functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts, which can lead to significant security risks.
Vulnerability Detail
The vulnerability in the hadi-lapis40-ruro package stems from its association with a malicious campaign that modifies the package.json file to remove private flags and changes version numbers. It generates random package names and continuously republishes variants, polluting the npm registry. This can lead to unauthorized access, data breaches, and a compromised development environment, as developers may unknowingly install these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hadi-lapis40-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 hadi-lapis40-ruro package and replace it with a trusted alternative. Always verify the integrity of packages before installation.
Conclusion
The hadi-lapis40-ruro package poses a significant security risk due to its malicious code designed to manipulate npm registry entries. It is essential to remove this package from your projects and monitor your dependencies regularly to maintain a secure development environment.
See every vulnerability recorded for hadi-lapis40-ruro →
FAQ
The hadi-lapis40-ruro package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
This vulnerability can lead to unauthorized access and data breaches, as the malicious code modifies critical files and repopulates the npm registry with harmful packages.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.
If you have installed the hadi-lapis40-ruro package, you should uninstall it immediately using the command: npm uninstall hadi-lapis40-ruro.
Currently, there are no patches available for the hadi-lapis40-ruro package. The best course of action is to remove the package and monitor your dependencies for updates.