Malicious Code Injection in zain-oncom72-breki Package
Summary
MAL-2025-76527: Malicious code in zain-oncom72-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-oncom72-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 rewards. However, it has been identified as containing malicious code that compromises its integrity and the npm registry.
Vulnerability Detail
The vulnerability in the zain-oncom72-breki package stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting other developers and users relying on legitimate packages. The source of this vulnerability is linked to the tea.xyz token reward campaign, which aims to exploit npm for reputation inflation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall zain-oncom72-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-oncom72-breki package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The zain-oncom72-breki package has been identified as containing malicious code that poses a significant risk to developers and the npm ecosystem. It is essential to remove this package from your projects and monitor for similar vulnerabilities to maintain the integrity of your applications.
See every vulnerability recorded for zain-oncom72-breki →
FAQ
The zain-oncom72-breki package is an npm package that is part of a token reward campaign, designed to automatically 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, affecting the integrity of your project.
You should uninstall the zain-oncom72-breki package immediately using the command npm uninstall zain-oncom72-breki.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can check your application for vulnerabilities without any signup at the Vulert playground.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on known vulnerabilities in the packages you use.