Malicious Code Injection in hendra-sroto81-breki Package
Summary
MAL-2025-73412: Malicious code in hendra-sroto81-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-sroto81-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 can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the presence of malicious scripts within the hendra-sroto81-breki package. These scripts are designed to modify the package.json file by removing private flags, altering version numbers, and creating random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can potentially harm developers relying on legitimate packages. The malicious nature of this package poses significant risks, including reputation damage and security breaches for users who inadvertently install it.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall hendra-sroto81-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-sroto81-breki package altogether. If it is already installed, you can remove it from your project by executing the following command: npm uninstall hendra-sroto81-breki.
Conclusion
The hendra-sroto81-breki package contains malicious code that poses significant risks to developers and their projects. It is crucial to remove this package and monitor for any updates or patches. Utilizing tools like Vulert can help maintain the security of your software by providing real-time alerts for vulnerabilities.
See every vulnerability recorded for hendra-sroto81-breki →
FAQ
The hendra-sroto81-breki package 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, removes private flags, and can lead to the pollution of the npm registry, potentially compromising your project's integrity.
You should uninstall the hendra-sroto81-breki package immediately using the command: npm uninstall hendra-sroto81-breki.
Yes, you can use Vulert to monitor and alert in real-time for open-source vulnerabilities in your software. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.
Regularly update your packages, monitor for vulnerabilities using tools like Vulert, and review your package-lock.json file for any suspicious packages.