Malicious Code Injection in hadi-bakso40-ruro Package - npm Vulnerability
Summary
MAL-2025-103436: Malicious code in hadi-bakso40-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-bakso40-ruro package is part of the npm ecosystem, often used for various JavaScript applications. This package has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the generation of derivative packages. The malicious nature of this package compromises its integrity and poses significant risks to users who may unknowingly incorporate it into their projects.
Vulnerability Detail
The vulnerability originates from the package being associated with the tea.xyz token reward campaign, which floods the npm registry with malicious packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This not only pollutes the npm registry but also exposes users to potential security risks, including unauthorized access and data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hadi-bakso40-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-bakso40-ruro package and look for alternative packages that serve similar functionalities without the associated risks. Always verify the integrity of packages before installation.
Conclusion
The hadi-bakso40-ruro package poses significant risks due to its malicious code designed to manipulate package metadata and pollute the npm registry. Users are advised to uninstall this package immediately and monitor their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for hadi-bakso40-ruro →
FAQ
The hadi-bakso40-ruro package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to security vulnerabilities and pollution of the npm registry.
If you have installed the hadi-bakso40-ruro package, you should uninstall it immediately using 'npm uninstall hadi-bakso40-ruro' and look for secure alternatives.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software using just package-lock.json. You can also check your application for vulnerabilities using the Vulert playground without any signup.
While specific alternatives depend on your project's requirements, always search for well-reviewed and actively maintained packages in the npm registry.