Malicious Code Injection in hadianto-sambel2-ruro Package
Summary
MAL-2025-103510: Malicious code in hadianto-sambel2-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 hadianto-sambel2-ruro package is part of the npm ecosystem, typically used for various JavaScript applications. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. This package, like others in the campaign, is designed to inflate developer reputation scores through automated publishing of derivative packages.
Vulnerability Detail
The vulnerability in the hadianto-sambel2-ruro package stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses risks to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hadianto-sambel2-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 hadianto-sambel2-ruro package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The hadianto-sambel2-ruro package contains malicious code that poses significant risks to developers and their applications. It is crucial to remove this package and monitor for similar vulnerabilities to ensure the security of your projects.
See every vulnerability recorded for hadianto-sambel2-ruro →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to inflate developer reputation scores.
The malicious code can modify your package.json, leading to potential security risks and pollution of the npm registry.
You should uninstall the hadianto-sambel2-ruro package immediately using npm uninstall hadianto-sambel2-ruro.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without any signup.