Malicious Code Injection in hanafi-bika59-ruro Package
Summary
MAL-2025-103525: Malicious code in hanafi-bika59-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 hanafi-bika59-ruro package is part of the npm ecosystem, which is widely used for JavaScript development. This package has been identified as part of a malicious campaign that floods the npm registry with derivative packages. These packages are designed to manipulate developer reputation scores through automated publishing scripts, which can lead to significant issues in the integrity of the npm registry.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the hanafi-bika59-ruro package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, thereby polluting the npm registry. The malicious payload is part of a broader scheme associated with the tea.xyz token reward campaign, which aims to inflate developer reputation scores through deceptive practices. The ramifications include potential security risks for developers who unknowingly use these compromised packages, as well as the degradation of the npm ecosystem's reliability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hanafi-bika59-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 hanafi-bika59-ruro package and replace it with a trusted alternative. Always verify the integrity of packages before installation.
Conclusion
The hanafi-bika59-ruro package poses a significant security risk due to its malicious code designed to manipulate the npm registry. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the integrity of their projects.
See every vulnerability recorded for hanafi-bika59-ruro →
FAQ
The hanafi-bika59-ruro package is an npm package that has been identified as malicious, part of a campaign to manipulate developer reputation scores.
The malicious code modifies your package.json file and can lead to the installation of compromised packages, affecting the security and integrity of your project.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application using the Vulert playground at Vulert Scanner.
There is no patch for the hanafi-bika59-ruro package; the recommended action is to uninstall it and avoid using it.
If you have used the hanafi-bika59-ruro package, uninstall it immediately and review your project for any potential security issues.