Malicious Code Injection in hendra-lapis7-ruro Package
Summary
MAL-2025-103671: Malicious code in hendra-lapis7-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 hendra-lapis7-ruro package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality is compromised by the presence of malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability stems from malicious code embedded within the hendra-lapis7-ruro package. This 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 behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hendra-lapis7-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 hendra-lapis7-ruro package altogether. If you must use it, consider isolating its usage in a controlled environment where it cannot affect other parts of your application.
Conclusion
The hendra-lapis7-ruro package contains malicious code that poses significant risks to developers and their projects. It is crucial to uninstall this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help ensure your application remains secure.
See every vulnerability recorded for hendra-lapis7-ruro →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and pollution of the npm registry.
You should uninstall the package immediately using npm uninstall hendra-lapis7-ruro and check for any dependencies that may be affected.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities without signup at the Vulert playground.
Using this package can lead to security breaches, loss of data integrity, and damage to your project's reputation due to the pollution of the npm registry.