Malicious Code Vulnerability in zain-sroto58-breki Package
Summary
MAL-2025-76542: Malicious code in zain-sroto58-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 zain-sroto58-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 in exchange for token rewards. However, it has been identified as malicious due to its ability to modify package metadata and republish variants, leading to potential abuse in the npm registry.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which alters the package.json file by removing private flags and changing version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to clutter the npm registry. This behavior can lead to reputation inflation for developers and compromise the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall zain-sroto58-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 zain-sroto58-breki package and monitor your project for any unintended dependencies that may have been introduced. Regularly audit your package-lock.json file to ensure no malicious packages are included.
Conclusion
The zain-sroto58-breki package has been identified as malicious due to its ability to manipulate package metadata and republish variants, leading to potential abuse in the npm ecosystem. It is crucial to uninstall this package and monitor your project for any vulnerabilities.
See every vulnerability recorded for zain-sroto58-breki →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the modification of your package metadata and the introduction of unwanted packages, potentially compromising your project's integrity.
You should uninstall the zain-sroto58-breki package immediately and check your project for any dependencies that may have been affected.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.