Malicious Code Injection in hendra-pecel37-breki Package
Summary
MAL-2025-73397: Malicious code in hendra-pecel37-breki (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-pecel37-breki package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which are often used to inflate developer reputation scores for token rewards. However, its functionality has been compromised due to malicious code that alters package metadata and floods the npm registry with spam packages.
Vulnerability Detail
The vulnerability in the hendra-pecel37-breki package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, changes version numbers, and generates random package names. This behavior not only compromises the integrity of the package but also leads to pollution of the npm registry, making it difficult for developers to find legitimate packages. The malicious payload is designed to continuously republish variants, exacerbating the issue.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hendra-pecel37-breki
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-pecel37-breki package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any unexpected changes or additions.
Conclusion
The hendra-pecel37-breki package contains a serious vulnerability due to malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package from your project and monitor for updates. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your dependencies.
See every vulnerability recorded for hendra-pecel37-breki →
FAQ
It is an npm package associated with a token reward campaign that has been compromised by malicious code.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project by introducing unwanted packages.
You should remove the hendra-pecel37-breki package from your project immediately and monitor for any updates or patches.
Yes, you can use Vulert's playground at Vulert Scanner to check your application for vulnerabilities without needing to sign up.
Regularly monitor your dependencies using tools like Vulert, which alerts you in real-time for open-source vulnerabilities.